Skip to main content

Thread/process pool parallel execution utilities

Project description

scitex-parallel

PyPI Python Tests Install Test Coverage Docs License: AGPL v3

Thread/process pool parallel execution utilities for the SciTeX ecosystem.

Problem and Solution

# Problem Solution
1 concurrent.futures is low-level -- users rewrite "map-with-progress-bar" every project stx.parallel.run(func, args) -- drop-in map with tqdm, auto CPU-count; 1-liner for I/O-bound workloads (HTTP, file reads, API calls)
2 joblib.Parallel is heavyweight + process-based by default -- overkill for threaded I/O Thread-based, no dep beyond stdlib + tqdm -- right tool for the 80% case

Installation

pip install scitex-parallel

Usage

from scitex_parallel import run

results = run(my_func, items, n_jobs=4)

License

AGPL-3.0

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

scitex_parallel-0.1.5.tar.gz (25.2 kB view details)

Uploaded Source

Built Distribution

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

scitex_parallel-0.1.5-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file scitex_parallel-0.1.5.tar.gz.

File metadata

  • Download URL: scitex_parallel-0.1.5.tar.gz
  • Upload date:
  • Size: 25.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_parallel-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5f831e1619295eb14e6f6cf3e4544c65345626db2c658eefbfd359c9bd826b00
MD5 b4ecb14b264b4104d8250950cd1d24e3
BLAKE2b-256 fd28daac6b8390c11077320b54e73d246b98e8c78a823e6d088930599789f287

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_parallel-0.1.5.tar.gz:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-parallel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scitex_parallel-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: scitex_parallel-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scitex_parallel-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 75f46926d3f88d0e99d3a910cb95db70db3582c4d8bd9654373a8cf8cae41ccf
MD5 29011c60568d3da19ec9b7bc0790ca31
BLAKE2b-256 54e006a4ce1d1bd8b9f7662fcfde415eacc1c029ba46aee60e4ab30623b68382

See more details on using hashes here.

Provenance

The following attestation bundles were made for scitex_parallel-0.1.5-py3-none-any.whl:

Publisher: publish-pypi.yml on ywatanabe1989/scitex-parallel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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