An expressive datetime library for Python.
When-Exactly is still a work-in-progress.
Check out the documentation at when-exactly.nicobako.me.
Instructions for setting up the dev environment.
uv sync --all-groups
uv run pre-commit installAll linting and static analysis is run by pre-commit.
uv run pre-commit run --all-filesUse pytest.
uv run pytest .Documentation is built using mkdocs.
# live-preview
uv run mkdocs serve
# deploy
uv run mkdocs gh-deploydeploy () {
set -e # Exit immediately if a command exits with a non-zero status
version=$1
# run tests and static analysis
uv run pre-commit run --all-files
uv run pytest .
# build
uv run mkdocs gh-deploy --strict
uv build
# tag and deploy
uv version "$version"
git commit -am "Version $verion"
git tag -a "$version" -m "$version"
git push --all
uvx uv-publish@latest
}