Skip to main content

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


Download files

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

Source Distribution

bababel-0.4.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bababel-0.4.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file bababel-0.4.0.tar.gz.

File metadata

  • Download URL: bababel-0.4.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for bababel-0.4.0.tar.gz
Algorithm Hash digest
SHA256 62827204034b0d86a7dd37a41b14c40f7fd6cb321676bb35ab554761efec55bd
MD5 5cdf0aa6dd9f32abf7bd574c3f9c976d
BLAKE2b-256 37577c4e967a48917fb8f3b2415304a5d12028d04993b150812d2cf63a2babb0

See more details on using hashes here.

File details

Details for the file bababel-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: bababel-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for bababel-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2e674122a197619e12382351766ba875555b96082d747777df2cc3bf1340730
MD5 a6232cee626d923a18da1d42a2661426
BLAKE2b-256 5e807ad291f1faa45f80b3b5ef65dbe7a70e66494c0509fed5bd146db96c02f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page