Installation¶
SeapoPym uses uv for dependency management and is structured as a monorepo workspace.
Requirements¶
- Python 3.12
- uv package manager
Installing uv¶
If you don't have uv installed, follow the official installation guide:
uv Installation Documentation →
Installing SeapoPym¶
From Source (Recommended)¶
Clone the repository and install:
This installs both seapopym and seapopym-optimization packages in editable mode.
Installing Only Core Package¶
If you only need the core model:
Installing Both Packages¶
To install both core and optimization:
Verifying Installation¶
Test that everything works:
Development Tools¶
For contributing or running tests:
This installs pytest, ruff, mypy, and other development tools.
Documentation¶
To build the documentation locally:
Next Steps¶
Once installed, check out the Quick Start Guide to run your first model!