Skip to main content

Wrappers for multiprocessing's Pool and ThreadPool classes.

Project description

basicParallelize: A Basic Wrapper for Multiprocessing

pypi Supported Python Versions PyPI Downloads License Tests Status Coverage Status Nox


basicParallelize is designed to provide a user friendly wrapper for Python's multiprocessing library, including support for progress bars from tqdm.

    # Wrapper for multiprocessing.pool.ThreadPool
    from basicParallelize import multiThread
    output = multiThread(function, parameters)
    # Wrapper for multiprocessing.Pool
    from basicParallelize import parallelProcess
    output = multiProcess(function, parameters)

Both core functions can be run with a built in progress bars by instead using multiThreadTQDM or parallelProcessTQDM respectively.

Installation


A recent version of Python 3 (3.8 or above) is required. You can probably run it or easily adapt it for older versions of Python, but I don't support any end-of-life Python versions. Beyond that, the only dependency is the tqdm library.

Latest stable version on PyPi

pip install basicParallelize

Latest stable version on GitHub

pip install git+https://github.com/jBeale23/parallelize.git@stable

Latest development version on GitHub

pip install git+https://github.com/jBeale23/parallelize.git@dev

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

basicparallelize-1.1.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

basicparallelize-1.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file basicparallelize-1.1.0.tar.gz.

File metadata

  • Download URL: basicparallelize-1.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for basicparallelize-1.1.0.tar.gz
Algorithm Hash digest
SHA256 954b596430b82cd2b3a1699b3f2c71f671b9631317e5845a4f0c8a72271fe6f3
MD5 744faeb7d0908069a344897fee71ab95
BLAKE2b-256 c134c8498b90ee48e468586cc2d8cdd854bfd718ca62ab1747772369895b326c

See more details on using hashes here.

File details

Details for the file basicparallelize-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for basicparallelize-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8007751019509a9e5754ac4cbad5d9b74139500aeb3517dd74a8c20522a3183
MD5 4d3e6d45912fd437b306ee822ec573f8
BLAKE2b-256 66bda348005d1954b92964ddf9a7cc4888536dee8f6a4cef4065e4f8b1afe1b3

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