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.2.tar.gz (10.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.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for basicparallelize-1.1.2.tar.gz
Algorithm Hash digest
SHA256 b5601dd4853590d042d9fa2cd66a53b0cd496f8e75ca5972051915ee975be415
MD5 a1637011bf0e45c178318ed462f5a7f8
BLAKE2b-256 6a0807293f06c046fd20dee0391f37b16dc94b01d8344e4f4615f59239f60282

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for basicparallelize-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dcefdb455cf6e4615c24fa46c00a412b085b94ad2a3c5f44b22863a5493d953f
MD5 e352a624e990046e5b20c706708356ca
BLAKE2b-256 6e5a2b6024cafe2ab6e5b977677841a06d0acc5dae2ab890fbb9e444591d10ed

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