Skip to main content

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

snapline_engine-0.2.3.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snapline_engine-0.2.3-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file snapline_engine-0.2.3.tar.gz.

File metadata

  • Download URL: snapline_engine-0.2.3.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

Hashes for snapline_engine-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e2d168a5809c4b94497329238f118a6d5204d04433da4c977330d6d1b788244f
MD5 5841dbf27391f962e4c68c9812b636b8
BLAKE2b-256 5999e28bb393cb808d04f17af1ea1674112dad6fd29415d057fd954cfc42745e

See more details on using hashes here.

File details

Details for the file snapline_engine-0.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for snapline_engine-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 75647abedf24f543115f0293f9d6a6b907dfc06e4485938f6526a5f5fc817f68
MD5 674fb4267220a50acb29c3a5e71aaead
BLAKE2b-256 cf15fb5ba6f4e6962efc0be2376c047ed6ee668994785058b002c4014bd91eec

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.5

2 files

0.2.4

2 files

This release

0.2.3 This release

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.10

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page