Skip to main content

No project description provided

Project description

usepy-plugin-rabbitmq

a plugin for usepy to use rabbitmq

example

from usepy_plugin_rabbitmq import useRabbitMQ

rmq = useRabbitMQ()


@rmq.listener(queue_name="test")
def test_listener(message):
    print(message.body)
    message.ack()  # ack message

if you use it with usepy, you can use it like this:

from usepy.plugin import useRabbitMQ

rmq = useRabbitMQ()

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

usepy_plugin_rabbitmq-0.1.7.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

usepy_plugin_rabbitmq-0.1.7-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file usepy_plugin_rabbitmq-0.1.7.tar.gz.

File metadata

  • Download URL: usepy_plugin_rabbitmq-0.1.7.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1016-azure

File hashes

Hashes for usepy_plugin_rabbitmq-0.1.7.tar.gz
Algorithm Hash digest
SHA256 2f5ad3ee836dc6e90dbc47a3cc38c4a1ef3f667a5204e29c8059fbaf6cd96b19
MD5 e5ba551fa549c45b745b515e597d6b2b
BLAKE2b-256 b95ca95307e041a42e52e484dd4258b29c7e58eabe43e68dc5394955ba140553

See more details on using hashes here.

File details

Details for the file usepy_plugin_rabbitmq-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for usepy_plugin_rabbitmq-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d4290c0d6036db82baa2c3b1cd76c4a3beaaf6b83ebc1d29df063b8133dbee02
MD5 29b4e9c474b344ae2687189124c51a36
BLAKE2b-256 c3e65f8274928f494f892683fcfb2224bb82d5fa0a8f954bfa7bc31e7eda014a

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