Installation¶
ProcessPI can be installed from PyPI, set up in a development environment, or used directly in Jupyter Notebooks and Google Colab.
📦 Install from PyPI¶
The simplest way to install ProcessPI:
pip install processpi
¶
pip install processpi
🛠 Development Setup¶
If you want to work on the source code:
git clone https://github.com/varma666/ProcessPi.git
cd ProcessPi
pip install -e .
¶
git clone https://github.com/varma666/ProcessPi.git
cd ProcessPi
pip install -e .
🐍 Using a Virtual Environment (Recommended)¶
To avoid conflicts with other Python packages, use a virtual environment.
Create and activate with venv:
python -m venv .venv
source .venv/bin/activate # Linux / macOS
.venv\Scripts\activate # Windows
pip install processpi
¶
pip install processpi
📓 Using in Jupyter Notebook¶
ProcessPI works inside Jupyter Notebooks. First, install Jupyter:
pip install jupyter
jupyter notebook
from processpi.units import Length, Pressure
print(Length(1, "m").to("ft"))
¶
from processpi.units import Length, Pressure
print(Length(1, "m").to("ft"))
🌐 Using in Google Colab¶
You can use ProcessPI directly in Colab notebooks.
At the top of your Colab notebook, run:
!pip install processpi
Then import as usual:
from processpi.components import Water
print(Water().density())
✅ Verification¶
After installation, verify ProcessPI is available:
import processpi
print("ProcessPI version:", processpi.__version__)