Skip to main content

Graph library implementation using generalization of B.G.Nickel et al. algorithm for identifying graphs.

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 nickel; python nickel_test.py; cd .. $ cd graph_state; python graph_state_test.py; cd ..

You must see “OK” after test execution

  1. Run simple example from python CLI interface:
>>> import graph_state
>>> g = graph_state.GraphState.from_str("ee12|e22|e|")
>>> print g
ee12|e22|e|
>>> print g.edges
(((0,), ), ((0,), ), ((0, 1), ), ((0, 2), ), ((1,), ), ((1, 2), ), ((1, 2), ), ((2,), ))
>>> print g.nodes
[-1, 0, 1, 2]

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
GraphState-1.0.6.tar.gz (20.0 kB) Copy SHA256 hash SHA256 Source None

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