Metadata-Version: 2.4
Name: spirez
Version: 0.2.0
Summary: Slay the Spire 2 run statistics.
Author: m09
Author-email: m09 <142691+m09@users.noreply.github.com>
License-Expression: Apache-2.0
License-File: LICENSE
Requires-Python: >=3.13
Description-Content-Type: text/markdown

# `spirez`

Slay the Spire 2 run statistics.

`spirez` prints the solo win rate of each character, read from the run history
of the first profile of the Linux Steam version. It keeps the runs of ascension
10, or of another level with `spirez --ascension LEVEL`, and prints the standard
and dread game modes separately, or other modes with `spirez --mode MODE...`.

## Development

`uv sync`, then `uv run doit install_hooks`: every commit runs `doit check test`
(ruff, pyrefly, pytest) through prek. There is no CI.

## Releasing

1. `uv run bumpver update --minor` (or `--patch`, `--major`): bumps, commits, tags
   and pushes.
2. `uv run doit publish`: builds and uploads to PyPI with the token of
   `creds.env`, a gitignored file at the repository's root holding one line,
   `export UV_PUBLISH_TOKEN=pypi-...`, readable by you only (`chmod 400`).
