Skip to main content

adotsdot (Almost Surely)

Purpose

Provide the ability to obtain the differences between two JSON serializable Python dictionaries (e.g., configuration files) while treating lists as unordered.*

* Supporting this functionality requires that the dictionaries in a list of dictionaries have a a field that can be used as a unique marker across all elements in the list.

Usage

Assuming prev_state and curr_state are JSON serializable Python dictionaries,

from adotsdot import diff

node = diff(prev_state, curr_state)

will generate the root of a tree of nodes that represent the changes in state.

This information can be displayed in the terminal via the str procedure or transformed into a JSON serializable Python dictionary via node.as_dict().

Metadata

Release files for adotsdot 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adotsdot 0.0.2
File Size Uploaded Provenance
adotsdot-0.0.2.tar.gz 6.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for adotsdot 0.0.2
File Interpreter ABI Platform
adotsdot-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 kB

Release files / adotsdot-0.0.2.tar.gz

Download URL adotsdot-0.0.2.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fd72d8e5c02d87ec77552a2234173094e73b9ca5f2887209a7bff79767c57734
BLAKE2b-256 checksum
How to use checksums
7d7f8053f379d0a29f7a1ae865b9a1d2c77aef3feac2e62c6d950ccb2709017f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / adotsdot-0.0.2-py3-none-any.whl

Download URL adotsdot-0.0.2-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b617f87f48d7c11c3e7c77e86a51905dece3492f2cbc1c30d89c89adfe2478ea
BLAKE2b-256 checksum
How to use checksums
6d199e954e5416e7a681f0252c290653ae1edb562e859b8e47f76bcabe8e77a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for adotsdot 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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