A messaging consumer library for handling and processing messages efficiently.
Project description
A messaging consumer library for handling and processing messages efficiently. It is meant to simplify message publishing and processing.
In the current ver version you can only send tasks to a exchange:
Example usage:
from bababel.bababel_app import BababelApp
from bababel.task.task import Task
# Sample Bababel Task
class SampleTask(Task):
def run(self, xpto):
return xpto
# Declare the BababelApp
app = BababelApp(host='localhost',
port=5672,
username='guest',
password='guest')
# Declare the task
task = SampleTask(app=app)
# Send message to the consumer (to be implemented)
# The consumer will execute task.run with the parameters given in the send method
task.send(message='xpto', code=123)
This project uses conventional commits 1.0.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bababel-0.4.1.tar.gz.
File metadata
- Download URL: bababel-0.4.1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac93b432a96b6eb94b7e77690bdd259a0eea6f1e7e71dd30dfee6f4623de3349
|
|
| MD5 |
e825e7e02e85db7bc90b3c424298eff6
|
|
| BLAKE2b-256 |
38cdf3a0b7cb98b0f5e94ba7bf83cb653263ba446262efd807af8900a7a456d4
|
File details
Details for the file bababel-0.4.1-py3-none-any.whl.
File metadata
- Download URL: bababel-0.4.1-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f1e6ec1045be75f05b5b7e25239cd0884be76889048f5f33e93abe7441996c7
|
|
| MD5 |
ce64504523e3057e463d922beb2de826
|
|
| BLAKE2b-256 |
31ebed41cf38db830fcfdf6b1a31f055bc6df4facc763c357b560dbff80200bc
|