Flask-Coney
Flask-Coney is an extension for Flask that adds support for Pika to your application. It aims to simplify using Pika with Flask by providing useful defaults and extra helpers that make it easier to accomplish common tasks.
Installing
Install and update using pip:
$ pip install -U Flask-Coney
A Simple Example
from flask import Flask
from flask_coney import Coney
app = Flask(__name__)
app.config["CONEY_BROKER_URI"] = "amqp://guest:guest@rabbitmq"
coney = Coney(app)
@coney.queue(queue_name="test")
def test_queue(ch, method, props, body):
pass
def publish_to_queue():
coney.publish({"test": 1}, routing_key="test")
Contributing
For guidance on setting up a development environment and how to make a contribution to Flask-Coney, see the contributing guidelines.
Links
Documentation: https://flask-coney.readthedocs.io
Releases: https://pypi.org/project/Flask-Coney/
Issue tracker: https://github.com/mikebarkmin/flask-coney/issues
Metadata
Release files for Flask-Coney 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Flask-Coney-1.1.4.tar.gz | 42.8 kB | Without provenance | Details for Flask-Coney-1.1.4.tar.gz |
Release files / Flask-Coney-1.1.4.tar.gz
| Download URL | Flask-Coney-1.1.4.tar.gz |
|---|---|
| Size | 42.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57b4d50f5a9a2ed39a8aa83bf38777f6d552883a2f3ef689d937f43e9e5dfd04
|
|
BLAKE2b-256 checksum How to use checksums |
647e1a8ba0d941443ae71905d17e0e12d964324a15caa89c70aae7ae37507ca3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
|
Security for Flask-Coney 1.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.