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

Build and test status (Linux, macOS, Windows):


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

Download files

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

Files for objectgraph, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size objectgraph-1.0.1-py3-none-any.whl (14.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size objectgraph-1.0.1.tar.gz (12.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page