A key-value store is the simplest database: it maps names to values. Real ones, such as Redis, add expiry times, counters, transactions and saving to disk. This project builds a small store with all of those, in one class, with a clock that you control for the expiry, a stack of copies for nested transactions, and a snapshot that is written atomically, as Module 28 taught.
More lessons in Complete Python Programming