Catalog PyPI
PACKAGE EXPLORERView in registry

adotsdot

PyPI

JSON serializable data comparator library.

Versions collected1
Direct dependencies0From release 0.0.2
Last observed20 Oct, 19:47 UTC

README

Version 0.0.2 documentation

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().

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.227 May 20230

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

NOT_FOUND
LightlessNight/adotsdot

Shared repository data · GitLab

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:47 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ca5cc8629b4c7c8669663e1e1de74458e55c8621ee5a5b206aa168df4105257c