Install MesPy

Install MesPy, check that it works, and choose where to go next. Everything you need to get started, in just a few steps.

Python ≥ 3.12 Open source

01 / Setup

Choose your environment.

MesPy works with your favorite Python workflow. Pick the setup that works best for you.

Google Colab

The quickest way to start.

Open a new notebook and install MesPy by running this cell:

Code cell

%pip install mespy

uv

Recommended for local projects.

uv manages Python, the virtual environment and dependencies for you. Inside a uv project (create one with uv init), add MesPy as a dependency:

Terminal

uv add mespy

Just want to try it without creating a project? Start a temporary Python session with MesPy already available:

Terminal

uv run --with mespy python

Jupyter Notebook

Install into the kernel you are using.

Run the command in a notebook cell:

Code cell

%pip install mespy

pip

The classic route, wherever Python runs.

Install MesPy from the Python Package Index:

Terminal

python -m pip install mespy

Dependencies such as NumPy, pandas and Matplotlib are installed automatically.

02 / First import

Make sure everything works.

Run these lines in a Python session or a notebook cell. If the message appears, MesPy is installed and ready.

Seeing ModuleNotFoundError? MesPy is installed in a different environment: run the same Python, or the same kernel, you installed it with.

Python
Verification code
import mespy

print("MesPy is ready.")
OutputMesPy is ready.

03 / Keep exploring

Continue with examples and the API reference