Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами.
Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как:
- trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки.
- curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками.
- anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов.
anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного.
В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах)
Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно.
#libs#async
#Three#rafareborn
模块:eu.hxreborn.tfs
简介:Three Finger Swipe
版本:10029-1.0.2
更新时间:2026/03/19 07:44:34
更新日志:
Changed
Use module name as log tag by @hxreborn
@lsposed_Modules_Updates_Trackers | @lsposed_Geeks_Bot
News: #Ethiopian Airlines to open #three new domestic airports
Ethiopian Airlines has announced plans to inaugurate three new domestic airports in #Negele_Borena, #Gore_Metu, and #Debre_Markos, expanding its internal flight network.
In a statement released yesterday, the airline said the newly built airports are expected to be operational by April 2026, with regular passenger flights scheduled three times weekly to each destination.
The expansion will bring the airline’s total domestic destinations to 26, a move it says is intended to strengthen trade, tourism, and social connectivity across Ethiopia.
Mesfin Tasew, Ethiopian Airlines Group CEO, described the initiative as a milestone for both the airline and the country, highlighting the economic and social benefits of improved air transport access. He said the new routes reflect the airline’s commitment to enhancing domestic connectivity while supporting national development through reliable air transport services.
#typescript#3d#browser_based#cad#geometry#occ#occt#opencascade#three#threejs#wasm#webassembly#webcad
Chili3D is a free, open-source 3D CAD application that you can use directly in your web browser. It allows you to create and edit 3D models without needing to install any software on your computer. You can make basic shapes like boxes and spheres, draw 2D sketches, and perform advanced operations like combining shapes. It also includes tools for precise alignment and measurement. This makes it easy for anyone to design and edit 3D models online, which is helpful for both beginners and experienced users.
https://github.com/xiangechen/chili3d