Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60649 > unrolled thread

mush 1.1 released! - Type-based dependency injection for scripts

Started byChris Withers <chris@simplistix.co.uk>
First post2013-11-27 23:43 +0000
Last post2013-11-27 23:43 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  mush 1.1 released! - Type-based dependency injection for scripts Chris Withers <chris@simplistix.co.uk> - 2013-11-27 23:43 +0000

#60649 — mush 1.1 released! - Type-based dependency injection for scripts

FromChris Withers <chris@simplistix.co.uk>
Date2013-11-27 23:43 +0000
Subjectmush 1.1 released! - Type-based dependency injection for scripts
Message-ID<mailman.3330.1385595821.18130.python-list@python.org>
Hi All,

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 rounds out a few rough edges after a few months of real 
world use:

- Runners can now be created from other Runners during instantiation or 
using the .extend() method as well as concatenation.

- @requires decorations can now be stacked

- Runners now have a .replace() method allowing you to replace a 
callable with a mock to make sure the callable is passed the right 
parameters.

For a worked example of how to use Mush to reduce the copy'n'paste in 
your scripts, please see here:

http://pythonhosted.org/mush/examples.html

Full docs are here:

http://pythonhosted.org/mush/

Downloads are here:

https://pypi.python.org/pypi/mush

Compatible with Python 2.6, 2.7, 3.2 and 3.3 on Linux, Mac OS X and Windows:

http://jenkins.simplistix.co.uk/view/mush/

Any problems, please give me a shout on the simplistix@googlegroups.com 
list!

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web