A Python client for Rexster following the Blueprints property graph model interface
|synopsis:||Implements a client over Rexster (https://github.com/tinkerpop/rexster/) providing the Python developer an easy way to interact with the databases supported.|
The layer follows the pyblueprints graph model interface letting the programmer work in the same way, no matter which underlying graph database is being used.
The easiest way to get python-rexster installed in your virtualenv is by:
pip install python-rexster
Connecting to a Rexster instance
>>> from rexster import RexsterServer, RexsterGraph >>> #Connecting to server >>> HOST = 'http://localhost:8182' >>> server = RexsterServer(HOST) >>> #List graphs availbale in server >>> server.graphs() [u'tinkergraph', u'gratefulgraph', u'tinkergraph-readonly', u'sailgraph', u'emptygraph'] >>> #Connecting to a given graph >>> graph = RexsterIndexableGraph(server, 'tinkergraph')
- Added returning None instead of raising exceptions (more pythonic way)
- Updated tests
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size python-rexster-0.1.1.tar.gz (18.2 kB)||File type Source||Python version None||Upload date||Hashes View|