https://github.com/hivesolutions/flask-quorum
An extension to Flask providing: SSL, ACL, etc.
https://github.com/hivesolutions/flask-quorum
flask framework python quorum wsgi
Last synced: 6 months ago
JSON representation
An extension to Flask providing: SSL, ACL, etc.
- Host: GitHub
- URL: https://github.com/hivesolutions/flask-quorum
- Owner: hivesolutions
- Created: 2012-11-28T16:43:21.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2024-09-25T09:03:53.000Z (over 1 year ago)
- Last Synced: 2025-01-10T04:56:56.637Z (about 1 year ago)
- Topics: flask, framework, python, quorum, wsgi
- Language: Python
- Homepage: http://flask-quorum.hive.pt
- Size: 1.39 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# [](http://flask-quorum.hive.pt)
A small extension framework for Flask to easy a series of simple tasks.
## Usage
```python
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
```python
@quorum.background(timeout = 1.0)
def hello_recursive():
print("hello word")
```
## Building
```bash
sphinx-build -b html doc doc/_build
```
## Documentation
Extra documentation is available under our readthedocs.com [page](https://quorum.readthedocs.org). 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](http://www.apache.org/licenses/).
## Build Automation
[](https://github.com/hivesolutions/flask-quorum/actions)
[](https://pypi.python.org/pypi/quorum)
[](https://www.apache.org/licenses/)