Ultra-lightweight (no-dependency) 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, running in a separate thread.
- This is useful when you need a lightweight pub-sub system.
- Introduce intra-process decoupling without running a separate service.
- It is backed by python's multiproducer, multiconsumer queue.
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
Linting is done via autopep8
script/lint.sh
Documentation
# Shows in browser
poetry run pdoc python_bunny_mq/
# Generates to ./docs
script/build.sh
Testing
clear; pytest
Building and Publishing
Building
scriopt/build.sh
Publishing
Note: --build
flag build before publishing
script/publish.sh
# 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.8.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file python_bunny_mq-0.1.8.tar.gz
.
File metadata
- Download URL: python_bunny_mq-0.1.8.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.12.2 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55ed46305e54b6037234e1c347852ebc2865b5acb267bb8e84d71c04cce9bc3c |
|
MD5 | 1fb48822046f9558b002186ede142536 |
|
BLAKE2b-256 | e5f3c89a3222bcf73a7e4deb67a7baa0b78d561aea03758c6c2cf28c59dc1640 |
File details
Details for the file python_bunny_mq-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: python_bunny_mq-0.1.8-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.1 CPython/3.12.2 Darwin/22.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41be3b4842bfc51946b18af3d63b2794eb51e7f521e190b6260295e305969045 |
|
MD5 | 3200a466c4a2161ac88f53ad5da30fe0 |
|
BLAKE2b-256 | 9df7901c6642429ed2b9c6da9b152c5243fcfe290b7bf0abd301ce95ee23664f |