This repository has been archived by the owner. It is now read-only.
Dramatiq integration for API Star apps.
Switch branches/tags
Nothing to show
Clone or download


Build Status Test Coverage Maintainability PyPI version

Dramatiq integration for API Star apps. Adds support for using dependency injection inside Dramatiq actors.



Use pipenv (or plain pip) to install the package:

pipenv install apistar_dramatiq

You can then use in place of wherever you need dependency-injected components. Don't forget to call apistar_dramatiq.setup after you initialize your components.

See for a minimal example.


Actors that use dependency injection cannot use *args and **kwargs in their function signatures and class-based actors are not currently supported.


apistar_dramatiq is licensed under Apache 2.0. Please see LICENSE for licensing details.