https://github.com/tmitzka/memento-mori
Displays information on life expectancy as a reminder of our mortality.
https://github.com/tmitzka/memento-mori
memento-mori mortality python relativedelta
Last synced: 10 days ago
JSON representation
Displays information on life expectancy as a reminder of our mortality.
- Host: GitHub
- URL: https://github.com/tmitzka/memento-mori
- Owner: tmitzka
- License: mit
- Created: 2023-04-08T12:26:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-10T20:56:00.000Z (over 2 years ago)
- Last Synced: 2026-06-08T23:38:43.795Z (10 days ago)
- Topics: memento-mori, mortality, python, relativedelta
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# memento-mori
This program takes the user's date of birth and displays a message about time
and mortality.
The average life expectancy in Europe and the USA is about 80 years. If you
want the program to calculate with a different life expectancy, change the
constant *LIFE_EXPECTANCY*.
## Dependencies
The program requires Python 3.6+ and the module *dateutil*, which is not
included in the standard library and can be installed using *pip*:
`pip install python-dateutil`
## Web app
Using *Streamlit*, I created a web app based on this program. [Try it
here](https://memento-mori.streamlit.app/) or take a look at the
[repository](https://github.com/tmitzka2/memento-mori).
## About Memento mori
*Memento mori* is a Latin phrase that translates to "remember that you will
die." It is a reminder that death is inevitable, which is why we shouldn't take
life for granted. It's easy to forget this in everyday life.
For centuries, philosophers have contemplated death and its meaning for our
lives. You can find more information about "Memento mori" on
[Wikipedia](https://en.wikipedia.org/wiki/Memento_mori).
> It is not death that a man should fear, but rather he should fear never
> beginning to live.
*— Marcus Aurelius, Roman emperor and Stoic philosopher*