Lightweight message queue for intra-process pub-sub communication.
Project description
Python Bunny MQ
Python-based package that implements a no-dependency, ultra-lightweight intra-process message queue. This works inside a single process.
- This is useful when you need a lightweight pub-sub system
- For example, the author is using it in development to send message to local handlers. These are deployed to AWS and are invoked as a lambda function via SQS.
Homepage
https://pypi.org/project/python-bunny-mq/
GitHub
https://github.com/tangledpath/python-bunny-mq
Documentation
https://tangledpath.github.io/python-bunny-mq
Installation
pip install python-bunny-mq
Getting started
Development
Linting
ruff check . # Find linting errors
ruff check . --fix # Auto-fix linting errors (where possible)
Documentation
# Shows in browser
poetry run pdoc python_bunny_mq/
# Generates to ./docs
bin/build.sh
Testing
clear; pytest
Building and Publishing
Building
poetry build
Publishing
Note: --build
flag build before publishing
poetry publish --build -u __token__ -p $PYPI_TOKEN
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
python_bunny_mq-0.1.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for python_bunny_mq-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 537e35152c0fc215cb2b6eb27ffd6eaf9dda9eb7fa443245766aa6a02dfe5fdf |
|
MD5 | a0cae06293791eecbab0cac503fc7984 |
|
BLAKE2b-256 | e459ed676fe685531c30e7d995d31d957acb1994a83eb34a8efd06e1fc991bdb |