dev-python/
dogpile-cache

A locking API for expiring values while a single thread generates a new value

https://github.com/sqlalchemy/dogpile.cache