Skip to main content

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,), ))
  1. you can see manual at https://readthedocs.org/projects/graphstate-and-graphine/

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

PyGraphine-1.0.4.tar.gz (11.5 kB view details)

Uploaded Source

File details

Details for the file PyGraphine-1.0.4.tar.gz.

File metadata

  • Download URL: PyGraphine-1.0.4.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyGraphine-1.0.4.tar.gz
Algorithm Hash digest
SHA256 3b54a76b3234d041baa518ae73aab891c847fefbaf45acce6cd6b7e4c8160fe1
MD5 a89a7009261f5898214ddb92b5a49fd6
BLAKE2b-256 edc69fc7fcdb8139f32af74aa2ad7d4ccd8646b7370ace6d99d0eb029d3e2cab

See more details on using hashes here.

Supported by

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