Skip to main content

Wrappers for multiprocessing's Pool and ThreadPool classes.

Project description

basicParallelize: A Basic Wrapper for Multiprocessing


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.0.2.tar.gz (5.0 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.0.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for basicparallelize-1.0.2.tar.gz
Algorithm Hash digest
SHA256 016331d38745f9b3ae610b8cd0a4e53da1b56d9da858f4cf19b996d93769c443
MD5 b82bd81945b3e9fae85804f1eae85f83
BLAKE2b-256 26008bd8ac3b6fe4920ddc844953e2ddd95a00c0fa1de5eab775703ddae7fdd2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basicparallelize-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ff8ee7d3d053c4a1719d6edda97228662b161bc7b0e6500579569500a3e8e7b
MD5 6081f981d80200c922987e08a5ec7b16
BLAKE2b-256 d0c7dbad1cfc308c9b36396026d3e7e2076d3b286d2b4725b8824c3cebcab559

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