2.2 KiB
amq-adapter-python
This project contains the Python implementation of the AMQ adapter for routing the traffic over the RabbitMQ to intended service and automated service discovery.
Usage
Install dependencies
pip install -r requirements.txt
Use as a library
Use this URL to add this project as a dependency:
git+https://git.cleverthis.com/cleverthis/clevermicro/amq-adapter-python.git@develop#egg=amq_adapter
Hint: use
git config --global credential.helper storeto enable Git credential manager so you don't have to re-enter the gitlab credential everytime.
Then:
from amqp.service import amq_service
How to build distributable Wheel archive
install project requirements
pip install -r requirements.txt
install distribution archive requirements
pip install setuptools wheel build
update version in:
pyproject.toml
build the distributable archive (will be located in ./dist directory)
python -m build --wheel
TODO: how to use?
Donating
As an open-source project we run entierly off donations. Buy one of our hardworking developers a beer by donating at OpenCollective. All donations go to our bounty fund and allow us to place bounties on important bugs and enhancements. You may also use Beerpay linked via the above badges.
