Using the (awesome) Python [Flask framework](http://flask.pocoo.org/), I'm building a website, for which I have 3 "constants" which change every morning (so my constants are not very constant, I know, but still). I need these constants in pretty much every call to the webserver (both page and API requests) so I want the retrieval of these constants to be very efficient. 

I guess the most efficient way to define these constants is to manually set them in the code every morning. But since I'm lazy, and the idea behind programming is to automate things, I see no reason to handle this differently. That's why I thought of 3 different ways;

1. Store the constants in a DB (I'm using Postgres for my website)
2. Store the constants in a little file which I load in.
3. Store the constants in a more speed optimised key value store, such as [Redis](http://redis.io/)

but:

1. Storing them in my postgres DB is of course easy, but creating a full seperate table for 3 single records which I'm going to overwrite every day doesn't really seem logical.
2. Opening a file for every request also takes time, although benchmarking would obviously tell the answer.
3. Setting up a full redis server (which I've never done before, but seems like a cool challenge) also seems a bit overkill for the simple things I want to store.

I have the idea that I'm overlooking a very simple cool trick, that I just can't think of. Could anybody enlighten me as to what would be the smartest thing to do? All tips and ideas are welcome!