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
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
json-graph-lite-0.6a0.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for json_graph_lite-0.6a0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4af96ffa0d8ec0d63d844399ba07c4ffe2f830287dc962993b74014dfbdda17 |
|
MD5 | f51e8af492f199f6dfc55ceefdbe1f78 |
|
BLAKE2b-256 | 0200f3b91ccee749e028d64cac15f3771b6c0e60e986e6191a123e6e9ff4e43e |