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 withpip 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file edgegraph-0.12.0.tar.gz.
File metadata
- Download URL: edgegraph-0.12.0.tar.gz
- Upload date:
- Size: 56.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87cdf6d9aa56f2dd17942c262197de571da479d517bee6fc9ca1b3f83539d505
|
|
| MD5 |
241a17a0886794395d5764dd3e13f2ae
|
|
| BLAKE2b-256 |
8b1956e251a0dc3de250e4325310d445db08d949ca229edd80937c05d6882e1d
|
File details
Details for the file edgegraph-0.12.0-py3-none-any.whl.
File metadata
- Download URL: edgegraph-0.12.0-py3-none-any.whl
- Upload date:
- Size: 66.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37b7ea48fe0a9b6e7ce7f55648327c779edce79aeb1a66c75c6fe1bbf01a36a0
|
|
| MD5 |
7db60b79f111feeede343fb01da0fd60
|
|
| BLAKE2b-256 |
dba8c796c3f81772b576413e04d48470e9f7ccd8a74d76e51fa292073ad5eda3
|