Skip to main content
Join chatroom Documentation Status Automated test status Test coverage

trio-amqp

The trio-amqp library is a pure-Python implementation of the AMQP 0.9.1 protocol.

Built on top of Trio, it provides an API based on coroutines, making it easy to write highly concurrent applications.

Bug reports, patches and suggestions welcome! Just open an issue or send a pull request.

Status

The code works. Porting code that uses aioamqp (or even plain python-amqp) should be reasonably straightforward.

All tests from aioamqp have been ported and succeed.

tests

To run the tests, you’ll need to install the Python test dependencies:

pip install -r ci/requirements_dev.txt

Tests require an instance of RabbitMQ. You can start a new instance using docker:

docker run -d --log-driver=syslog -e RABBITMQ_NODENAME=my-rabbit --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3-management

Then you can run the tests with make test (requires pytest).

Future work

  • Add coverage reporting. Increase coverage (duh).

  • Try restarting a failed AMQP connection instead of cancelling everything.

Release files for trio_amqp 0.2.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for trio_amqp 0.2.13
File Size Uploaded
trio_amqp-0.2.13.tar.gz 38.7 kB Details

Release files / trio_amqp-0.2.13.tar.gz

Download URL trio_amqp-0.2.13.tar.gz
Size 38.7 kB
Tags Source
SHA-256 checksum
How to use checksums
41901aa1482ed20d8e45ea39f91836ed1f0efb337ae8f60d2b1c4b9a0df0375f
BLAKE2b-256 checksum
How to use checksums
21692b468b732e5b789f705f9a7e6debb73de41c8b794735fdcaec47e46b22ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.2.13 This release

1 release file

0.2.12

1 release file

0.2.9

1 release file

0.2.8

2 release files

0.2.6

1 release file

0.2.5

1 release file

0.2.2

1 release file

0.2.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page