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
Metadata
Release files for bababel 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bababel-0.4.1.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bababel-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.1 kB
Release files / bababel-0.4.1.tar.gz
| Download URL | bababel-0.4.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac93b432a96b6eb94b7e77690bdd259a0eea6f1e7e71dd30dfee6f4623de3349
|
|
BLAKE2b-256 checksum How to use checksums |
38cdf3a0b7cb98b0f5e94ba7bf83cb653263ba446262efd807af8900a7a456d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / bababel-0.4.1-py3-none-any.whl
| Download URL | bababel-0.4.1-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f1e6ec1045be75f05b5b7e25239cd0884be76889048f5f33e93abe7441996c7
|
|
BLAKE2b-256 checksum How to use checksums |
31ebed41cf38db830fcfdf6b1a31f055bc6df4facc763c357b560dbff80200bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|