Skip to main content

EdgeGraph

EdgeGraph is an object-oriented approach to network graphs. It provides classes to inherit from in other applications / modules, and provides out-of-the-box operations for these classes and any subclasses of.

The intent of EdgeGraph is to allow applications to model related data with a method closer to reality, without having to implement a custom graph module. It provides facilities to this end, such as the base classes to allow linking and the functions to perform it.

The base classes are also usable directly, should you wish to test-drive this idea or study abstract graphs.

See the docs for more!

Beta

At this time, this project is still rather young. Per semantic versioning, it is in version 0. This means that the API may be changed at any time, without warning.

Planned features include can be viewed at the features list milestone.

These features, as with the API, may be changed or dropped at any time without warning. I do have a day job, after all :)

Sphinx documentation and full Pytest-driven unit testing coverage is expected to match the progress of the code.

Installation and quickstart

Edgegraph can be installed via pip with pip install edgegraph.

A few optional dependencies are available:

  • pip install edgegraph[foreign] for all the other libraries that edgegraph can interact with
  • pip install edgegraph[full] to install all the above (at the time of writing, only the one. But, this "metapackage" exists for future-proofing)

You can start right out building graphs:

from edgegraph.builder import randgraph
from edgegraph.traversal import breadthfirst

uni = randgraph.randgraph(count=10)
print(breadthfirst.bft(uni, uni.vertices[0]))

Metadata

Release files for edgegraph 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edgegraph 0.12.0
File Size Uploaded Provenance Actions
edgegraph-0.12.0.tar.gz 56.2 kB Without provenance Details for edgegraph-0.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for edgegraph 0.12.0
File Interpreter ABI Platform Actions
edgegraph-0.12.0-py3-none-any.whl Python 3 none any Details for edgegraph-0.12.0-py3-none-any.whl

Total release size: 123.1 kB

Release files / edgegraph-0.12.0.tar.gz

Download URL edgegraph-0.12.0.tar.gz
Size 56.2 kB
Tags Source
SHA-256 checksum
How to use checksums
87cdf6d9aa56f2dd17942c262197de571da479d517bee6fc9ca1b3f83539d505
BLAKE2b-256 checksum
How to use checksums
8b1956e251a0dc3de250e4325310d445db08d949ca229edd80937c05d6882e1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Release files / edgegraph-0.12.0-py3-none-any.whl

Download URL edgegraph-0.12.0-py3-none-any.whl
Size 66.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37b7ea48fe0a9b6e7ce7f55648327c779edce79aeb1a66c75c6fe1bbf01a36a0
BLAKE2b-256 checksum
How to use checksums
dba8c796c3f81772b576413e04d48470e9f7ccd8a74d76e51fa292073ad5eda3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.0

Security for edgegraph 0.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page