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

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

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.2.1.tar.gz (343.5 kB view details)

Uploaded Source

File details

Details for the file arango-0.2.1.tar.gz.

File metadata

  • Download URL: arango-0.2.1.tar.gz
  • Upload date:
  • Size: 343.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for arango-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9b65afb818c72448f9db6dc7acdaf68b329689b592703fcd3a8d765778244a4f
MD5 2ff7e16fecc61ff4127411fcfdde3621
BLAKE2b-256 ee7c2ac6a5a299327ada3f707f35023a943f27b97b77d994da453a1cff388f62

See more details on using hashes here.

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