A basic graph library
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
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size objectgraph-1.0a1-py3-none-any.whl (14.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size objectgraph-1.0a1.tar.gz (11.0 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for objectgraph-1.0a1-py3-none-any.whl