ppft is a friendly fork of Parallel Python (pp), designed to provide distributed and parallel Python capabilities on Symmetric Multi-Processing (SMP) systems and clusters. It offers an easier installation process and enhanced serialization through the optional `dill` library. Currently at version 1.7.8, ppft maintains an active development and release cadence, with recent updates focused on Python 3 compatibility and dropping support for older Python versions.
pip install ppftVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to create a local `pp.Server`, submit a simple function for parallel execution, and collect the results. The server automatically manages worker processes.
Upgrade your Python environment to 3.9 or higher. For future compatibility, target Python 3.10+.
Before installing ppft, uninstall any existing 'pp' installations: `pip uninstall pp`.
Install ppft using `pip install ppft[dill]` to include the `dill` library for improved serialization.
Use `import pp` to access the library's functionalities. For example, `job_server = pp.Server()`.
Ensure ppft is installed in your active Python environment using `pip install ppft`. If you have the original 'Parallel Python' (pp) library installed, uninstall it first (`pip uninstall pp`) to avoid conflicts, then install `ppft`.
Ensure your Python version meets ppft's requirements (version 1.7.8 requires Python >=3.9; newer versions may require >=3.10). If the issue persists, consider installing ppft with the optional 'dill' dependency (`pip install ppft[dill]`) for enhanced serialization, as dill can handle more complex Python objects than the default pickle module.
Install ppft with the optional `dill` dependency using `pip install ppft[dill]`. `dill` provides enhanced serialization capabilities that can handle a wider range of Python objects and functions, resolving many pickling issues.