Skip to main content

Quorum Extensions for Flask

Project description

Quorum Extensions for Flask

A small extension framework for Flask to easy a series of simple tasks.

Usage

import flask
import quorum

app = quorum.load(
    name = __name__
)

@app.route("/", methods = ("GET",))
def index():
    return flask.render_template("index.html.tpl")

if __name__ == "__main__":
    quorum.run()

Creation of background callables, that will execute every one second in a separate thread

@quorum.background(timeout = 1.0)
def hello_recursive():
    print("hello word")

Building

sphinx-build -b html doc doc/_build

Documentation

Extra documentation is available under our readthedocs.com page. Keep in mind that some delay may exist between the current repository master version and the documentation.

We need people to help documentation the code base if you know anyone please contact us.

Build Automation

Build Status Coverage Status PyPi Status License

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

quorum-0.8.1.tar.gz (127.0 kB view details)

Uploaded Source

Built Distribution

quorum-0.8.1-py2.py3-none-any.whl (175.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file quorum-0.8.1.tar.gz.

File metadata

  • Download URL: quorum-0.8.1.tar.gz
  • Upload date:
  • Size: 127.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for quorum-0.8.1.tar.gz
Algorithm Hash digest
SHA256 f4cb5c46d99775a2d8b64b30a403853831f13d169346199d258516b7002794bd
MD5 2ae648c0317a1b9141117e0636589360
BLAKE2b-256 ec58a41c34826e5cbea2c36b70af448cca5bc174769fe2a246594ac3a65e38b8

See more details on using hashes here.

File details

Details for the file quorum-0.8.1-py2.py3-none-any.whl.

File metadata

  • Download URL: quorum-0.8.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 175.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.3 requests/2.27.1 setuptools/44.1.0 requests-toolbelt/1.0.0 tqdm/4.64.1 CPython/2.7.18

File hashes

Hashes for quorum-0.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7c305ef31c49f6a00a3dfd11152057c4e836cf63cd81cb845df93d3a64ea0148
MD5 911280845bf2f25191480e2bc6b9a2bc
BLAKE2b-256 31e689484256c9f95f1b777d07a1c53beaf1410cb5356360ec9a59692acdaf12

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page