Skip to main content

Object oriented edge-vertex graph library.

Project description

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]))

Project details


Download files

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

Source Distribution

edgegraph-0.9.1.tar.gz (45.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edgegraph-0.9.1-py3-none-any.whl (54.4 kB view details)

Uploaded Python 3

File details

Details for the file edgegraph-0.9.1.tar.gz.

File metadata

  • Download URL: edgegraph-0.9.1.tar.gz
  • Upload date:
  • Size: 45.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for edgegraph-0.9.1.tar.gz
Algorithm Hash digest
SHA256 d76f67a4d9d17070ba409930fbb5f23cfbb89f063e196ad26bd07eac07726753
MD5 286cbaf8224d63aae2aafe16f7ce6670
BLAKE2b-256 d0a0b9eb52c077ceab53f18b3b9bfd4b9bdd6b8a8c4f3e543f75aa6a9548148b

See more details on using hashes here.

File details

Details for the file edgegraph-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: edgegraph-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 54.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for edgegraph-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1e62efecb167c41efec30d9dea12871d96a47e8609a8de9b8783a14af5e661cc
MD5 00f225d93d13ccb10374920a0f2fb062
BLAKE2b-256 93256efacb1de312e4d9d409b1d070e08a518fcb2162d4b1a49021b19f4b73d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page