aioamqp
library is a pure-Python implementation of the AMQP 0.9.1 protocol.
Built on top on Python's asynchronous I/O support introduced in PEP 3156, 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.
To run the tests, you'll need to install the Python test dependencies:
pip install -r 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
.
Start RabbitMQ using docker-compose up -d rabbitmq
. When RabbitMQ has started, start the tests using docker-compose up --build aioamqp-test