Catalog PyPI
Back to packageRELEASE DETAILS

0.0.2

PyPI

adotsdot

JSON serializable data comparator library.

Published27 May 2023
Direct dependencies0
Transitive dependenciesNot calculated

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.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

2 collected
adotsdot-0.0.2-py3-none-any.whl

bdist_wheel · 7.66 KB · Python py3

Source file
adotsdot-0.0.2.tar.gz

sdist · 6.72 KB · Python source

Source file

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_version:022af2c13ea0fa407226f6c99e02cdc045f0ae8635cc837e4ae976166d53eb72

Other collected versions

View all collected versions →