Skip to main content

Common messaging extension. Provides base messaging services that other service build on

Project description

Let use handle the boring stuff!

The messaging extension provides an abstract interface to various messaging implementations. This lets your application seamlessly migrate from AMQP to SQS without any changes to your main application code.


The primary focus of work is on asyncio based queues.


Install using pip or pipenv:

# Using pip
pip install pyapp-Messaging

# Using pipenv
pipenv install pyapp-Messaging


This library is easiest used with the injection framework eg:

from pyapp.injection import inject, Args
from pyapp_ext.messaging import MessageReceiver

def my_function(queue: MessageReceiver = Args(name="job_queue")):
    queue.send_message("Do job A")

or using asyncio:

from pyapp.injection import inject, Args
from pyapp_ext.messaging.asyncio import MessageSender

async def my_function(sender: MessageSender = Args(name="job_queue")):
    await sender.send("Do job A")


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 pyApp-Messaging, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size pyApp_Messaging-0.2.0-py3-none-any.whl (12.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyApp-Messaging-0.2.0.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

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