This project automates the common postprocessing tasks that are part of running ResStock and ComStock
- Clone the repository
git clone- Install uv globally if you don't already have it installed
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# or via pip
pip install uv
uv --version- Create the uv virtual environment and install dependencies, then activate it
uv python install
# macOS/Linux
source .venv/bin/activate
# Windows
.venv\Scripts\activate- Update the uv dependencies
# (Re-)generate your lockfile from pyproject.toml
uv lock --upgrade
# Create/update your virtualenv and install the dependencies
uv syncuv run pre-commit run --all-filespip install -e .
stock-postproc run --config-file=config.yaml