A basic graph library
Project description
Objectgraph is a library that provides a class representing basic graphs with nodes and edges between nodes.
Nodes can be arbitrary objects with an “identifier” attribute (which should be hashable). Edges can have arbitrary attributes.
The model for edges is slighly non-standard: There can be multiple edges between nodes, but all edges with the same attributes are collapsed into one edge.
There is documentation at readthedocs
Historic
Objectgraph is a complete rewrite of the ObjectGraph class in altgraph, using lessons learned in that project but with a complete new Python 3 code base and full test coverage.
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
objectgraph-1.0.3.tar.gz
(13.2 kB
view hashes)
Built Distribution
Close
Hashes for objectgraph-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19bbec5ce193f3e80dfb06529d4dbce80c5165d3b3b55afb344fe0567ee8cd4 |
|
MD5 | a89371bc8555a1ad19c2751b22ac501e |
|
BLAKE2b-256 | 7419ed155232aeee5bcea591508427bca5f96ea8e8e6bc7a1a1034b24507ffb5 |