ppft
distributed and parallel Python
What it is and what it does
ppft is a fork of Parallel Python that brings the original package into modern Python with pip and setuptools support and enhanced serialization. It provides a job-server model for parallel execution: you create a Server, submit functions with their arguments and dependencies, and retrieve results asynchronously. Internally, ppft uses separate processes and inter-process communication to work around Python's Global Interpreter Lock, enabling true parallelism on multi-core systems and across networked computers.
The package handles the complexity of process management, load balancing, and fault tolerance automatically. Jobs can run locally on detected processor cores, on remote nodes via ppserver daemons, or both with dynamic load balancing. It supports function serialization by source code extraction, automatic processor detection, SHA-based network authentication, and statistics reporting on job execution.
Use it for:
- Distribute CPU-intensive computations across multiple cores on a single machine without threading bottlenecks.
- Execute long-running tasks on remote cluster nodes and retrieve results from a local client.
- Run data analysis or scientific calculations in parallel with automatic load balancing across heterogeneous hardware.
- Scale batch processing jobs across a network of computers with fault tolerance and dynamic resource allocation.
- Parallelize embarrassingly parallel workloads with minimal code changes.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
ppft executes Python functions in parallel across multiple processors or networked computers, bypassing the GIL by using separate processes and inter-process communication.
Yes, if you need straightforward job-based parallelism for CPU-bound Python code across multiple cores or machines. The low install friction, active maintenance, permissive license, and no runtime dependencies make it a practical choice. Consider it especially if you want to avoid the complexity of other frameworks or if you need both local and remote execution in one model. Not necessary if you're already using other multiprocessing libraries that fit your use case.
Install
ppft on PyPI
pip
pip install ppftuv
uv add ppftpoetry
poetry add ppftInstalling ppft
Before you install
Low friction installation via pip with no runtime dependencies. Actively maintained with recent commits and a stable release history since 2015.
License in practice
BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and disclaimer.
Quickstart
pip install ppft
import ppft as pp
import math
job_server = pp.Server()
f1 = job_server.submit(math.sin, (math.pi/2,), (), ('math',))
result = f1()
job_server.print_stats()
Requires Python >=3.9; if Parallel Python is already installed, uninstall it first to avoid import conflicts.
Verify before relying
- Whether enhanced serialization using dill.source is automatic or requires explicit opt-in beyond installing ppft[dill]
- Performance characteristics and overhead compared to other multiprocessing frameworks for typical workloads
- Network security details beyond SHA-based authentication mentioned in the description
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 207 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 17,937,089/month — #1,097 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ppft-1.7.8-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
distributedDistributed provides a scheduler and runtime…
permissive · top 5,000 on PyPI
jobflowJobflow is a Python library for defining and…
permissive · top 15,000 on PyPI
ipyparallelManages clusters of IPython processes for…
permissive · top 15,000 on PyPI
ClusterShellClusterShell is a Python framework for running…
copyleft · top 15,000 on PyPI
Pyro4Pyro4 enables Python objects to communicate…
permissive · top 15,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
aiomultiprocessCombines AsyncIO and multiprocessing to run…
permissive · top 5,000 on PyPI
openjd-sessionsProvides a runtime library for executing Open…
permissive · top 15,000 on PyPI
python-jenkinsPython wrapper for the Jenkins REST API that…
permissive · top 5,000 on PyPI