1.1 --- a/PKG-INFO Fri Jun 05 21:23:25 2009 +0200 1.2 +++ b/PKG-INFO Fri Jun 05 22:33:08 2009 +0200 1.3 @@ -1,19 +1,19 @@ 1.4 Metadata-Version: 1.1 1.5 Name: pprocess 1.6 -Version: 0.4.1 1.7 +Version: 0.5 1.8 Author: Paul Boddie 1.9 Author-email: paul at boddie org uk 1.10 Maintainer: Paul Boddie 1.11 Maintainer-email: paul at boddie org uk 1.12 Home-page: http://www.boddie.org.uk/python/pprocess.html 1.13 -Download-url: http://www.boddie.org.uk/python/downloads/pprocess-0.4.1.tar.gz 1.14 +Download-url: http://www.boddie.org.uk/python/downloads/pprocess-0.5.tar.gz 1.15 Summary: Elementary parallel programming for Python 1.16 License: LGPL (version 3 or later) 1.17 Description: The pprocess module provides elementary support for parallel 1.18 programming in Python using a fork-based process creation model in 1.19 conjunction with a channel-based communications model implemented 1.20 - using socketpair and poll. 1.21 -Keywords: parallel pprocess fork socketpair socket channel map pmap Queue daemon 1.22 + using socketpair (or pipes) and poll. 1.23 +Keywords: parallel pprocess fork socketpair pipe socket channel map pmap Queue daemon 1.24 Platform: Any 1.25 Classifier: Development Status :: 3 - Alpha 1.26 Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
2.1 --- a/README.txt Fri Jun 05 21:23:25 2009 +0200 2.2 +++ b/README.txt Fri Jun 05 22:33:08 2009 +0200 2.3 @@ -162,17 +162,20 @@ 2.4 available only on "UNIX"; it has only been tested repeatedly on a GNU/Linux 2.5 system, and occasionally on systems running OpenSolaris. 2.6 2.7 -New in pprocess 0.4.1 (Changes since pprocess 0.4) 2.8 --------------------------------------------------- 2.9 +New in pprocess 0.5 (Changes since pprocess 0.4) 2.10 +------------------------------------------------ 2.11 2.12 - * Fixed the get_number_of_cores function to work with /proc/cpuinfo where 2.13 - the "physical id" field is missing. 2.14 + * Added proper support in the Exchange class for continuous communications 2.15 + between processes, providing examples: simple_continuous_queue.py and the 2.16 + concurrency-sig directory. 2.17 * Changed the Map class to permit incremental access to received results 2.18 from completed parts of the sequence of inputs, also adding an iteration 2.19 interface. 2.20 * Added an example, simple_pmap_iter.py, to demonstrate iteration over maps. 2.21 - * Added proper support in the Exchange class for continuous communications 2.22 - between processes. 2.23 + * Fixed the get_number_of_cores function to work with /proc/cpuinfo where 2.24 + the "physical id" field is missing. 2.25 + * Tidied the Exchange class, adding distinct status methods: unfinished and 2.26 + busy. 2.27 2.28 New in pprocess 0.4 (Changes since pprocess 0.3.1) 2.29 --------------------------------------------------
3.1 --- a/packages/ubuntu-feisty/python-pprocess/debian/changelog Fri Jun 05 21:23:25 2009 +0200 3.2 +++ b/packages/ubuntu-feisty/python-pprocess/debian/changelog Fri Jun 05 22:33:08 2009 +0200 3.3 @@ -1,14 +1,20 @@ 3.4 -pprocess (0.4.1-0ubuntu1) feisty; urgency=low 3.5 +pprocess (0.5-0ubuntu1) feisty; urgency=low 3.6 3.7 - * Fixed the get_number_of_cores function to work with 3.8 - /proc/cpuinfo where the "physical id" field is missing. 3.9 + * Added proper support in the Exchange class for 3.10 + continuous communications between processes, providing 3.11 + examples: simple_continuous_queue.py and the 3.12 + concurrency-sig directory. 3.13 * Changed the Map class to permit incremental access to 3.14 received results from completed parts of the sequence of 3.15 inputs, also adding an iteration interface. 3.16 * Added an example, simple_pmap_iter.py, to demonstrate 3.17 iteration over maps. 3.18 + * Fixed the get_number_of_cores function to work with 3.19 + /proc/cpuinfo where the "physical id" field is missing. 3.20 + * Tidied the Exchange class, adding distinct status 3.21 + methods: unfinished and busy. 3.22 3.23 - -- Paul Boddie <paul@boddie.org.uk> Thu, 21 May 2009 19:13:47 +0200 3.24 + -- Paul Boddie <paul@boddie.org.uk> Fri, 05 Jun 2009 22:30:21 +0200 3.25 3.26 pprocess (0.4-0ubuntu1) feisty; urgency=low 3.27
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/packages/ubuntu-hardy/python-pprocess/debian/changelog Fri Jun 05 22:33:08 2009 +0200 4.3 @@ -0,0 +1,135 @@ 4.4 +pprocess (0.5-0ubuntu1) hardy; urgency=low 4.5 + 4.6 + * Added proper support in the Exchange class for 4.7 + continuous communications between processes, providing 4.8 + examples: simple_continuous_queue.py and the 4.9 + concurrency-sig directory. 4.10 + * Changed the Map class to permit incremental access to 4.11 + received results from completed parts of the sequence of 4.12 + inputs, also adding an iteration interface. 4.13 + * Added an example, simple_pmap_iter.py, to demonstrate 4.14 + iteration over maps. 4.15 + * Fixed the get_number_of_cores function to work with 4.16 + /proc/cpuinfo where the "physical id" field is missing. 4.17 + * Tidied the Exchange class, adding distinct status 4.18 + methods: unfinished and busy. 4.19 + 4.20 + -- Paul Boddie <paul@boddie.org.uk> Fri, 05 Jun 2009 22:30:21 +0200 4.21 + 4.22 +pprocess (0.4-0ubuntu1) feisty; urgency=low 4.23 + 4.24 + * Added support for persistent/background processes. 4.25 + * Added a utility function to detect and return the number 4.26 + of processor cores available. 4.27 + * Added missing documentation stylesheet. 4.28 + * Added support for Solaris using pipes instead of socket 4.29 + pairs, since the latter do not apparently work properly 4.30 + with poll on Solaris. 4.31 + 4.32 + -- Paul Boddie <paul@boddie.org.uk> Fri, 1 Aug 2008 20:03:18 +0200 4.33 + 4.34 +pprocess (0.3.1-0ubuntu1) feisty; urgency=low 4.35 + 4.36 + * Moved the reference material out of the module docstring 4.37 + and into a separate document, converting it to XHTML in 4.38 + the process. 4.39 + * Fixed the project name in the setup script. 4.40 + 4.41 + -- Paul Boddie <paul@boddie.org.uk> Sat, 24 Nov 2007 01:07:39 +0100 4.42 + 4.43 +pprocess (0.3-0ubuntu1) feisty; urgency=low 4.44 + 4.45 + * Added managed callables: wrappers around callables which 4.46 + cause them to be automatically managed by the exchange 4.47 + from which they were acquired. 4.48 + * Added MakeParallel: a wrapper instantiated around a 4.49 + normal function which sends the result of that function 4.50 + over the supplied channel when invoked. 4.51 + * Added MakeReusable: a wrapper like MakeParallel which 4.52 + can be used in conjunction with the newly-added reuse 4.53 + capability of the Exchange class in order to reuse 4.54 + processes and channels. 4.55 + * Added a Map class which attempts to emulate the built-in 4.56 + map function, along with a pmap function using this 4.57 + class. 4.58 + * Added a Queue class which provides a simpler 4.59 + iterator-style interface to data produced by created 4.60 + processes. 4.61 + * Added a create method to the Exchange class and an exit 4.62 + convenience function to the module. 4.63 + * Changed the Exchange implementation to not block when 4.64 + attempting to start new processes beyond the process 4.65 + limit: such requests are queued and performed as running 4.66 + processes are completed. This permits programs using 4.67 + the start method to proceed to consumption of results 4.68 + more quickly. 4.69 + * Extended and updated the examples. Added a tutorial. 4.70 + * Added Ubuntu Feisty (7.04) package support. 4.71 + 4.72 + -- Paul Boddie <paul@boddie.org.uk> Sun, 16 Sep 2007 20:10:25 +0200 4.73 + 4.74 +parallel-pprocess (0.2.5-0ubuntu1) hoary; urgency=low 4.75 + 4.76 + * Added a start method to the Exchange class for more 4.77 + convenient creation of processes. 4.78 + * Relicensed under the LGPL (version 3 or later) - this 4.79 + also fixes the contradictory situation where the GPL was 4.80 + stated in the pprocess module (which was not, in fact, 4.81 + the intention) and the LGPL was stated in the 4.82 + documentation. 4.83 + 4.84 + -- Paul Boddie <paul@boddie.org.uk> Sun, 8 Jul 2007 00:08:39 +0200 4.85 + 4.86 +parallel-pprocess (0.2.4-0ubuntu1) hoary; urgency=low 4.87 + 4.88 + * Set buffer sizes to zero for the file object wrappers 4.89 + around sockets: this may prevent deadlock issues. 4.90 + 4.91 + -- Paul Boddie <paul@boddie.org.uk> Thu, 29 Mar 2007 01:50:13 +0200 4.92 + 4.93 +parallel-pprocess (0.2.3-0ubuntu1) hoary; urgency=low 4.94 + 4.95 + * Added convenient message exchanges, offering methods 4.96 + handling common situations at the cost of having to 4.97 + define a subclass of Exchange. 4.98 + * Added a simple example of performing a parallel 4.99 + computation. 4.100 + * Improved the PyGmy raytracer example to use the newly 4.101 + added functionality. 4.102 + 4.103 + -- Paul Boddie <paul@boddie.org.uk> Sun, 14 Jan 2007 23:50:54 +0100 4.104 + 4.105 +parallel-pprocess (0.2.2-0ubuntu1) hoary; urgency=low 4.106 + 4.107 + * Changed the status testing in the Exchange class, 4.108 + potentially fixing the premature closure of channels 4.109 + before all data was read. 4.110 + * Fixed the PyGmy raytracer example's process accounting 4.111 + by relying on the possibly more reliable Exchange 4.112 + behaviour, whilst also preventing erroneous creation of 4.113 + "out of bounds" processes. 4.114 + * Added a removed attribute on the Exchange to record 4.115 + which channels were removed in the last call to the 4.116 + ready method. 4.117 + 4.118 + -- Paul Boddie <paul@boddie.org.uk> Sun, 19 Nov 2006 20:35:25 +0100 4.119 + 4.120 +parallel-pprocess (0.2.1-0ubuntu1) hoary; urgency=low 4.121 + 4.122 + * Added a PyGmy raytracer example. 4.123 + * Updated copyright and licensing details (FSF address, 4.124 + additional works). 4.125 + 4.126 + -- Paul Boddie <paul@boddie.org.uk> Sun, 1 Oct 2006 17:46:17 +0200 4.127 + 4.128 +parallel-pprocess (0.2-0ubuntu1) hoary; urgency=low 4.129 + 4.130 + * Changed the parallel module to pprocess. 4.131 + 4.132 + -- Paul Boddie <paul@boddie.org.uk> Tue, 11 Oct 2005 18:50:24 +0200 4.133 + 4.134 +parallel-module (0.1-0ubuntu1) hoary; urgency=low 4.135 + 4.136 + * New upstream release. 4.137 + 4.138 + -- Paul Boddie <paul@boddie.org.uk> Wed, 28 Sep 2005 19:18:47 +0200
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/packages/ubuntu-hardy/python-pprocess/debian/compat Fri Jun 05 22:33:08 2009 +0200 5.3 @@ -0,0 +1,1 @@ 5.4 +5
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/packages/ubuntu-hardy/python-pprocess/debian/control Fri Jun 05 22:33:08 2009 +0200 6.3 @@ -0,0 +1,19 @@ 6.4 +Source: pprocess 6.5 +Section: python 6.6 +Priority: optional 6.7 +Maintainer: Paul Boddie <paul@boddie.org.uk> 6.8 +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-epydoc (>= 2.1-6ubuntu1) 6.9 +XS-Python-Version: all 6.10 +Standards-Version: 3.7.2.1 6.11 + 6.12 +Package: python-pprocess 6.13 +Architecture: all 6.14 +Depends: ${python:Depends} 6.15 +Conflicts: python2.4-parallel-pprocess (<< 0.3-0ubuntu1) 6.16 +Replaces: python2.4-parallel-pprocess (<< 0.3-0ubuntu1) 6.17 +XB-Python-Version: ${python:Versions} 6.18 +Description: Elementary parallel programming for Python 6.19 + The pprocess module provides elementary support for parallel 6.20 + programming in Python using a fork-based process creation model in 6.21 + conjunction with a channel-based communications model implemented 6.22 + using socketpair and poll.
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/packages/ubuntu-hardy/python-pprocess/debian/copyright Fri Jun 05 22:33:08 2009 +0200 7.3 @@ -0,0 +1,60 @@ 7.4 +Package creator: 7.5 + 7.6 + Paul Boddie <paul@boddie.org.uk> 7.7 + 7.8 +The origin of the package is: 7.9 + 7.10 + http://www.python.org/pypi/parallel 7.11 + 7.12 +Package author: 7.13 + 7.14 + Paul Boddie <paul@boddie.org.uk> 7.15 + 7.16 +Copyright: 7.17 + 7.18 +Licence Agreement for parallel/pprocess 7.19 +--------------------------------------- 7.20 + 7.21 +Copyright (C) 2005, 2006, 2007, 2008, 2009 Paul Boddie <paul@boddie.org.uk> 7.22 + 7.23 +This program is free software; you can redistribute it and/or modify it under 7.24 +the terms of the GNU Lesser General Public License as published by the Free 7.25 +Software Foundation; either version 3 of the License, or (at your option) any 7.26 +later version. 7.27 + 7.28 +This program is distributed in the hope that it will be useful, but WITHOUT 7.29 +ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 7.30 +FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 7.31 +details. 7.32 + 7.33 +You should have received a copy of the GNU Lesser General Public License along 7.34 +with this program. If not, see <http://www.gnu.org/licenses/>. 7.35 + 7.36 +Licence Agreement for PyGmy 7.37 +--------------------------- 7.38 + 7.39 +Copyright (C) 2005 Dave Griffiths 7.40 +Copyright (C) 2006 Paul Boddie <paul@boddie.org.uk> 7.41 + 7.42 +This software is free software; you can redistribute it and/or 7.43 +modify it under the terms of the GNU General Public License as 7.44 +published by the Free Software Foundation; either version 2 of 7.45 +the License, or (at your option) any later version. 7.46 + 7.47 +This software is distributed in the hope that it will be useful, 7.48 +but WITHOUT ANY WARRANTY; without even the implied warranty of 7.49 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 7.50 +GNU General Public License for more details. 7.51 + 7.52 +You should have received a copy of the GNU General Public 7.53 +License along with this library; see the file LICENCE.txt 7.54 +If not, write to the Free Software Foundation, Inc., 7.55 +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 7.56 + 7.57 +Notes on the Inclusion of PyGmy 7.58 +------------------------------- 7.59 + 7.60 +PyGmy is included in this distribution of parallel/pprocess as an independent 7.61 +demonstration of the pprocess library's facilities. This distribution is thus 7.62 +considered as an aggregation of the two works, with separate licences 7.63 +governing each work.
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/packages/ubuntu-hardy/python-pprocess/debian/docs Fri Jun 05 22:33:08 2009 +0200 8.3 @@ -0,0 +1,5 @@ 8.4 +README.txt 8.5 +apidocs 8.6 +docs 8.7 +examples 8.8 +tests
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/packages/ubuntu-hardy/python-pprocess/debian/rules Fri Jun 05 22:33:08 2009 +0200 9.3 @@ -0,0 +1,66 @@ 9.4 +#!/usr/bin/make -f 9.5 +# A debian/rules file using python-central. 9.6 + 9.7 +# Uncomment this to turn on verbose mode. 9.8 +#export DH_VERBOSE=1 9.9 + 9.10 +export DH_COMPAT=5 9.11 + 9.12 +PYVERS=$(shell pyversions -vr) 9.13 + 9.14 +build: build-stamp 9.15 + 9.16 +build-stamp: $(PYVERS:%=build-python%) build-python-scripts 9.17 + touch $@ 9.18 + 9.19 +build-python%: 9.20 + python$* setup.py build_py 9.21 + touch $@ 9.22 + 9.23 +build-python-scripts: 9.24 + #python setup.py build_scripts 9.25 + #touch $@ 9.26 + 9.27 +clean: 9.28 + dh_testdir 9.29 + dh_testroot 9.30 + rm -f *-stamp 9.31 + rm -rf build 9.32 + find . -name '*.py[co]' | xargs rm -f 9.33 + dh_clean 9.34 + 9.35 +install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts 9.36 + # Script fixing would appear here. 9.37 + 9.38 +install-prereq: 9.39 + dh_testdir 9.40 + dh_testroot 9.41 + dh_clean -k 9.42 + 9.43 +install-python%: 9.44 + python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-pprocess/usr/lib/python$*/site-packages 9.45 + 9.46 +install-python-scripts: 9.47 + #python setup.py install_scripts --install-dir $(CURDIR)/debian/python-pprocess/usr/bin 9.48 + 9.49 +# Build architecture-independent files here. 9.50 + 9.51 +binary-indep: install 9.52 + tools/apidocs.sh 9.53 + dh_testdir -i 9.54 + dh_testroot -i 9.55 + dh_pycentral -i 9.56 + dh_installdocs -i 9.57 + dh_fixperms -i 9.58 + dh_installdeb -i 9.59 + dh_gencontrol -i 9.60 + dh_md5sums -i 9.61 + dh_builddeb -i 9.62 + 9.63 +# Build architecture-dependent files here. 9.64 + 9.65 +binary-arch: 9.66 + # Empty rule for this package. 9.67 + 9.68 +binary: binary-indep binary-arch 9.69 +.PHONY: build clean binary-arch binary-indep binary install
10.1 --- a/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/changelog Fri Jun 05 21:23:25 2009 +0200 10.2 +++ b/packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/changelog Fri Jun 05 22:33:08 2009 +0200 10.3 @@ -1,14 +1,20 @@ 10.4 -parallel-pprocess (0.4.1-0ubuntu1) hoary; urgency=low 10.5 +parallel-pprocess (0.5-0ubuntu1) hoary; urgency=low 10.6 10.7 - * Fixed the get_number_of_cores function to work with 10.8 - /proc/cpuinfo where the "physical id" field is missing. 10.9 + * Added proper support in the Exchange class for 10.10 + continuous communications between processes, providing 10.11 + examples: simple_continuous_queue.py and the 10.12 + concurrency-sig directory. 10.13 * Changed the Map class to permit incremental access to 10.14 received results from completed parts of the sequence of 10.15 inputs, also adding an iteration interface. 10.16 * Added an example, simple_pmap_iter.py, to demonstrate 10.17 iteration over maps. 10.18 + * Fixed the get_number_of_cores function to work with 10.19 + /proc/cpuinfo where the "physical id" field is missing. 10.20 + * Tidied the Exchange class, adding distinct status 10.21 + methods: unfinished and busy. 10.22 10.23 - -- Paul Boddie <paul@boddie.org.uk> Thu, 21 May 2009 19:13:32 +0200 10.24 + -- Paul Boddie <paul@boddie.org.uk> Fri, 05 Jun 2009 22:28:53 +0200 10.25 10.26 parallel-pprocess (0.4-0ubuntu1) hoary; urgency=low 10.27
11.1 --- a/pprocess.py Fri Jun 05 21:23:25 2009 +0200 11.2 +++ b/pprocess.py Fri Jun 05 22:33:08 2009 +0200 11.3 @@ -20,7 +20,7 @@ 11.4 with this program. If not, see <http://www.gnu.org/licenses/>. 11.5 """ 11.6 11.7 -__version__ = "0.4.1" 11.8 +__version__ = "0.5" 11.9 11.10 import os 11.11 import sys
12.1 --- a/setup.py Fri Jun 05 21:23:25 2009 +0200 12.2 +++ b/setup.py Fri Jun 05 22:33:08 2009 +0200 12.3 @@ -8,6 +8,6 @@ 12.4 author = "Paul Boddie", 12.5 author_email = "paul@boddie.org.uk", 12.6 url = "http://www.boddie.org.uk/python/pprocess.html", 12.7 - version = "0.4.1", 12.8 + version = "0.5", 12.9 py_modules = ["pprocess"] 12.10 )