Dramatiq-Mongodb Broker and Results Backend for Dramatiq
Project description
Dramatiq-Mongodb Broker and Results Backend for Dramatiq
:exclamation: WARNING This is very early beta software that has not yet been proven to work. :exclamation: |
---|
Usage Instructions
Development Instructions
Configure development environment
Install Development Dependencies using Poetry:
poetry install
Install githooks to automate quality checks locally:
poetry run pre-commit install --install-hooks -t pre-commit -t commit-msg
Run code quality checks locally
All code quality checks are performed using the Makefile at the root of the repository. You can execute individual steps by name or execute all steps by omitting a target using make
or specifying make all
:
make all
If you want to purge the repo of all ignore files include the embedded virtual environment then run all tests in a fresh environment you can run:
make clean all
Changelog and semantic version are automated using Semantic-Release during the CD process. To accomplish this, this repository makes heavy use of Conventional Commits, thought this isn't strictly enforced on the server side at this time until 1.0 is released, but the githooks will lint your commits.
Start a local MongoDB
docker run -d -p 27017:27017 --name mongo -e MONGO_INITDB_ROOT_USERNAME=username -e MONGO_INITDB_ROOT_PASSWORD=password mongo
Once the mongodb server is up and running you can create a pymongo client and pass it either into a MongoDBBroker or a MongoDBBackend to test the code locally. Otherwise everything should behave in accordance with the documentation for Dramatiq.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dramatiq_mongodb-0.8.1.tar.gz
.
File metadata
- Download URL: dramatiq_mongodb-0.8.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.65.0 importlib-metadata/4.2.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55617ba50579610cc2fe66662805ad48ee4e0058a241a6042810e8f735ae1e07 |
|
MD5 | 1bc5c6826bf037c8e765d1fc8a6e5a8b |
|
BLAKE2b-256 | a9407b7ae81f5d4c163cf49201726b4efa519a973768cd04cf93701f1a4b92f3 |
File details
Details for the file dramatiq_mongodb-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: dramatiq_mongodb-0.8.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.65.0 importlib-metadata/4.2.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44ab2046b243e4aaffade70d89ce74f9789b00f37a163eeba20b3dec1b347b2b |
|
MD5 | 3ba9ee13653b4182674713329e6eb0c4 |
|
BLAKE2b-256 | b001cdefbc707cf644a1f60f14ef3673611130c86e1c9066474e37d499eb1aec |