Skip to main content

Flask-Coney

PyPi Read the Docs Tests Coverage

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.

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)

Source distribution for Flask-Coney 1.1.4
File Size Uploaded
Flask-Coney-1.1.4.tar.gz 42.8 kB Details

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

Release history Release notifications | RSS feed

This release

1.1.4 This release

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page