xlocal
JSON →xlocal is a library for execution-local storage, providing a cleaner alternative to thread-local (and global) mutable state. It supports both thread-based and asynchronous (asyncio) contexts, and its variables are scope-safe and automatically cleaned up. Current version is 0.5; the library is in maintenance mode with rare releases.
Resources
homepagebitbucket.org/hpk42/xlocal/ ↗