Open OhmSpectator opened 1 year ago
Keep the date ranges in a DB. So later it would be easier to switch to per user session interface.
Take a look at SQLAlchemy
Save the credential for DB in .env file. See python-dotenv package.
If I use Flask, I can use flask_sqlalchemy extension. It also provides a way to configure the db connection.
Keep the date ranges in a DB. So later it would be easier to switch to per user session interface.