Flask-Threads
JSON →Flask-Threads is a helper library designed to simplify working with threads within Flask applications. It addresses the common challenge of maintaining the Flask application context (e.g., `flask.g`, `request`) when executing code in background threads or using concurrent futures, which are typically thread-local. The library ensures that thread-local proxies remain accessible, preventing `RuntimeError` exceptions that occur when trying to access context outside the main request thread. The current version is 0.2.0, released on May 20, 2025, with an infrequent release cadence, primarily focusing on Flask compatibility.
Traffic · last 30 days ↓67% vs prev 7d
total hits 9
actors 5 distinct systems
last hit 5d ago Script
top countries 🇺🇸 United States · 🇺🇦 Ukraine · 🇩🇪 Germany · 🇫🇷 France · 🇨🇦 Canada
API endpoints
full doc /v1/registry/flask-threads
compatibility /v1/registry/flask-threads/compatibility