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.
- ottypes/json0 (https://github.com/ottypes/json0)
- kbadk/json0-ot-diff (https://github.com/kbadk/json0-ot-diff)
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyson0-0.1.tar.gz.
File metadata
- Download URL: pyson0-0.1.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41ec5c2f3484eb59d6c26622bfcda280f7452c6884c650237dbdbfd5576b8847
|
|
| MD5 |
ce9987ba6fa031ab2df282f1cf427820
|
|
| BLAKE2b-256 |
04fbf84433612141f1bedc0769291133d7271a7267ace17e718865d5d22b023b
|
File details
Details for the file pyson0-0.1-py3-none-any.whl.
File metadata
- Download URL: pyson0-0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb25a9464717d814f236844fee276e9e01a5459647e447c51a91556ee04f3c51
|
|
| MD5 |
5d5c7a47f30612b6f3d8c20830d7648f
|
|
| BLAKE2b-256 |
404a176555b2c994490d652822f09ff49c9f3a8ba1b019cede1498477efe6056
|