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 in the order they are added to the runner, while labels may be used to insert callables at specific points in the runner.
Project details
Release history Release notifications | RSS feed
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.8.0.tar.gz
(36.0 kB
view hashes)
Built Distribution
mush-2.8.0-py2.py3-none-any.whl
(29.8 kB
view hashes)