Comparison
inline-snapshot vs localstack-snapshot vs pytest-snapshot vs syrupy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
golden master/snapshot/approval testing library which puts the values right into your source code
Actively maintained. Last release 13 days ago, commits in 12 of the last 26 weeks. A safe choice.
pip install inline-snapshotExtracted snapshot testing lib for LocalStack
Actively maintained. Last release 4 weeks ago, commits in 5 of the last 26 weeks. A safe choice.
pip install localstack-snapshotA plugin for snapshot testing with pytest.
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install pytest-snapshotPytest Snapshot Test Utility
Actively maintained. Last release 10 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install syrupyIn short
- pytest-snapshot looks abandoned: avoid it for new projects.
- syrupy is the most used: 13.8M downloads a month, 5.3× more than inline-snapshot.
- Maintenance is comparable: syrupy 89, inline-snapshot 82, localstack-snapshot 77 on Pythie’s Index.
- localstack-snapshot is growing fastest: downloads +47% over the last month.
- Safe default for a new project: syrupy.
Side by side
| Metric | inline-snapshot | localstack-snapshot | pytest-snapshot | syrupy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 77 |