Driver for Avocado DB
Clone or download
joymax Merge pull request #12 from keitheis/fix_py34_urllib_request_no_add_data
Fix no add_data of urllib.request.Request in Python 3.4
Latest commit 7bdb8a1 May 13, 2014
Permalink
Failed to load latest commit information.
arango
docs
.gitignore
.travis.yml Finished support of Python 3.3, improved tests infrastructure Mar 8, 2013
LICENSE
MANIFEST.in
Makefile
Makefile.ci Removed 'disable-update' option for bootstrap.py May 30, 2012
README.rst
bootstrap.py
requirements.generic
requirements.readthedocs
setup.py

README.rst

Python driver for ArangoDB

Driver for ArangoDB REST API inrerface, arangodb.org

https://travis-ci.org/joymax/arango-python.png?branch=master

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.1

  • Improved work with Edges
  • Added not a variable mode to V() (~V())

0.2.0

  • Added support for multiple databases

0.1.8

  • Added support of bulk inserts