Skip to content

nicobako/when-exactly

Repository files navigation

When Exactly

An expressive datetime library for Python.

When-Exactly is still a work-in-progress.

Check out the documentation at when-exactly.nicobako.me.

Development

Setup

# windows
py -3.13 -m venv .venv
source .venv/Scripts/activate

# linux
python3.13 -m venv .venv
source .venv/bin/activate

# both
pip install -r requirements.txt
pip install -e .
pre-commit install

Creating requirements

pip install \
  pytest \
  pytest-cov \
  mkdocs \
  pre-commit \
  build \
  twine \

pip freeze > requirements.txt

Testing

pytest .

Documentation

# live-preview
mkdocs serve

# deploy
mkdocs gh-deploy

Build

python -m build
python -m twine upload dist/*

About

Expressive datetime library

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages