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
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
Built Distribution
File details
Details for the file flask_arango_orm-0.2.0.tar.gz
.
File metadata
- Download URL: flask_arango_orm-0.2.0.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-34-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a3ff107b0bec94c69c88f3261f439dae090d8f1cf5fca7800c7c1adb835e695 |
|
MD5 | 9bb24e49a40af3f0fcfa44fdc33ef7d2 |
|
BLAKE2b-256 | 83707b0c2cb02197dd92c127d8ab91f2e0fe1f7c81e019492586ad29cd349ffb |
File details
Details for the file flask_arango_orm-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: flask_arango_orm-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/6.2.0-34-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a27043b9cc408c96868ca36eb0aa60102bff44eafc959f4e02483f093811742 |
|
MD5 | 9c801eedb72c66b519b9eb3b1922b9cb |
|
BLAKE2b-256 | 81cdbc339de20da60297cf656c77611d5b259a6896a7d6afccf34a74bdddd6dd |