Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Flask extension for ArangoDB using python-arango

Project Description

This is Flask extension for integration ArangoDB using python-arango. It’s inspired by Flask-Arango, an extension for the pyArango library.


Install using pip:

pip install flask-arangodb


Typical usage looks like this:

from flask import Flask

from flask_arangodb import ArangoDB

# Configuration
ARANGO_SETTINGS = {'host': 'localhost', 'port': 8529}
ARANGO_DB = 'mydatabase'

app = Flask(__name__)
arango = ArangoDB(app)

def index():
    # refer to python-arango for more information

    # Set up some test data to query against
        {'_key': 'Abby', 'age': 22},
        {'_key': 'John', 'age': 18},
        {'_key': 'Mary', 'age': 21}

    # Execute the query
    cursor = db.aql.execute(
        'FOR s IN students FILTER s.age < @value RETURN s',
        bind_vars={'value': 19}

    # Iterate through the result cursor
    return([student['_key'] for student in cursor])
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask_Arangodb-1.0.4-py3-none-any.whl (5.8 kB) Copy SHA256 Checksum SHA256 py3 Wheel Sep 10, 2016
Flask-Arangodb-1.0.4.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Sep 10, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting