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 слични објави

Пребарај: #decipher2024

当前筛选 #decipher2024清除筛选
DWF Labs Broadcast

@DWFLabs · Post #728 · 27.06.2024 г., 08:35

We had a great day yesterday at #Decipher2024 hosted by Algorand Foundation 🔥 Alessia Baumgartner, Business Partner of Ecosystems at DWF Labs, shared about what we look for in our portfolio and tips for pitches. Check out some key insights 👇 1️⃣ Pitch decks should be concise and compelling - communicating the ethos and important aspects of a project within the first two minutes. 2️⃣ Founders with strong technical skills and adaptability are integral to what we look for in projects, as they can adjust their strategies during market fluctuation to ensure success and longevity. 3️⃣ Projects that strongly fulfill key KPIs such as network activity and community engagement have a competitive edge. We're always looking for projects to support - feel free to reach out if you're working on a project, or have a project to share. Let's buidl! 🤝

DWF Labs Broadcast

@DWFLabs · Post #722 · 24.06.2024 г., 02:01

Catch Alessia Baumgartner, Business Partner of Ecosystems at DWF Labs, at #Decipher2024 hosted by Algorand Foundation. She'll be taking the stage at 4.15pm CET on June 26 to discuss what we look for in projects to support and partner with. Don't miss her panel.🔥

DWF Labs Broadcast

@DWFLabs · Post #725 · 26.06.2024 г., 13:57

Could you decipher where we are? 😁 Our Business Partner of Ecosystems, Alessia Baumgartner is taking the stage soon. If you're around and would like to hear more about what we look for in projects, come join us 🔥 #Decipher2024#Algorand#DWFLabs