Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Withers Newsgroups: comp.lang.python Subject: mush 2.0 released! - Type-based dependency injection for scripts Date: Fri, 11 Dec 2015 13:01:44 +0000 Lines: 37 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 7iVfiqmfr5sD+trMtUAFNg0iC70L37khoqYeL2xtzXbg== Return-Path: 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; 'dependency': 0.07; 'from:name:chris withers': 0.07; 'subject:released': 0.07; 'chunks': 0.09; 'from:addr:simplistix.co.uk': 0.09; 'insertion': 0.09; 'message- id:@simplistix.co.uk': 0.09; 'received:server1.simplistix.co.uk': 0.09; 'received:simplistix.co.uk': 0.09; 'scripts,': 0.09; 'python': 0.10; 'callables': 0.16; 'dropping': 0.16; 'labelled': 0.16; 're-write': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'scripts.': 0.16; 'simplistix': 0.16; 'subject:based': 0.16; 'to:name:python list': 0.16; 'url:simplistix': 0.16; 'all,': 0.20; 'to:2**1': 0.21; 'from:addr:chris': 0.22; 'cheers,': 0.22; 'defined': 0.23; 'testing': 0.25; 'header:User-Agent:1': 0.26; 'example': 0.26; 'chris': 0.26; 'compatible': 0.27; 'callable': 0.29; "i'm": 0.30; 'code': 0.30; 'announce': 0.32; 'url:python': 0.33; 'worked': 0.34; 'downloads': 0.35; 'url:org': 0.36; 'framework': 0.36; 'to:addr:python-list': 0.36; 'release': 0.37; 'building': 0.38; 'url:en': 0.39; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'easy': 0.60; 'your': 0.60; 'received:uk': 0.61; 'charset:windows-1252': 0.62; 'here:': 0.63; 'url:co': 0.65; 'subject:! - ': 0.84; 'url:readthedocs': 0.84; 'url:latest': 0.91; 'favour': 0.93; 'email addr:googlegroups.com': 0.95 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100258 Hi All, I'm very happy to announce 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 is a re-write dropping all the heuristic callable ordering in favour of building up defined sequences of callables with labelled insertion points. For a worked example of how to use Mush to reduce the copy'n'paste in your scripts, please see here: http://mush.readthedocs.org/en/latest/examples.html Full docs are here: http://mush.readthedocs.org/ Downloads are here: https://pypi.python.org/pypi/mush Compatible with Python 2.7, 3.3+: https://travis-ci.org/Simplistix/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