Skip to main content

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:

CI/CD Pipeline

Latest SEMVER

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dramatiq-mongodb-0.6.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

dramatiq_mongodb-0.6.2-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file dramatiq-mongodb-0.6.2.tar.gz.

File metadata

  • Download URL: dramatiq-mongodb-0.6.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/36.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.0 importlib-metadata/4.2.0 keyring/23.8.2 rfc3986/2.0.0 colorama/0.4.5 CPython/3.10.6

File hashes

Hashes for dramatiq-mongodb-0.6.2.tar.gz
Algorithm Hash digest
SHA256 24c1c6367794eb35d2ce11420482ae8d5fca29ec3222f61a76d5e38310c4aca5
MD5 437db075564496bdacf2d8fa014edd22
BLAKE2b-256 6702785795ab6a3045481510a6d5a733d51f61f95ed95370f849a6371216755a

See more details on using hashes here.

File details

Details for the file dramatiq_mongodb-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: dramatiq_mongodb-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/36.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.0 importlib-metadata/4.2.0 keyring/23.8.2 rfc3986/2.0.0 colorama/0.4.5 CPython/3.10.6

File hashes

Hashes for dramatiq_mongodb-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e8520b2d6c867745c0f8a17fa8f9247e368f3b879216173c35b2c9bf79ab4da2
MD5 35ac4015fc1387e43bbf8169761393c1
BLAKE2b-256 1ae7c965a90f4bd2e06987d927ec269e44b9d4238fa9bec55963de7320bb741a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page