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.2.0.tar.gz
.
File metadata
- Download URL: typed_graph-0.2.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 | 2e0899e00344b33c6bda6dcfeb695aec250bacba7d1cca961a1cbbc6c449ea1e |
|
MD5 | 8bbd788c6528a73357fd2357988223c8 |
|
BLAKE2b-256 | c2caf049fd1cd9e00561f0086f10bccba4cda91f29764d552bc703e14ba2b988 |
File details
Details for the file typed_graph-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: typed_graph-0.2.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 | 5306159b80f47b1c809f5da0c5dd63d28484183f45e8ed211b62b02c36cbca3d |
|
MD5 | 7735396568490cdc3be60d3a0f13cc30 |
|
BLAKE2b-256 | 0f7c9b8f6e3cf6083f466ee442de854178370e7e29826279e8b1a1ef244ba19e |