arango 0.2.1

Creator: bradpython12

Last updated:

Add to Cart

Description:

arango 0.2.1

Driver for ArangoDB REST API inrerface, arangodb.org


Installation
pip install arango


Usage
To start work with ArangoDB try following example:
from arango import create

# create connection to database
conn = create(db="test")
conn.database.create()

# create collection with name `test_collection`
conn.test_collection.create()

# create document
conn.test_collection.documents.create({"sample_key": "sample_value"})

# get first document
doc = conn.test_collection.documents().first
# get document body
doc.body

# get all documents in collection

for doc in conn.test_collection.query.execute():
print doc.id
For more details please read Documentation
Supported Python interpreters and versions:


cPython 3.3
cPython 2.7
PyPy 1.9


Supported ArangoDB versions: 1.4x
Developed by Maksym Klymyshyn


Changelog

0.2.0


Added support for multiple databases




0.1.8


Added support of bulk inserts

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.