TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #424 · 13 апр.

Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами. Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как: - trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки. - curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками. - anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов. anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного. В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах) Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно. #libs#async

Hashtags

Резултати

Пронајдени 3 слични објави

Пребарај: #buidler

当前筛选 #buidler清除筛选
Arweave Announcements

@arweaveannouncements · Post #124 · 26.09.2019 г., 14:55

Our latest community spotlight is here! 🛠️🚀 This week we meet Almaz: Chemical engineering student, all-round creative thinker, and #buidler of WeaveWatcher and Arweave.Design 📢😎http://bit.ly/MeetAlmaz

Hashtags

Buidlpad

@native_fi · Post #136 · 16.12.2025 г., 06:29

Introducing the Buidl Contributor role 🤍 This role is for community members who actively help Buidlpad grow through community participation, support, boosts and engagement. Contribute consistently to unlock future role-based rewards! Join the Buidlpad Discord Community → http://discord.gg/buidlpad ▫️What is the Buidl Contributor Role? Buidl Contributor is the next role in our series of Community Role Launches This role recognizes users who actively support the Buidlpad community by contributing time, effort & presence. It focuses on community participation & engagement, not capital. ▫️How to Get the Buidl Contributor Role? 🔹 Join the Buidlpad Discord: http://discord.gg/buidlpad 🔹 Verify yourself in #buidler-role (skip if you've already done this) 🔹 Choose the contributor role in #role-verify 🔹 Engage the Server Booster Role by Boosting the Server 🔹 Start contributing! The alpha is to stay active in community channels and participate consistently in community activities Roles are reviewed and rewards are calculated on consistent contributions.

Buidlpad

@native_fi · Post #135 · 12.12.2025 г., 11:34

How to verify and receive your roles 🔹 Log in at http://buidlpad.com 🔹 Link your Discord under your Profile 🔹 Join the Buidlpad Discord: http://discord.gg/buidlpad 🔹 Verify yourself in #buidler-verify 🔹 Select your region in #select-region That’s it. Your verification is complete 💙 Or follow this tutorial ⬇️ Or DM : @gBuidl