Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60649
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <chris@simplistix.co.uk> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'enabling': 0.05; 'linux,': 0.07; 'subject:released': 0.07; 'dependency': 0.09; 'from:addr:simplistix.co.uk': 0.09; 'from:name:chris withers': 0.09; 'message-id:@simplistix.co.uk': 0.09; 'received:server1.simplistix.co.uk': 0.09; 'received:simplistix.co.uk': 0.09; 'rounds': 0.09; 'scripts,': 0.09; 'python': 0.11; 'callable': 0.16; 'chunks': 0.16; 'received:93.89': 0.16; 'received:93.89.128': 0.16; 'received:93.89.128.162': 0.16; 'received:buzzkill.local': 0.16; 'rough': 0.16; 'scripts.': 0.16; 'simplistix': 0.16; 'subject:based': 0.16; 'to:name:python list': 0.16; 'url:simplistix': 0.16; 'windows:': 0.16; 'all,': 0.19; 'url:view': 0.20; 'example': 0.22; 'header:User-Agent:1': 0.23; 'from:addr:chris': 0.24; 'replace': 0.24; 'cheers,': 0.24; 'to:2**1': 0.27; 'testing': 0.29; 'chris': 0.29; "i'm": 0.30; 'code': 0.31; '3.2': 0.31; 'parameters.': 0.31; 'compatible': 0.32; 'worked': 0.33; 'url:python': 0.33; 'announce': 0.33; 'framework': 0.33; 'mac': 0.33; 'created': 0.35; 'method': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'weight': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'how': 0.40; 'easy': 0.60; 'full': 0.61; 'new': 0.61; 'here:': 0.62; 'real': 0.63; 'world': 0.66; 'url:co': 0.67; 'received:93': 0.72; 'mock': 0.84; 'subject:! - ': 0.84; 'email addr:googlegroups.com': 0.95 |
| Date | Wed, 27 Nov 2013 23:43:31 +0000 |
| From | Chris Withers <chris@simplistix.co.uk> |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
| MIME-Version | 1.0 |
| To | Python List <python-list@python.org>, simplistix@googlegroups.com |
| Subject | mush 1.1 released! - Type-based dependency injection for scripts |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3330.1385595821.18130.python-list@python.org> (permalink) |
| Lines | 45 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1385595821 news.xs4all.nl 15980 [2001:888:2000:d::a6]:40671 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:60649 |
Show key headers only | View raw
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
mush 1.1 released! - Type-based dependency injection for scripts Chris Withers <chris@simplistix.co.uk> - 2013-11-27 23:43 +0000
csiph-web