quorum


Namequorum JSON
Version 0.8.3 PyPI version JSON
download
home_pagehttp://flask-quorum.hive.pt
SummaryQuorum Extensions for Flask
upload_time2024-04-05 10:44:04
maintainerNone
docs_urlNone
authorHive Solutions Lda.
requires_pythonNone
licenseApache License, Version 2.0
keywords quorum flask
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # [![Quorum Extensions for Flask](res/logo.png)](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.

## Build Automation

[![Build Status](https://app.travis-ci.com/hivesolutions/flask-quorum.svg?branch=master)](https://travis-ci.com/github/hivesolutions/flask-quorum)
[![Coverage Status](https://coveralls.io/repos/hivesolutions/flask-quorum/badge.svg?branch=master)](https://coveralls.io/r/hivesolutions/flask-quorum?branch=master)
[![PyPi Status](https://img.shields.io/pypi/v/quorum.svg)](https://pypi.python.org/pypi/quorum)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/)



            

Raw data

            {
    "_id": null,
    "home_page": "http://flask-quorum.hive.pt",
    "name": "quorum",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "quorum flask",
    "author": "Hive Solutions Lda.",
    "author_email": "development@hive.pt",
    "download_url": "https://files.pythonhosted.org/packages/1e/99/1f6deec4c6bec979c5590ba3fabfde47c984b5cfa248e1845d5c679b29c7/quorum-0.8.3.tar.gz",
    "platform": null,
    "description": "# [![Quorum Extensions for Flask](res/logo.png)](http://flask-quorum.hive.pt)\n\nA small extension framework for Flask to easy a series of simple tasks.\n\n## Usage\n\n```python\nimport flask\nimport quorum\n\napp = quorum.load(\n    name = __name__\n)\n\n@app.route(\"/\", methods = (\"GET\",))\ndef index():\n    return flask.render_template(\"index.html.tpl\")\n\nif __name__ == \"__main__\":\n    quorum.run()\n```\n\nCreation of background callables, that will execute every one second in a separate thread\n\n```python\n@quorum.background(timeout = 1.0)\ndef hello_recursive():\n    print(\"hello word\")\n```\n\n## Building\n\n```bash\nsphinx-build -b html doc doc/_build\n```\n\n## Documentation\n\nExtra documentation is available under our readthedocs.com [page](https://quorum.readthedocs.org). Keep\nin mind that some delay may exist between the current repository `master` version and the documentation.\n\nWe need people to help documentation the code base if you know anyone please contact us.\n\n## Build Automation\n\n[![Build Status](https://app.travis-ci.com/hivesolutions/flask-quorum.svg?branch=master)](https://travis-ci.com/github/hivesolutions/flask-quorum)\n[![Coverage Status](https://coveralls.io/repos/hivesolutions/flask-quorum/badge.svg?branch=master)](https://coveralls.io/r/hivesolutions/flask-quorum?branch=master)\n[![PyPi Status](https://img.shields.io/pypi/v/quorum.svg)](https://pypi.python.org/pypi/quorum)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/)\n\n\n",
    "bugtrack_url": null,
    "license": "Apache License, Version 2.0",
    "summary": "Quorum Extensions for Flask",
    "version": "0.8.3",
    "project_urls": {
        "Homepage": "http://flask-quorum.hive.pt"
    },
    "split_keywords": [
        "quorum",
        "flask"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b33767c20bd3da05c1f8892e74af1fec211adf98b557ef3f91138b3675c67e55",
                "md5": "ad366e7434b6f5e9162213b9bae9221d",
                "sha256": "c0483257b6da0c0fbeeb2c750bd8d4941cd93c624b90912be8755fcebd574fbb"
            },
            "downloads": -1,
            "filename": "quorum-0.8.3-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ad366e7434b6f5e9162213b9bae9221d",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 172459,
            "upload_time": "2024-04-05T10:44:02",
            "upload_time_iso_8601": "2024-04-05T10:44:02.440265Z",
            "url": "https://files.pythonhosted.org/packages/b3/37/67c20bd3da05c1f8892e74af1fec211adf98b557ef3f91138b3675c67e55/quorum-0.8.3-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1e991f6deec4c6bec979c5590ba3fabfde47c984b5cfa248e1845d5c679b29c7",
                "md5": "fb35b652291b51df241e323236b97e79",
                "sha256": "668da50edd8d14fa098dc5c65ee03576a02486a06c4a25189815b20f5995af50"
            },
            "downloads": -1,
            "filename": "quorum-0.8.3.tar.gz",
            "has_sig": false,
            "md5_digest": "fb35b652291b51df241e323236b97e79",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 127031,
            "upload_time": "2024-04-05T10:44:04",
            "upload_time_iso_8601": "2024-04-05T10:44:04.524432Z",
            "url": "https://files.pythonhosted.org/packages/1e/99/1f6deec4c6bec979c5590ba3fabfde47c984b5cfa248e1845d5c679b29c7/quorum-0.8.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-05 10:44:04",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "quorum"
}
        
Elapsed time: 0.23491s