Skip to main content

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.

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)

Uploaded Source

Built Distribution

objectgraph-1.0.3-py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 3

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