mush 2.7 released! - Type-based dependency injection for scripts
I'm very happy to announce the a new release of Mush, a light weight
dependency injection framework aimed at enabling the easy testing and
re-use of chunks of code that make up scripts.
This release includes:
- Add support for using Python 3 type annotations to specify
requirements and returned resources.
- Add support for arg names being used as requirements when there is no
- Add an explicit way of ignoring the return value of a callable.
- Add an update_wrapper() helper that extends the standard library
version but also preserves Mush's annotations.
For a worked example of how to use Mush to reduce the copy'n'paste in
your scripts, please see here:
Full docs are here:
Downloads are here:
Compatible with Python 2.7, 3.4+ on Linux, Mac OS X and Windows.
Any problems, please give me a shout on the simplistix at googlegroups.com