Skip to main content

Package for using processes which mimics the threading module

Project description

Package for using processes which mimics the threading module, and allows the sharing of objects between processes. Communication between processes happens via sockets or (on Windows) named pipes and uses digest authentication.

The processing.Process class follows the API of threading.Thread. One can also use a manager to create shared objects. The types supported by default are

Lock, RLock, Condition, Event, Semaphore,
BoundedSemaphore, Queue, list, dict, Namespace.

A manager can be used in the following way:

>>> from processing import Manager
>>> manager = Manager()
>>> l = manager.list(range(10))
>>> l.reverse()
>>> print l
[9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
>>> print repr(l)
<Proxy[list] object at 0x00E1B3B0>

After installation you can run the test scripts by doing either

python -m processing.test

on Python 2.5 or

python -c "from processing.test import main; main()"

on earlier versions. This will run each test script twice: once using processes and once using threads.

See README.txt and doc/index.html in installed the package for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

processing-0.21.zip (73.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

processing-0.21.win32-py2.5.exe (120.5 kB view details)

Uploaded Source

processing-0.21.win32-py2.4.exe (117.5 kB view details)

Uploaded Source

File details

Details for the file processing-0.21.zip.

File metadata

  • Download URL: processing-0.21.zip
  • Upload date:
  • Size: 73.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for processing-0.21.zip
Algorithm Hash digest
SHA256 148b9c147227e84d758485bd3fbe42e6145057ee84851af2a515def6ced7c34e
MD5 b436f3fcffcbda8e9462a880b592b02a
BLAKE2b-256 bb9a454827f813723ce06cacbb8d1246c5fe6c032a61e8ee0cec5b3edcd22ffd

See more details on using hashes here.

File details

Details for the file processing-0.21.win32-py2.5.exe.

File metadata

File hashes

Hashes for processing-0.21.win32-py2.5.exe
Algorithm Hash digest
SHA256 32b28ef6d2badbbaf15fc5a4de1a280aace99703f77066651306d736bbb9463f
MD5 7a5771d7b214d44307688acbb76e2f7c
BLAKE2b-256 ceda9f9ed7dd8120e77ebf5657761423c8729632ddd555eac1a90ad9b9fd2c35

See more details on using hashes here.

File details

Details for the file processing-0.21.win32-py2.4.exe.

File metadata

File hashes

Hashes for processing-0.21.win32-py2.4.exe
Algorithm Hash digest
SHA256 ec8a47fec2b3a31e9fc72ecb1f3c58142da52f30a24dd52945b579147fddd45b
MD5 040611ca07aef8e539d4ecdee9bba7c8
BLAKE2b-256 60d13deeac859f4325649383fafc1831ba43ef56a61f957c8bb295e005137ba5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page