https://github.com/tangledpath/python-bunny-mq
Ultra lightweight intraprocess message queue (no dependencies)
https://github.com/tangledpath/python-bunny-mq
Last synced: about 1 year ago
JSON representation
Ultra lightweight intraprocess message queue (no dependencies)
- Host: GitHub
- URL: https://github.com/tangledpath/python-bunny-mq
- Owner: tangledpath
- Created: 2024-03-28T06:32:00.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-25T22:24:29.000Z (almost 2 years ago)
- Last Synced: 2025-03-21T03:46:33.329Z (about 1 year ago)
- Language: Python
- Size: 4.32 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://docs.python.org/3/library/queue.html).
## 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
```bash
script/lint.sh
```
### Documentation
```
# Shows in browser
poetry run pdoc python_bunny_mq/
# Generates to ./docs
script/build.sh
```
### Testing
```bash
clear; pytest
```
### Building and Publishing
#### Building
```bash
scriopt/build.sh
```
#### Publishing
Note: `--build` flag build before publishing
```bash
script/publish.sh
# poetry publish --build -u __token__ -p $PYPI_TOKEN
```