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 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.4.tar.gz (128.6 kB view details)

Uploaded Source

Built Distribution

quorum-0.8.4-py2.py3-none-any.whl (174.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: quorum-0.8.4.tar.gz
  • Upload date:
  • Size: 128.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.4.tar.gz
Algorithm Hash digest
SHA256 83a796cb9b1850af37d83f578b4368001272e50931e9da2805d411277fb877c6
MD5 aa24bc1797ec2a18ba335dcbb298068f
BLAKE2b-256 d57927e1f106036e2253c813144f5ccb6f159e838f5441afbee8d94ed4c41cc9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quorum-0.8.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 174.0 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.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4ffb40397c8eca0153c87ee55c231c6b70b626de5da98ea3d1d2dc479ea43869
MD5 7a902724a8794d346ad3452d6e088c8f
BLAKE2b-256 ef9ba3a683e6809e6661ad97105e8f4567998f4b7f7dfb54974d1c6aab2aecd0

See more details on using hashes here.

Supported by

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