Skip to main content

libary for pika client

Project description

rabbitmq_helper

Удобный клиент для RabbitMQ на aio-pika.

Установка

pip install rabbitmq_helper

Пример использования

from rabbitmq_helper import AsyncPikaClient

pika_client = AsyncPikaClient(
    publish_queue="auth_requests",
    consume_queue="auth_responses",
    url="amqp://guest:guest@localhost/",
    process_callable=handle_incoming
)

await pika_client.init()
await pika_client.send_message({"command": "ping"}, wait_for_response=True)

✅ 3. Упаковка и установка

📦 Локальная установка

Если ты тестируешь локально:

cd rabbitmq_helper
pip install -e .

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

rabbit_helper_insomnia-1.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

rabbit_helper_insomnia-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file rabbit_helper_insomnia-1.0.0.tar.gz.

File metadata

  • Download URL: rabbit_helper_insomnia-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for rabbit_helper_insomnia-1.0.0.tar.gz
Algorithm Hash digest
SHA256 84fa3068978bf4548f0d33ae55fa2b102182662f10dc4f564a530efcfe10ec55
MD5 8651559d02265e8ce45e0c57f6583c39
BLAKE2b-256 223f1e980b53d3e52f9acfbb08fbfc4840f939ff5d46e9a877719d887274fbb9

See more details on using hashes here.

File details

Details for the file rabbit_helper_insomnia-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rabbit_helper_insomnia-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e06b3f9603c3f87d7b2618bf6614a4064116ac1baa8f9b9602ca642d53ef997a
MD5 3acb21e457b896613112f670c7f3fdfb
BLAKE2b-256 689941a2af7c6070a999a3924eadf05b6e8584d7b599419827de9274ba2e835f

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