{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/4"}],"enrichment":{"capability":"Runs Tornado coroutines from synchronous Python code by wrapping an IOLoop in a thread, allowing you to call async functions and wait for their results.","skillfed_tags":["tornado","async-bridge","abandoned"],"use_cases":["Call a Tornado-based async library from a synchronous script or application without rewriting the library.","Integrate Tornado coroutines into a legacy synchronous codebase that cannot be fully converted to async.","Test Tornado coroutines in a synchronous test suite without restructuring the test framework.","Prototype or debug Tornado code interactively in a synchronous Python shell or notebook."],"what_it_does":"ThreadLoop wraps Tornado's IOLoop inside a background thread, letting you call Tornado coroutines from ordinary synchronous Python code and retrieve their results as futures. It bridges the gap between async Tornado code and synchronous callers by managing the event loop lifecycle automatically.\n\nThe package was designed for scenarios where you have a Tornado-based library or service but need to call it from synchronous code without blocking the main thread. It uses a context manager to set up and tear down the IOLoop thread cleanly. However, the project is no longer maintained\u2014the last release was in 2016 and the last commit in 2022\u2014so it is not tested against modern versions of Tornado or Python.","worth_installing":"No, unless you are maintaining legacy code locked to Python 2.7 or early Python 3 with an old Tornado version. The package is abandoned, untested with modern Tornado, and offers no maintenance path forward. Modern alternatives\u2014such as asyncio bridges, async/await patterns, or Tornado's own async support\u2014are better choices for new code."},"id":"threadloop","links":{"html":"https://skillfed.io/packages/threadloop","md":"https://skillfed.io/packages/threadloop.md","pypi":"https://pypi.org/project/threadloop/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2016-04-01","license_spdx":null,"license_treatment":"permissive","name":"threadloop","python_support":"unspecified","summary":"Tornado IOLoop Backed Concurrent Futures"},"popularity":{"monthly_downloads":243975,"position":8769,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.2"}
