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

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.2.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.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snapline_engine-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 24d08619cdc7d8649f1369931fd66f589a5afd2161cb56d759a4562144a298a1
MD5 699a49ca7bea58fc3bb37be0cd2d30d7
BLAKE2b-256 a6264b3673864125d6e4295ce02f4620944114db7a41a3493278f5703629c8e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for snapline_engine-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 53982186a58d5b7d8ad024fa9de5cb4f98f7699bd972d37007d05d1ef49b1808
MD5 d96b05002685e1275953fe62d54f27e6
BLAKE2b-256 6898be20b87ec9c9cce1223dd49c942fdd1008f359adce854268bcebae433c76

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

This release

0.2.2 This release

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