Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Graph manipulation package based on GraphState

Project description

  1. To install in userspace run:

$ python setup.py install –user

or to setup in global space

$ sudo setup.py install

  1. Run tests:

$ cd graphine/test/; python graph_operations_test.py; cd ../.. $ cd graphine/test/; python graph_test.py; cd ../..

You must see “OK” after test execution

  1. Run simple example from python CLI interface:
>>> import graphine
>>> g = graphine.Graph.from_str("e11|e|")
>>> print g
e11|e|
>>> print g.edges(0, 1)
(((0, 1), ), ((0, 1), ))
>>> print g.external_edges
(((0,), ), ((1,), ))

4. Full documentation for this package is available here: http://graphstate-and-graphine.readthedocs.org/en/latest/

Project details


Download files

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

Files for PyGraphine, version 1.0.6
Filename, size File type Python version Upload date Hashes
Filename, size PyGraphine-1.0.6.tar.gz (11.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page