Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61551
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.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; 'marking': 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; 'wrapper': 0.09; 'python': 0.11; 'bug': 0.12; 'callable': 0.16; 'callables': 0.16; 'chunks': 0.16; 'none.': 0.16; 'parameter.': 0.16; 'received:buzzkill.local': 0.16; 'rough': 0.16; 'scripts.': 0.16; 'simplistix': 0.16; 'singleton': 0.16; 'subject:based': 0.16; 'to:name:python list': 0.16; 'types,': 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; 'cheers,': 0.24; 'to:2**1': 0.27; 'tried': 0.27; 'testing': 0.29; 'chris': 0.29; "i'm": 0.30; 'code': 0.31; '3.2': 0.31; 'fixing': 0.31; 'compatible': 0.32; 'worked': 0.33; 'url:python': 0.33; 'announce': 0.33; 'framework': 0.33; 'mac': 0.33; "can't": 0.35; 'but': 0.35; 'add': 0.35; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'resource': 0.38; 'weight': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'how': 0.40; 'even': 0.60; 'easy': 0.60; 'full': 0.61; 'new': 0.61; 'here:': 0.62; 'real': 0.63; 'more': 0.64; 'world': 0.66; 'url:co': 0.67; 'subject:! - ': 0.84; 'email addr:googlegroups.com': 0.95 |
| Date | Wed, 11 Dec 2013 11:35:37 +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.1 |
| MIME-Version | 1.0 |
| To | Python List <python-list@python.org>, simplistix@googlegroups.com |
| Subject | mush 1.2 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.3884.1386761737.18130.python-list@python.org> (permalink) |
| Lines | 44 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386761737 news.xs4all.nl 2918 [2001:888:2000:d::a6]:60894 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:61551 |
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 some more rough edges after even more real
world use:
- The 'nothing' singleton is now used instead of None for marking
return types, fixing a bug that occurred when a callable tried to
type-map a result that was None.
- Add an after() type wrapper for callables that need to wait
until after a resource is used but that can't accept that resource
as a parameter.
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.2 released! - Type-based dependency injection for scripts Chris Withers <chris@simplistix.co.uk> - 2013-12-11 11:35 +0000
csiph-web