patx / pickledb

pickleDB is an open source key-value store using Python's json module.
https://patx.github.io/pickledb
BSD 3-Clause "New" or "Revised" License
925 stars 125 forks source link

timeout or expire function #10

Open ninjatrench opened 9 years ago

ninjatrench commented 9 years ago

To delete a particular key from memory after a particular time in seconds

just like one offered in redis.expire option.

Ex: db.set('key', 'value', expire=1)

meloman-a commented 4 years ago

Please