Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'output': 0.04; 'url:bitbucket': 0.05; '(using': 0.07; 'referring': 0.07; 'subject:ANN': 0.07; 'subject:released': 0.07; 'python': 0.09; 'experimental': 0.09; 'output,': 0.09; 'page)': 0.09; 'python:': 0.09; 'separately': 0.09; 'tab': 0.09; 'times,': 0.13; '(the': 0.15; '(like': 0.15; 'cases': 0.15; 'component': 0.15; 'intended,': 0.16; 'name).': 0.16; 'pipe,': 0.16; 'pipes': 0.16; 'run.': 0.16; 'simulate': 0.16; 'subject: \n ': 0.16; 'subject:run': 0.16; 'syntax,': 0.16; 'vasudev': 0.16; 'mathematical': 0.17; 'package.': 0.17; 'module': 0.19; 'versions': 0.20; 'changes': 0.20; 'earlier': 0.21; 'lets': 0.22; 'pipe': 0.22; 'runs': 0.22; "i've": 0.23; 'downloaded': 0.24; 'feature': 0.24; 'header:User-Agent:1': 0.26; 'separate': 0.27; 'components': 0.27; 'execution': 0.27; 'decide': 0.28; 'run': 0.28; 'post': 0.28; 'faster,': 0.29; 'class': 0.29; 'this.': 0.29; "i'm": 0.29; 'e.g.': 0.30; 'url:2012': 0.30; 'sense': 0.31; 'file': 0.32; 'running': 0.32; 'ram': 0.33; '(with': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'next': 0.35; 'really': 0.36; 'tool': 0.36; 'but': 0.36; 'url:org': 0.36; 'test': 0.36; 'does': 0.37; 'url:in': 0.37; 'two': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'shows': 0.38; 'where': 0.40; 'your': 0.60; 'save': 0.61; 'here:': 0.62; 'time,': 0.62; 'different': 0.63; 'more': 0.63; 'url:blogspot': 0.64; 'results': 0.65; 'url:10': 0.65; 'positions': 0.68; 'to:addr :comp-lang-python-announce': 0.70; 'to:addr:moderators.isc.org': 0.79; '(*),': 0.84; '(click': 0.84; 'experiment': 0.84; 'pipeline': 0.84; 'subject:; ': 0.91 Delivered-To: comp-lang-python-announce@moderators.isc.org Newsgroups: comp.lang.python.announce Date: Wed, 17 Oct 2012 12:24:20 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=49.249.142.164; posting-account=9tO8owkAAAA3FGTpR0gRxfE7SAV9In1Y User-Agent: G2/1.0 MIME-Version: 1.0 Subject: ANN: v0.3 of pipe_controller released; supports swapping pipe components at run time From: vasudevram Injection-Date: Wed, 17 Oct 2012 19:24:21 +0000 To: comp-lang-python-announce@moderators.isc.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 18 Oct 2012 16:15:52 +0200 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Message-ID: Lines: 53 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1350569755 news.xs4all.nl 6881 [2001:888:2000:d::a6]:58524 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:728 I've released v0.3 of pipe_controller (*), my experimental tool to simulate= pipes in Python: https://bitbucket.org/vasudevram/pipe_controller (*) I had earlier been calling it PipeController, but that is the name of t= he main class in the package. From now on I'm referring to it as pipe_contr= oller (the Python module name). Changes in v0.3:=20 - you can now swap components of a pipe_controller pipe at run time, and it= can separately save the results of running the pipe, before and after a co= mponent swap, to separate output files; the test program test_pipe_controll= er_04.py in the download package shows how to do this. That is, you can do something like this (using UNIX syntax, though pipe_con= troller is in Python and works differently): foo | bar | baz # with output going to file 1 then swap the positions of foo and baz, then run the pipe again: baz | bar | foo # with output going to file 2 and so on - any number of times, all in the same program run. This feature lets you experiment with, and validate, your pipeline logic, t= o make sure that it does what you intended, e.g. you can check the output b= oth before and after swapping components of the pipe, to decide which order= you really need - or which order is optimal - see next paragraph. The feature can also be used to time the execution of two or more different= versions of the pipeline (with vs. without swapping of components), to see= which runs faster, for cases where changing the order of those components= makes no difference to the output, e.g. if those two components are commut= ative, in the mathematical sense (like a + b =3D b + a). Blog post about swapping pipe components at run time with pipe_controller: http://jugad2.blogspot.in/2012/10/swapping-pipe-components-at-runtime.html pipe_controller v0.3 can be downloaded here:=20 https://bitbucket.org/vasudevram/pipe_controller/downloads (Click on the "Branches" tab on that page) - Vasudev Ram=20 www.dancingbison.com=20 jugad2.blogspot.com=20 twitter.com/vasudevram=20