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 produced 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
mush-2.7.2-py2.py3-none-any.whl (29.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3
mush-2.7.2.tar.gz (35.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page