Skip to main content

This package ports the json0-ot-diff and ottypes/json0 to python.

Project description

pyson0

Use ottypes operations with python objects and find differences between objects following the ottypes defintion and format https://github.com/ottypes/docs.

On its essence this project is a port of the following projects from javascript to python, with a few modifications.

Status

TravisCI Build Status

At the moment some parts of the library are not complete and others need validations in terms of use cases and performance.

json0

For now the port is only implementing the apply without support for si/sd. We will be adding this in the near future.

json0-ot-diff

It is fully ported. To support string operations it is using the python diff-match-patch implementation from google.

Install

Using Package Manager

Manually

Testing

To run the tests simply run: python -m unittest discover -s tests/ -p "test_*.py"

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyson0, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyson0-0.1-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyson0-0.1.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page