Easily calculate the money you spend in your life,more than 100 years old.
Please prepare a normal py3.10 environment.
apt-get install python
json file can be edited by web. run the following command.
python flask_app.py
and,open the following url in your browser.
http://localhost:5000/
Web sit settings
run the following command. make the .po file.[!NOTE]
for example: msgid "Life Configuration" msgstr "Life Configuration" translatie it.
pybabel extract -F babel.cfg -o messages.pot .
pybabel init -i messages.pot -d translations -l en
run the following command. make the .mo file.
pybabel compile -d translations
setting the config.json
{
"language": "en", // Language
"currency": "USD", // Currency
"mark": "$", // Currency Symbol
"bank_rate": 1.2, // Bank interest rate
"initial_balance": 50000000, // Initial funding
"base_year": 2024, // the year start to calculate
"years":0, // how many years to calculate
"target_year": 2084, // the year end to calculate
"inflate_rate": 4.48, // Inflation Rate
"birth_year": 1983, // birthday
"retirement_age": 65, // retirement age
"cost": {
"monthly": {
"fixed": {
"house_fee" :1000,// house_fee
"eng_water_fee" : 50, // water fee
"eng_electricity_fee" : 200, // electricity fee
"eng_gas_fee": 50,// gas fee
"eng_network_fee" : 200, // network fee
"phone_fee" : 200, // phone fee
"insurance_fee" : 4000 // insurance fee
},
"variable": {
"traffic_fee" : 800, // traffic fee
"food_fee" : 3000, // food fee
"shopping_fee": 3000,// shopping fee
"travelling_fee" : 5000,// travelling fee
"vip_fee" : 400// vip fee
}
},
"annual": {
}
}
}
The monthly.fixed and monthly.variable settings are,
set according to your own needs.
You can add or remove additional items.
When you are done with the settings, run the following command.
python life.py path/to/config.json
When you use windows, run the following command.
.\life.exe "path/to/config.json"
..
..
- haruka.moe - Initial work - Jinsei Cyorokatta
The license for this project is GPL v3.0 - LICENSE.md
- inspiration
- others