Install#
sidescanpy needs Python 3.12 or newer. It is pure Python on top of numpy, scipy, pandas, xarray, h5py/h5netcdf, dask and pyproj, all of which ship wheels for the common platforms. The test suite runs on Linux with Python 3.12; other platforms are expected to work but are not yet tested in CI.
Install from PyPI:
pip install "sidescanpy[viz]"
With uv, in a project:
uv add "sidescanpy[viz]"
For unreleased fixes, install from the repository instead:
pip install "sidescanpy[viz] @ git+https://github.com/rshomberg-research/sidescanpy.git@main".
Extras#
The core install converts, corrects, grids, analyzes and exports datasets. Plots, basemaps and GeoTIFF output are optional:
Extra |
Adds |
Needed for |
|---|---|---|
|
matplotlib |
|
|
cartopy |
land and locator basemaps behind georeferenced plots |
|
rioxarray |
|
|
Sphinx, the pydata theme, MyST, numpydoc, sphinx-gallery |
building this site |
|
pytest, ruff |
running the tests and linters |
Combine them in the brackets: sidescanpy[viz,maps,geo]. The maps
extra includes matplotlib, so it implies viz.
Check the install#
python -c "import sidescanpy; print(sidescanpy.__version__)"
sidescan-convert --help
The first line prints the installed version (0.8.0). The second
confirms the command-line tools are on your PATH.
Working on the code#
Clone the repository and let uv build the environment with every extra:
git clone https://github.com/rshomberg-research/sidescanpy.git
cd sidescanpy
uv sync --all-extras
make test
See Contributing for the test, lint and docs commands.
Next: Getting started.