Skip to content

Files

Latest commit

696e638 · Aug 6, 2024

History

History
48 lines (33 loc) · 1.31 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.31 KB

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