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

Пребарај: #msf

当前筛选 #msf清除筛选
Borkena

@borkena · Post #5560 · 15.12.2025 г., 16:34

Ethiopia’s First R21 Malaria Vaccine Rollout, A Global First In A Refugee Camp (MSF) https://borkena.com/2025/12/15/ethiopias-first-r21-malaria-vaccine-rollout-a-global-first-in-a-refugee-camp/#Ethiopia#Malaria#MSF

Addis Standard

@addisstandardeng · Post #21208 · 27.01.2026 г., 13:35

#Afar: Delivering lifesaving nutrition across one of #Ethiopia’s harshest landscapes Once you leave the city of #Semera behind, the Ethiopian landscape quickly opens into vast stretches of dry earth that seem to run endlessly toward the horizon. Sparse green bushes dot the dusty ground, framed by distant mountains and volcanoes that define the Afari landscape. As our vehicles drive toward the town of Magenta to deliver nutrition to children through Doctors Without Borders/Médecins Sans Frontières (#MSF) outreach activities, a river runs alongside the road. One of the main challenges faced by local communities is right in front of our eyes: water. Afar, crossed by the Danakil Depression marking the northern end of the East African Rift Valley, is considered one of the hottest inhabited places on Earth. Water availability and quality in the region are strongly influenced by its..... https://www.facebook.com/AddisstandardEng/posts/pfbid02eyGnawFb7VhMHg63k8WpiMijY9FpwCawUmrdsKrtzRv4KyRYPzEBTN3ngQUxCZpEl

Addis Standard

@addisstandardeng · Post #21899 · 01.04.2026 г., 05:28

Sexual violence is being used as a weapon in #Sudan’s war, doctors group says #Sexual_violence against women and girls is being used as a weapon of war in Sudan ‘s fierce conflict between the military and paramilitary Rapid Support Forces (#RSF), international aid group Doctors Without Borders said in a report Tuesday. Sudan slid into chaos in April 2023 when a power struggle between the two forces exploded into open fighting in Khartoum and elsewhere. The International Criminal Court is investigating mass killings, gang rapes and other crimes during the conflict as potential war crimes and crimes against humanity. Doctors Without Borders, known by its French acronym #MSF, detailed in its report the accounts of women who were gang raped in the South #Darfur and North Darfur regions. MSF said that at least 3,396 survivors of sexual violence sought treatment at their facilities between January 2024...... https://apnews.com/article/sudan-war-darfur-sexual-violence-rape-rsf-bead0dded97628032066141e063e41e5