snapline-engine
Deep JSON reconciliation engine for declarative snapshot testing. Compare live API or database payloads against JSON fixtures while ignoring volatile fields, normalizing dynamic values, and mapping cross-system schema differences.
Install
pip install snapline-engine
Quick start
from snapline.engine import snapline
result = snapline(
{"id": "1", "status": "ok", "traceId": "abc"},
{"id": "1", "status": "ok"},
{"ignoreFields": ["traceId"]},
)
print(result["match"])
Documentation
https://vaagatech.github.io/snapline-python/ · Node.js docs · Snapline Hub
Repository: https://github.com/vaagatech/snapline-python
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snapline_engine-0.2.5.tar.gz.
File metadata
- Download URL: snapline_engine-0.2.5.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34b9ec24d9115d23596a467f8ed7b10ee07135084cdaa7eb529b9034c91d1a96
|
|
| MD5 |
2c2cd31b77ccee2b3ade11ea8dd48267
|
|
| BLAKE2b-256 |
588c949b87fa5be33a65ecbd8bbbade50d5431d0f731aa5e7e4160fdb38790c9
|
File details
Details for the file snapline_engine-0.2.5-py3-none-any.whl.
File metadata
- Download URL: snapline_engine-0.2.5-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bc1c2ce8a4fc139e1952078efd7a51970398a2e06609cf7aeb89ad8d8bf9c3c
|
|
| MD5 |
e2c73383b0dc4778cec8134ed4091280
|
|
| BLAKE2b-256 |
fbce4de599b1d58c72d95ce8049258e3c873759b61e42a547cb98f6c30296c10
|