Installation
ProcessPI is a Python toolkit for process modeling, simulation, and analysis.
It allows engineers to design and simulate pipelines, equipment, and networks with real-world accuracy.
We recommend Google Colab for new users because it provides a zero-setup environment, comes pre-installed with common Python packages, and allows you to run simulations instantly without installing anything locally.
-
Google Colab (Recommended)
Google Colab provides a cloud-based Python environment. You can try ProcessPI without worrying about local installations or dependencies.
Install and import in Colab:Recommended for beginners, testing examples, and sharing notebooks easily.!pip install processpi from processpi.components import Water print(Water().density()) -
Install from PyPI
Quickest method for installing ProcessPI in your local Python environment. Works for most users:Best for running scripts locally without cloning the source.pip install processpi -
Development Setup
If you want to contribute or customize ProcessPI, clone the repository and install in editable mode:Allows live editing of code and testing changes immediately.git clone https://github.com/varma666/ProcessPi.git cd ProcessPi pip install -e . -
Using a Virtual Environment (Recommended for Local Setup)
Protect your system Python and avoid dependency conflicts:Recommended for stable development and isolating projects.python -m venv .venv # Linux / macOS source .venv/bin/activate # Windows .venv\Scripts\activate pip install processpi -
Using in Jupyter Notebook
Jupyter Notebook allows interactive simulations. Install Jupyter if not available:Then import ProcessPI:pip install jupyter jupyter notebookIdeal for step-by-step examples, tutorials, and exploring features.from processpi.units import Length, Pressure print(Length(1, "m").to("ft")) -
Verification
Ensure ProcessPI is installed correctly:Confirms your environment is ready to run simulations.import processpi print("ProcessPI version:", processpi.__version__)