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.

License

Quorum Extensions for Flask] is currently licensed under the Apache License, Version 2.0.

Build Automation

Build 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.5.tar.gz (129.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quorum-0.8.5-py2.py3-none-any.whl (176.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: quorum-0.8.5.tar.gz
  • Upload date:
  • Size: 129.6 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.5.tar.gz
Algorithm Hash digest
SHA256 7c9ec82b1ba08bcecaa7a85f1e29456e2ac71cb86a4bee786a7f1d32f5c815c4
MD5 ad7409c50aecdb02ead85f29cdfbb916
BLAKE2b-256 43d771a769ceff73354da2e87631368d6447a824e81e9acc4488561d5b790c77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quorum-0.8.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 176.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.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 203823bcdd952169e3a4e858c99fddd519fbb157f315ccf938f8258a237396f1
MD5 847f614a02c97810a3016dc87259725e
BLAKE2b-256 7338691898c1fb8f306e9b7bdab7d249ce9c0691c33f221466fc3fbe33505087

See more details on using hashes here.

Supported by

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