Skip to main content

Staticly typed graph library

Project description

TypedGraph

Is a staticly typed graph library. This is a cross compatible port of TypedGraph.

pypi

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

typed_graph-0.2.0.tar.gz (21.2 kB view hashes)

Uploaded Source

Built Distribution

typed_graph-0.2.0-py3-none-any.whl (23.2 kB view hashes)

Uploaded Python 3

Supported by

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