Flask extension for 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-arango-orm-0.1.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for Flask_arango_orm-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ab9693a46791d4f3f2bac873f14d459e79342ed8b8cffe70be5379c610532b6 |
|
MD5 | c8559c761c4f9d2f2db6709bf216f27c |
|
BLAKE2b-256 | b9070319dde23ba24b60bcd5fce3d3c33a8387b5badb3086f4ed6b886f20f3f4 |