Skip to main content

Add Pika support to your Flask application.

Project description

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.


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)

def test_queue(ch, method, props, body):

def publish_to_queue():
    coney.publish({"test": 1}, routing_key="test")


For guidance on setting up a development environment and how to make a contribution to Flask-Coney, see the contributing guidelines.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Flask-Coney, version 1.1.4
Filename, size File type Python version Upload date Hashes
Filename, size Flask-Coney-1.1.4.tar.gz (42.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page