Release 1.0b3 (2026-08-30): Copyright 2026 Paul Leopardi
This guide covers the installation of PyEQSP, the Python Equal Area Sphere Partitioning Library.
- Python 3.11 or later
pip(Python package installer)
The package depends on:
numpyscipymatplotlibpyvista(optional)
Installing PyEQSP via pip automatically installs these dependencies.
We recommend installing and using PyEQSP within a Python virtual environment. A virtual environment isolates project dependencies from your system Python, preventing version conflicts. You can locate the environment anywhere accessible in the file system; it doesn't need to be in the project directory.
To create and activate a virtual environment:
python3 -m venv VENV
source VENV/bin/activateIf you need to use system-installed packages such as PyVista, create
the environment with the --system-site-packages flag instead:
python3 -m venv --system-site-packages VENV_SYS
source VENV_SYS/bin/activateFor details on configuring Qt environment variables and using virtual environments with Jupyter, see the Installation Guide.
If you want to use the latest development version or change the code, install from the source repository.
git clone https://github.com/penguian/pyeqsp.git
cd pyeqspNaming Distinction: While the project name is PyEQSP and you install it via
pip install pyeqsp, you import the package as eqsp.
Activate your virtual environment before running these commands.
To install the package:
pip install .To install with PyVista support:
pip install ".[pyvista]"If you intend to change the code and want changes to take effect immediately without reinstalling:
pip install -e .To also install development tools (ruff, pylint, pytest,
coverage):
pip install -e ".[dev]"
pre-commit installBecause the current PyPI releases of PyEQSP are beta pre-releases, install with the --pre flag (this will not be necessary once a stable 1.0.0+ release is published):
pip install --pre pyeqspTo upgrade an existing installation:
pip install --upgrade --pre pyeqspTo verify the installation, start a Python shell and try importing the package:
import eqsp
print(eqsp.__version__)You can also run the illustration verification script if you have the source code:
python tests/src/inspect_illustrations.pyTo build the HTML documentation locally, ensure you have the
docs dependencies installed:
pip install ".[docs]"
cd doc
make htmlThe rendered documentation will be available in
doc/_build/html/index.html.
To remove the package:
pip uninstall pyeqsp