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,), ))

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.

Source Distribution

PyGraphine-1.0.6.tar.gz (11.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for PyGraphine-1.0.6.tar.gz
Algorithm Hash digest
SHA256 6ece3650f018c3d3a531f121886f93fa48f4932ea4db61043b96d7402f94873e
MD5 57c7466273c39155170371031c84f1a5
BLAKE2b-256 2c7833f224807c2f71ebc5d73251eea93b0ce9ab68924896c0a98a507513de40

See more details on using hashes here.

Supported by

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