A repository to follow the current value of different currencies around the globe.
The purpose of this repository it's for study >>ONLY<<.
source venv/bin/activate
pip3 install -r requeriments
The function catch_exchange.run()
must run once a day. You can do this by nonstop running currency_check.py
in your machine or doing a task on your server to run this script preferably at 00:10 am every day:
from time import sleep
from datetime import datetime
import sys
sys.path.append('./Currency-Project')
from catch_exchange import updated
while not updated():
sleep(10*60)
print("UPDATED!")
print(f"date: {datetime.now()}")
To access the site, run python3 app.py
and access in your browser localhost:5000
- Turn it responsive
- Turn it beautiful
- Organize the js files
- Insert login and / use cookies to keep favorite countries (?)
- Insert multilanguage (?)
- Try to catch the localization of the user and them change the "first page"
- Make this repo presentable