lifeweeks
Visualize your life in weeks in either R (shiny) or Python (CLI).
Input your birthday and see how many weeks you have lived and how many weeks you have left (generously assuming a 90-year lifespan). Both the Python and R implementations provide a printable PDF.
Inspired by this post from Tim Urban. "Sometimes life seems really short, and other times it seems impossibly long. But this chart helps to emphasize that it's most certainly finite. Those are your weeks and they're all you've got."
Python
Install with pip:
pip install lifeweeks
lifeweeks --help
Or run without installing using uv/uvx:
uvx lifeweeks --help
Usage: lifeweeks [OPTIONS] BIRTHDAY
Generate a life-in-weeks chart for a given BIRTHDAY.
Birthday should be entered as YYYY-MM-DD.
Example: lifeweeks 1980-02-14
Options:
-o, --output TEXT Output filename (default: lifeweeks.pdf)
-h, --help Show this message and exit.
Example:
lifeweeks 1980-02-14
Result:
R/Shiny
Go to stephenturner.shinyapps.io/lifeweeks or run the app.r app yourself to launch the shiny app. Input your birthday and see how many weeks you have lived and how many weeks you have left. Hit the Download PDF button to save the plot.
Metadata
Release files for lifeweeks 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lifeweeks-0.1.3.tar.gz | 1.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lifeweeks-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / lifeweeks-0.1.3.tar.gz
| Download URL | lifeweeks-0.1.3.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0d97d87db445036c29b47461c0d6f815d48fdb5e081ff7e575f61d772815c1c
|
|
BLAKE2b-256 checksum How to use checksums |
df663b6a9bbd86460af5ebb3df7c310817d31edeb5d67604c0da994a13b98ef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|
Release files / lifeweeks-0.1.3-py3-none-any.whl
| Download URL | lifeweeks-0.1.3-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b9125c4f2c86e6b03c34afbe49dbdfd1bc46698368c3f95dc623095913dfa38
|
|
BLAKE2b-256 checksum How to use checksums |
5d99bbada61c67416c9df7db4cb31c5085c193ad8baa6caaa4ceade0c6e509e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|