Skip to content

shikhovmy/dict-with-ttl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In-memory storage with TTL in python

Simple storage with TTL. It implements disctionary API. Can be used for testing puproses or PoC

Usage

Storage(ttl=60, cleanup_interval=120, purge_callback=lambda dict_of_expired: do_anything(dict_of_expired))

About

Dictionary-like storage with configurable TTL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages