Skip to main content

Flask connector for ArangoDB using arango-orm

Project description

About

Flask-arango-orm is used to connect to an ArangoDB instance using arango-orm as an object model layer to your Flask app. ArangoDB is a hybrid database that can provide a document, graph, and relational mode which can be taken advantage of using arango-orm.

Installation

Using pip:

pip install Flask-arango-orm

Or using setup.py:

python setup.py install

Tests can be ran using:

python setup.py test

Documentation can be generated using:

python setup.py build_sphinx

Usage

This extension for the Flask framework uses arango-orm to provide an Object Model to use within the Flask application.

from flask import Flask
from flask_arango_orm import ArangoORM

app = Flask(__name__)
arango = ArangoORM(app)

@app.route('/route')
def some_route():
   db_conn = arango.connection

Project details


Download files

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

Files for Flask-arango-orm, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size Flask_arango_orm-0.1.1-py3-none-any.whl (6.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size Flask-arango-orm-0.1.1.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page