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 task init

Run code quality checks locally

This project uses TaskiPy as an alternative to a makefile. Also like a makefile some of these commands are composites. For example, poetry run task lint is really just a meta task that runs poetry run task lint_flake8 followed by poetry run task lint_mypy. If you need to see which tasks can be run and what they do, you can use the following command:

poetry run task --list

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.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

dramatiq_mongodb-0.6.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dramatiq-mongodb-0.6.1.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for dramatiq-mongodb-0.6.1.tar.gz
Algorithm Hash digest
SHA256 5ffde42cebe2e778f4d2dd442fa45a922b5daa2fe85a396d2b99b12e2697902d
MD5 74fcdc64081a6f4869d5d0f037df577a
BLAKE2b-256 44be7258a4ed4f96f9051d496535cffa32310b0cf43d49f462f402760e904dea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dramatiq_mongodb-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.2.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4

File hashes

Hashes for dramatiq_mongodb-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f5331183b46a2887d9fd3c8c5b277cd187dde339f7d0d84286f34fd629fab49
MD5 a1f9312c34f7bf430f5806efc44e2a40
BLAKE2b-256 c8f36cc9f789f93b5f82c16094ce7bf43bd3477a3d15c702ef75784224dc370a

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