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"])

reconcile() is an alias of snapline().

Documentation

https://vaagatech.github.io/snapline-python/ · Node.js docs

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.1.tar.gz (4.5 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.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snapline_engine-0.2.1.tar.gz
  • Upload date:
  • Size: 4.5 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.1.tar.gz
Algorithm Hash digest
SHA256 d8602e4cd1d480e47b700083fe45d09f88d14419e7eebf8e0dea2f5bc839fcea
MD5 c41f5c46debbae4a3a9bf7be96a76173
BLAKE2b-256 696683a25f7ea300805f20fcd9836d71935b634e57d87f109c994087381857cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snapline_engine-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24532d74010dec1af6d2ac09cc8fa8930bd578046eaba615a0e0ccca319ffae9
MD5 1a9a1ec0665f73544f1288cf541f3135
BLAKE2b-256 bf25c8d32d42eeb42536c2d16327927965791d3dd5da2166f5278cd9671675e0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

This release

0.2.1 This release

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