Skip to main content

Type-based dependency injection for scripts.

Project description

Mush is a light weight dependency injection framework aimed at enabling the easy testing and re-use of chunks of code that make up scripts.

This is done by combining several callables into a re-usable runner. Those callables may produce or require resource objects which mush passes between them based on the type of the object. The callables are called roughly in the order they are added to the runner, but adjusted for the resources required or procuced by it.

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

mush-2.7.0.tar.gz (34.7 kB view hashes)

Uploaded Source

Built Distribution

mush-2.7.0-py2.py3-none-any.whl (28.9 kB view hashes)

Uploaded Python 2 Python 3

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