python-trio/unasync
View on GitHub ↗ ★ 109 Python
The async transformation code.
4 mentions on Hacker News by 4 people: 0 stories, 4 comments · first 2021-03-19 · latest 2024-01-20
20082026
-
Nice! This is similar to the solution here: https://github.com/python-trio/unasync
comment by SethMLarson · 2024-01-20 · in The bane of my existence: Supporting both async and sync code in Rust -
…are looking at ways to solve this. I know urllib3, elasticsearch-py, and a few others use unasync ( https://github.com/python-trio/unasync ) to transform async code into sync code, leaving one codebase supporting both uses in different…
comment by abrookins · 2021-11-05 · in Async Python is not faster (2020) -
…them out again. It's not beautiful, but as far as I can tell all the alternatives are worse. https://github.com/python-trio/unasync is the current production implementation of this approach.
comment by geofft · 2021-03-19 · in Building a shared vision for Async Rust