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


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.4.tar.gz (6.9 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.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: basicparallelize-1.0.4.tar.gz
  • Upload date:
  • Size: 6.9 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.4.tar.gz
Algorithm Hash digest
SHA256 3c39d07bb7781a66a6f53ac6128e38dc4612f088ca71e797e6624c128f337d48
MD5 3568b2c3f03cf6c9a538c29ff8d867fb
BLAKE2b-256 a585b776407ca7a579c7b7987301f4285329ef66f483dd197eafd6dca4e3a499

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basicparallelize-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 665daac287aeeaa5155271828eaf996ee41c5ad2f199c05429aa0f79671b2a97
MD5 21c92ed9cafa5344b3b32f50bc40ee0d
BLAKE2b-256 585fc745ea1befa2f0f295014e3add4fffcf05aa308b368dbdf2e7abc9c7a778

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