Skip to main content

Driver for ArangoDB

Project description

Driver for ArangoDB REST API inrerface, arangodb.org

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

Features support

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

Installation

pip install arango

Usage

To start work with ArangoDB try following example:

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.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.1x, 1.2x and 1.3x

Developed by Maksym Klymyshyn

Changelog

0.1.8

  • Added support of bulk inserts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arango-0.1.9.tar.gz (366.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page