yesterday is a tiny Python CLI tool that tells you what day was yesterday. Nothing more. Nothing less.
It handles all the hard work of going back in time by exactly one day — so you don’t have to.
Built with zero dependencies, just pure Python and a mild sense of humor.
- steps/1-boilerplate – Basic project boilerplate
- steps/2-add-uv – Added
uvfor packaging and dependency management - steps/3-publish-config – Added PyPI publishing configuration
- steps/4-automatic-versioning – Enabled automatic versioning
- steps/5-github-action – Set up GitHub Action for automated publishing
$ yesterday --help
usage: yesterday [-h] [-d] [-q]
Tell you what day was yesterday.
options:
-h, --help show this help message and exit
-d, --date print yesterday's full date
-q, --quiet just output the date, no text$ yesterday
Yesterday was Friday.
$ yesterday --date
Yesterday was 2025-04-11.
$ yesterday --quiet --date
2025-04-11