Staticly typed graph library
Project description
TypedGraph
Is a staticly typed graph library. This is a cross compatible port of TypedGraph.
TypedGraph is build to provide an easy to use interface for manipulating an maintaining graphs with a rigid schema.
Getting started
install using
pip install typed_graph
see the example folder for information on how to create your first project using TypedGraph.
Note that making and maintianing large static graphs can be time consuming, so using like typed_graph_cli will make the library significantly easier to maintian
Development
To run a local instance of the library:
.../typed_graph_py> pip install -e .
This will import the library using a symlink, so changes in the directory will be propegated to the python installation
Now it can be used as normal
import type_graph
Build release
First install twine
pip install twine
Then to build the release run:
python setup.py sdist bdist_wheel
Then test that the build is valid:
twine check dist/*
And finally upload to PyPi with:
twine upload dist/*
To avoid having to retype your initials everytime setup a file in
$HOME/.pypirc
[pypi]
username = <username>
password = <password>
Note: your password will be stored in plain text!
This is also compatible with PyPi access tokens
[pypi]
username = __token__
password = pypi-...
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
Built Distribution
File details
Details for the file typed_graph-0.3.0.tar.gz
.
File metadata
- Download URL: typed_graph-0.3.0.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2846553c1c0ac39471911dcba878706c4690bc92000071c3468d7ee7b87019a |
|
MD5 | a1ed21f2757f61c828e0f41b1ae58a37 |
|
BLAKE2b-256 | 625dab17e8529feaa1b36255bb9442a512d8b70886b968892601dd614144430d |
File details
Details for the file typed_graph-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: typed_graph-0.3.0-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f016ada88f18815c6a87686eb6e4bfe95c942501c3a469105f377b2b8e47554 |
|
MD5 | 408875f7de424118e025285e2f2cf3a0 |
|
BLAKE2b-256 | dcd36da8809af6553fb11c41224cf20470cc76d98cc6a70be8c1b6a1b7ddd57e |