Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

A dictionary with key expiration and callbacks.

Project description

A Python 3 module that provides a TimedDict class, which is designed to mimic the functionality of Redis’s EXPIRE. Keys are set to expire after a certain number of seconds, and a callback function may optionally be called. Keys are continuously checked for expiration in a separate thread, so stale keys do not pile up in memory.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for timeddictionary, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size timeddictionary-0.1.1.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page