Skip to content

A python library for batch quantitative analysis of JSON payloads (and their deltas).

Notifications You must be signed in to change notification settings

tanmay17061/deltaman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deltaman

icon

A python library for batch quantitative analysis of JSON payloads (and their deltas).

Installation

pip install .
deltaman --help

Usecases

  1. You have 2 directories of JSON payloads (let's say dir1/ and dir2/), and you want to compare the 2 directories.

Choice 1: through cli

deltaman collections dir1/ dir2/

Choice 2: through python

from deltaman.samplecollection import JSONSampleCollection
sc = JSONSampleCollection.from_directory("dir1/")
sc2 = JSONSampleCollection.from_directory("dir2/")
sc.diff(sc2)

Both snippets above will produce the diff between the two JSON payload directories and output the response in a JSON format.

About

A python library for batch quantitative analysis of JSON payloads (and their deltas).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages