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 | RSS feed

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.

Source Distribution

pyson0-0.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

pyson0-0.1-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page