Installation¶
From PyPI¶
The recommended way to install ChebPy:
pip install chebfun
From Source¶
Clone the repository and install in development mode:
git clone https://github.com/chebpy/chebpy.git
cd chebpy
make install
This uses uv to:
- Install the correct Python version (specified in
.python-version) - Create a virtual environment
- Install all project dependencies
Requirements¶
- Python >= 3.11
- NumPy >= 2.4.1
- Matplotlib >= 3.10.0
Development additionally requires ruff, pytest, marimo, and other tools
managed automatically by make install.
Verifying the Installation¶
make test
Or in a Python session:
import chebpy
print(chebpy.__version__)