1.1 --- a/PKG-INFO Sat Sep 15 01:21:12 2007 +0000
1.2 +++ b/PKG-INFO Sat Sep 15 01:21:20 2007 +0000
1.3 @@ -1,18 +1,18 @@
1.4 Metadata-Version: 1.1
1.5 Name: parallel
1.6 -Version: 0.2.6
1.7 +Version: 0.3
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 -Download-url: http://www.boddie.org.uk/python/downloads/parallel-0.2.6.tar.gz
1.13 +Download-url: http://www.boddie.org.uk/python/downloads/parallel-0.3.tar.gz
1.14 Summary: Elementary parallel programming for Python
1.15 License: LGPL (version 3 or later)
1.16 Description: The pprocess module provides elementary support for parallel
1.17 programming in Python using a fork-based process creation model in
1.18 conjunction with a channel-based communications model implemented
1.19 using socketpair and poll.
1.20 -Keywords: parallel pprocess fork socketpair socket channel
1.21 +Keywords: parallel pprocess fork socketpair socket channel map pmap Queue
1.22 Platform: Any
1.23 Classifier: Development Status :: 3 - Alpha
1.24 Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
2.1 --- a/README.txt Sat Sep 15 01:21:12 2007 +0000
2.2 +++ b/README.txt Sat Sep 15 01:21:20 2007 +0000
2.3 @@ -10,14 +10,31 @@
2.4 Quick Start
2.5 -----------
2.6
2.7 -Try running the simple example:
2.8 +Try running the simple examples:
2.9
2.10 PYTHONPATH=. python examples/simple.py
2.11 +PYTHONPATH=. python examples/simple_create.py
2.12 +PYTHONPATH=. python examples/simple_managed.py
2.13 +PYTHONPATH=. python examples/simple_map.py
2.14 +PYTHONPATH=. python examples/simple_pmap.py
2.15 +PYTHONPATH=. python examples/simple_queue.py
2.16
2.17 (A simple example which shows how a limited number of processes can be used to
2.18 -perform a parallel computation.)
2.19 +perform a parallel computation. The simple_map.py program is a sequential
2.20 +version of the other programs.)
2.21 +
2.22 +The tutorial provides some information about the examples: docs/tutorial.xhtml
2.23 +
2.24 +The PyGmy raytracer modified to use pprocess can be run to investigate the
2.25 +potential for speed increases:
2.26
2.27 -Or studying some elementary tests:
2.28 +cd examples/PyGmy
2.29 +PYTHONPATH=../..:. python scene.py
2.30 +
2.31 +(This should produce a file called test.tif - a TIFF file containing a
2.32 +raytraced scene image.)
2.33 +
2.34 +There are some elementary tests:
2.35
2.36 PYTHONPATH=. python tests/create_loop.py
2.37 PYTHONPATH=. python tests/start_loop.py
2.38 @@ -33,15 +50,6 @@
2.39 fragments can be entered, and matching words and their locations will be
2.40 shown. Run the program without arguments to see more information.)
2.41
2.42 -Some examples are also found in the examples directory, notably the PyGmy
2.43 -raytracer modified to use pprocess:
2.44 -
2.45 -cd examples/PyGmy
2.46 -PYTHONPATH=../..:. python scene.py
2.47 -
2.48 -(This should produce a file called test.tif - a TIFF file containing a
2.49 -raytraced scene image.)
2.50 -
2.51 Contact, Copyright and Licence Information
2.52 ------------------------------------------
2.53
2.54 @@ -63,8 +71,8 @@
2.55 This software depends on standard library features which are stated as being
2.56 available only on "UNIX"; it has only been tested on a GNU/Linux system.
2.57
2.58 -New in parallel 0.2.6 (Changes since parallel 0.2.5)
2.59 -----------------------------------------------------
2.60 +New in parallel 0.3 (Changes since parallel 0.2.5)
2.61 +--------------------------------------------------
2.62
2.63 * Added managed callables: wrappers around callables which cause them to be
2.64 automatically managed by the exchange from which they were acquired.
2.65 @@ -72,7 +80,16 @@
2.66 sends the result of that function over the supplied channel when invoked.
2.67 * Added a Map class which attempts to emulate the built-in map function,
2.68 along with a pmap function using this class.
2.69 + * Added a Queue class which provides a simpler iterator-style interface to
2.70 + data produced by created processes.
2.71 + * Added a create method to the Exchange class and an exit convenience
2.72 + function to the module.
2.73 + * Changed the Exchange implementation to not block when attempting to start
2.74 + new processes beyond the process limit: such requests are queued and
2.75 + performed as running processes are completed. This permits programs using
2.76 + the start method to proceed to consumption of results more quickly.
2.77 * Extended and updated the examples.
2.78 + * Added Ubuntu Feisty (7.04) package support.
2.79
2.80 New in parallel 0.2.5 (Changes since parallel 0.2.4)
2.81 ----------------------------------------------------
2.82 @@ -143,6 +160,10 @@
2.83
2.84 ln -s packages/ubuntu-hoary/python2.4-parallel-pprocess/debian/
2.85
2.86 + Or:
2.87 +
2.88 + ln -s packages/ubuntu-feisty/python-pprocess/debian/
2.89 +
2.90 3. Run the package builder:
2.91
2.92 dpkg-buildpackage -rfakeroot