Skip to content

robin-weiland/jsonvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jsonVC

Tiny version control for json data


Python version Build Status codecov PyPI version MIT License Released with pypipal


Contents

Description

Installation

Usage

Issues

License

Description

Store json data as a list of changes and deletions, being able to reset data by index or to a certain point in time.

Installation

pip install jsonvc

Usage

  • Typical Examples:
# load json data as a dict-like object and change its value
repo = JSONVC('/path/to/repo.jsonvc')
repo['change'] = True
# by default changes get auto-added and auto-commited
repo = JSONVC('/path/to/repo.jsonvc')
repo.update(dict(hello='world'))
repo.add()
repo.commit()

More will follow in the future

Issues

At moment, changes to stored objects within the json dictionary (e.g. dict, list) are not properly registered.

License

MIT


This file was automatically created with the help of pypipal.

About

tiny version control for json data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages