Python-pmap

Latest version: v2.0.0

Safety actively analyzes 613705 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.2.0

New
- `pvalmap` and `pkeymap` functions to map over the values and keys of a dictionary.

1.1.1

Bugfix
- `pmap` need to start work on thread pool unconditional of `deref` call.

1.1.0

New
- `Future` now takes a `pool` argument to specify a thread pool.
- `Future` now implements `__call__` to allow `Future(f)("foo", k=42)` style to pass additional arguments.
- `Future.deref()` now accepts an optional `timeout` parameter to avoid blocking forever.
- Introduce `Deferred` object to encapsulate deferred results and re-throwing with original traceback.

1.0.3

New
- Keep original traceback when re-throwing errors on realization of `pmap` generator.

1.0.0

New
- Introduce `pmap` function for mapping over collection (lazily) in parallel.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.