A Python client for Rexster following the Blueprints property graph model interface
Project description
- 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.
Installation
The easiest way to get python-rexster installed in your virtualenv is by:
pip install python-rexster
Usage
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')
Changelog
0.1.1 (2011-07-12)
Added returning None instead of raising exceptions (more pythonic way)
Updated tests
0.1 (2011-07-6)
Initial version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file python-rexster-0.1.1.tar.gz
.
File metadata
- Download URL: python-rexster-0.1.1.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2afdb21bd6a127072c0c1119af6126c74e4a3d9d3cd279fe00fd28f926371c8 |
|
MD5 | ba817806a985e7e5f1e4d1be34f5a99b |
|
BLAKE2b-256 | c7397d21a319206fe0ecc5a518df8dd72b2ea15b9c184f5fc11257a08f14d478 |