Driver for Python is incomplete. It supports at the moment: Connections to ArangoDB with custom options, Collections, Documents, Indexes Cursors and have partial support of Edges
Library is in early alpha so it’s not on PyPi yet. To install use pip:
pip install -e git+https://github.com/joymax/arango-python.git#egg=arango
It’s quite simple to start work with ArangoDB:
from arango import create
# create connection to database
voca = create()
# create collection with name `test_collection`
voca.test_collection.create()
# create document
voca.test_collection.documents.create({"sample_key": "sample_value"})
# get first document
doc = voca.test_collection.documents().first
# get document body
doc.body
# get all documents in collection
for doc in voca.connection.query("FOR d in test_collection RETURN d"):
print doc.id
This release support Python 2.7, PyPy 1.9.
Next in chain is Python 3.3