Skip to main content

Flask-Python-Arango

Flask-Python-Arango is a python-arango support for Flask applications using ArangoDB

Installation

To install a stable version from PyPi:

~$ pip install Flask-Python-Arango

To install the latest version directly from GitHub:

~$ pip install -e git+git@github.com:zvfvrv/flask-python-arango.git@master#egg=flask-python-arango

A Simple Example

from flask import Flask, render_template
from flask_python_arango import FlaskArango

app = Flask(__name__)
app.config['ARANGODB_HOST'] = 'http://localhost:8529'
app.config['ARANGODB_DB'] = 'test'
app.config['ARANGODB_USERNAME'] = 'root'
app.config['ARANGODB_PSW'] = '12345678'

ArangoDB = FlaskArango(app)

@app.route('/')
def home_page():
    # Execute an AQL query and iterate through the result cursor.
    cursor = ArangoDB.connection.aql.execute('FOR doc IN nodes RETURN doc')
    devices = [document for document in cursor]
    return render_template('index.html', devices=devices)

Contributing

Please create an issue on GitHub.

Metadata

Release files for Flask-Python-Arango 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-Python-Arango 0.0.2
File Size Uploaded Provenance Actions
Flask-Python-Arango-0.0.2.tar.gz 3.4 kB Without provenance Details for Flask-Python-Arango-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Flask-Python-Arango 0.0.2
File Interpreter ABI Platform Actions
Flask_Python_Arango-0.0.2-py3-none-any.whl Python 3 none any Details for Flask_Python_Arango-0.0.2-py3-none-any.whl

Total release size: 11.3 kB

Release files / Flask-Python-Arango-0.0.2.tar.gz

Download URL Flask-Python-Arango-0.0.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
70153146b0ea77ea241c1428d9ca075e250515869914cc96e9512a4053aaa191
BLAKE2b-256 checksum
How to use checksums
c1b5c1622486ca53477cb97397b2f459f3def4959dba1bf5e1d515af36c67f18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / Flask_Python_Arango-0.0.2-py3-none-any.whl

Download URL Flask_Python_Arango-0.0.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1a443da550e9ea8c357c6d1e8ce4fe7c6b10494b69ecacedc00b1958f98fa9ce
BLAKE2b-256 checksum
How to use checksums
0a90e4273fe70108774ebd05260bb134084471442d1e93afb812905465633d5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for Flask-Python-Arango 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page