py-inline-snapshotCreate and update inline snapshots in your Python code
0.36.1develΣ=0 0.35.4Version of this port present on the latest quarterly branch.upstream: 0.36.2A newer version was found upstream by portscout, first on 2026-11-10.
Golden master/snapshot/approval testing library which puts the values right
into your source code.
Key Features:
* Intuitive Semantics: snapshot(x) mirrors x for easy understanding.
* Versatile Comparison Support: Equipped with x == snapshot(...),
x <= snapshot(...), x in snapshot(...), and snapshot(...)[key].
* Enhanced Control Flags: Utilize various flags for precise control of which
snapshots you want to change.
* Preserved Black Formatting: Retains formatting consistency with Black
formatting.
* External File Storage: Store snapshots externally using outsource(data).
* Seamless Pytest Integration: Integrated seamlessly with pytest for effortless
testing.
* Customizable: code generation can be customized with @customize_repr
* Nested Snapshot Support: snapshots can contain other snapshots
* Fuzzy Matching: Incorporate dirty-equals for flexible comparisons within
snapshots.
* Dynamic Snapshot Content: snapshots can contain non-constant values
* Comprehensive Documentation: Access detailed documentation for complete
guidance.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-inline-snapshot listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py312-inline-snapshot-0.36.1:
BLACK=on: Format generated code with Black
DIRTY-EQUALS=on: Support for normalization of data that changes frequently
===> Use 'make config' to modify these settings
devel/py-inline-snapshot: New port
Golden master/snapshot/approval testing library which puts the values
right into your source code.
Key Features:
* Intuitive Semantics: snapshot(x) mirrors x for easy understanding.
* Versatile Comparison Support: Equipped with x == snapshot(...),
x <= snapshot(...), x in snapshot(...), and snapshot(...)[key].
* Enhanced Control Flags: Utilize various flags for precise control of
which snapshots you want to change.
* Preserved Black Formatting: Retains formatting consistency with Black
formatting.
* External File Storage: Store snapshots externally using
outsource(data).
* Seamless Pytest Integration: Integrated seamlessly with pytest for
effortless testing.
* Customizable: code generation can be customized with @customize_repr
* Nested Snapshot Support: snapshots can contain other snapshots
* Fuzzy Matching: Incorporate dirty-equals for flexible comparisons
within snapshots.
* Dynamic Snapshot Content: snapshots can contain non-constant values
* Comprehensive Documentation: Access detailed documentation for
complete guidance.