Creates a plot showing your life in weeks
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lifeweeks-0.1.3.tar.gz.
File metadata
- Download URL: lifeweeks-0.1.3.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0d97d87db445036c29b47461c0d6f815d48fdb5e081ff7e575f61d772815c1c
|
|
| MD5 |
f3ed98463de0a47831d3104d11726a9e
|
|
| BLAKE2b-256 |
df663b6a9bbd86460af5ebb3df7c310817d31edeb5d67604c0da994a13b98ef9
|
File details
Details for the file lifeweeks-0.1.3-py3-none-any.whl.
File metadata
- Download URL: lifeweeks-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b9125c4f2c86e6b03c34afbe49dbdfd1bc46698368c3f95dc623095913dfa38
|
|
| MD5 |
8b9dfc0edee6ea8adfbc90ed38c799ca
|
|
| BLAKE2b-256 |
5d99bbada61c67416c9df7db4cb31c5085c193ad8baa6caaa4ceade0c6e509e5
|