Skip to main content

Automatically choose between threads and processes for parallel execution

Project description

smart-parallel

Auto-optimized parallel execution for Python.

Usage

from smart_parallel import smart_map

def work(x): return x * x

results = smart_map(work, range(1000))

Optional: execute sample profiling (off by default to avoid duplicate side effects)

results = smart_map(work, range(1000), profile=True)

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

smart_parallel-0.1.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

smart_parallel-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file smart_parallel-0.1.0.tar.gz.

File metadata

  • Download URL: smart_parallel-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for smart_parallel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d59f6c5ff34b06f4633faa037410c0c0e53c1f30103e6ab7d5ac84968e1e29a1
MD5 c5f8d796b2e6a158b0140a23937b2d1f
BLAKE2b-256 be90cea3d158aba32a391def396e6739926537ed5dc54a3d6fefcce5de0516a6

See more details on using hashes here.

File details

Details for the file smart_parallel-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: smart_parallel-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for smart_parallel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae99f6ec86dda3b0ff5af760936df6bf699d4e933e0f017b6a61662f2c988c21
MD5 86f65b65c9728d0d762af1d7a8a80b6c
BLAKE2b-256 ef4c79d64bea690e9b247761c832a2ba6b669919623243e00ff30a35d7fda8b9

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