Python RexPro Interface
Clone or download
Pull request Compare This branch is 79 commits ahead, 1 commit behind bdeggleston:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
rexpro
.gitignore
.travis.yml
AUTHORS
LICENSE
MANIFEST.in
README.md
deploy_to_pypi.sh
doc_builder.sh
requirements.txt
run_coverage.sh
setup.py
tox.ini
wercker.yml

README.md

rexpro

rexpro-python is a RexPro socket interface for python, specifically designed for use with Titan (http://thinkaurelius.github.io/titan/) via RexPro (https://github.com/tinkerpop/rexster/wiki/RexPro). For those already familiar with Blueprints (https://github.com/tinkerpop/blueprints/wiki) there is is a simple example.

Documentation

rexpro documentation can be found at http://rexpro-python.readthedocs.org/

Installation

$ pip install rexpro

Testing

To get rexpro unit tests running you'll need a titan installation with rexster server configured with a test graph setup::

    <graph>
        <graph-name>graph</graph-name>
        <graph-type>com.thinkaurelius.titan.tinkerpop.rexster.TitanGraphConfiguration</graph-type>
        <!-- <graph-location>/tmp/titan</graph-location> -->
        <graph-read-only>false</graph-read-only>
        <properties>
            <storage.backend>cassandra</storage.backend>
            <storage.index.search.backend>elasticsearch</storage.index.search.backend>
            <storage.index.search.directory>../db/es</storage.index.search.directory>
            <storage.index.search.client-only>false</storage.index.search.client-only>
            <storage.index.search.local-mode>true</storage.index.search.local-mode>
        </properties>
        <extensions>
          <allows>
            <allow>tp:gremlin</allow>
          </allows>
        </extensions>
    </graph>
    <graph>
        <graph-name>graph</graph-name>
        <graph-type>tinkergraph</graph-type>
        <graph-mock-tx>true</graph-mock-tx>
        <extensions>
            <allows>
                <allow>tp:gremlin</allow>
            </allows>
        </extensions>
    </graph>
    <graph>
        <graph-name>tinkergraph</graph-name>
        <graph-type>tinkergraph</graph-type>
        <graph-location>data/graph-example-1</graph-location>
        <graph-storage>graphson</graph-storage>
        <extensions>
            <allows>
                <allow>tp:gremlin</allow>
            </allows>
        </extensions>
    </graph>