A simple single-file script that generates a grid that represents your lifetime based on your birthday and expected lifespan.
Keep in mind that each row aligns to the provided birthday, not on January 1.
- Install
uv:
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (Powershell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"- Download the script using:
# curl
curl -L -o thegrid.py https://raw.githubusercontent.com/dnlzrgz/thegrid/refs/heads/master/thegrid.py
# wget
wget -O thegrid.py https://raw.githubusercontent.com/dnlzrgz/thegrid/refs/heads/master/thegrid.py- Run:
uv run thegrid.py --birthday 1991-02-20- To see all the available options:
uv run thegrid.py --helpI was watching a video about "the grid" (Le temps qu'il vous reste (à vivre) - DBY #88) and I liked the concept, so I decided that it would be fun to build a small CLI that generates said grid.
I originally wanted to publish this project on pypi, but a naming conflict blocked the publication, so I decided to convert it into a single-file script to avoid the hassle.