Skip to main content

Lightweight graph implementation with JSON serialization

Project description

Lightweight library for JSON graph

Library, similar to:

https://github.com/jsongraph/jsongraph.py

NB: json-graph-lite library uses list for nodes, not object, so it's not compatible with JSON Graph Format.

JSON Graph Format compatible classes (Graph, Graphs) can be found from json_graph_lite.jgf.

Incompatible change: list is used for nodes, not object, because JSON object can't represent integer keys.

The intention of json-graph-lite is to provide lightweight graph library, which serializes and deserializes graphs a la JSON graph format.

Take a look at tests/test_graphs.py for usage examples.

Project details


Download files

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

Source Distribution

json-graph-lite-0.8a0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

json_graph_lite-0.8a0-py2.py3-none-any.whl (10.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file json-graph-lite-0.8a0.tar.gz.

File metadata

  • Download URL: json-graph-lite-0.8a0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

File hashes

Hashes for json-graph-lite-0.8a0.tar.gz
Algorithm Hash digest
SHA256 c3b2dd6ac51a02e33e50d6716a39144a7c7ba7050c1ce8920fb283abd8ccf523
MD5 9b019bd8a1bc3b3826777dd34b77b0fe
BLAKE2b-256 5e7a2e9fb3fff57ec56b42c88bef46ba035fea993e3ead4f7753ee03b4ca2215

See more details on using hashes here.

File details

Details for the file json_graph_lite-0.8a0-py2.py3-none-any.whl.

File metadata

  • Download URL: json_graph_lite-0.8a0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

File hashes

Hashes for json_graph_lite-0.8a0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d1bb44dc0e2de9ab99b79c8cb68b2ab382a5304eb2e1a5140d9571589c88d5cc
MD5 2e247ced791e5f05061e84bb75294204
BLAKE2b-256 90f6c2a0158bd8d25f5a5e843e7152b3c5f39e60f5d164a18f1796248a2f0557

See more details on using hashes here.

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