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

Резултати

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

Пребарај: #empathy

当前筛选 #empathy清除筛选
Interesting Planet 🌍

@interesting_planet_facts · Post #823 · 27.09.2025 г., 18:11

🌎 Mirror neurons in the human brain activate both when performing an action and when observing someone else perform that action. These specialized brain cells are linked to empathy, learning, and understanding intentions of others. Mirror neurons were first identified in the 1990s in monkeys before similar systems were found in humans. ✨ #neuroscience⚡#empathy⚡#learning 👉subscribe Interesting Planet 👉more Channels ​

Venture Village Wall 🦄

@venturevillagewall · Post #3463 · 19.12.2024 г., 13:56

$500K Funding Round Announcement ShowAndTell has raised $500K in funding as of December 4, 2024. This initiative focuses on providing an empathetic treatment coordinator for every patient, prioritizing patient education and trust-building, even outside of clinical settings. For more information visit their website: ShowAndTell #Funding#Healthcare#PatientCare#TrustBuilding#Education#Empathy#TreatmentCoordinator

Health & Safety TIPS

@PrimalTips · Post #1726 · 04.09.2020 г., 18:26

🤔FOOD FOR THOUGHT💭 📌 I would like to expose a situation. If your children don't learn with children with special needs at school and have never been taught that not everyone is equal, maybe you should spend 10 minutes today to explain it to them, 📌Because although they don't currently live with these children at school, they will find them in their lives for sure. 📌In light of recent events regarding the exclusion of a child with autism from attending a school trip and a child with Down Syndrome being expelled from dance class because she couldn't keep up with it, I feel the need to share this. 📌There are boys and girls that no one invites to birthday parties. There are special children who want to be part of a team but are not selected because it's more important to win than to include these children. 📌 Kids with special needs aren't weird , they just want what everyone wants: to be accepted! 📌Can I ask a question? Is there anyone willing share this article like I did, for all the special children out there? 📌Please teach your children to be kind to these beautiful children! 📌Everyone needs love and kindness #inclusion#syndromedown#autism#beingdifferentlynormal#respect#love#empathy@HeathSafetyTps