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

Резултати

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

Пребарај: #benishangul

当前筛选 #benishangul清除筛选
Addis Standard

@addisstandardeng · Post #21134 · 20.01.2026 г., 14:08

News: #Sudanese refugees in #Ethiopia face growing hardship amid funding gaps, administrative barriers Thousands of Sudanese refugees sheltering in Ethiopia are facing worsening humanitarian conditions marked by food shortages, overcrowded camps, and administrative challenges, according to reports by Sudan Tribune. Ethiopia, which hosts a significant number of refugees fleeing the conflict in Sudan, is struggling to sustain humanitarian assistance as international funding declines. Refugees in camps across western Ethiopia, particularly in #Benishangul-Gumuz Region, told the media that food rations have been sharply reduced, leaving many households unable to meet basic nutritional needs. Aid agencies have warned that funding shortfalls have forced cuts to food assistance, with refugees receiving rations well below minimum caloric requirements. As a result, families are reportedly skipping meals, selling personal belongings, and resorting to other negative... Read more: https://addisstandard.com/?p=54660

Addis Standard

@addisstandardeng · Post #21631 · 06.03.2026 г., 13:02

News: AFD, #Danish Refugee Council launch €8 million project to support women’s resilience in #Ethiopia, #Sudan Agence Française de Développement (#AFD) and the Danish Refugee Council (#DRC) have launched an €8 million initiative aimed at strengthening women’s economic resilience and promoting social cohesion among communities affected by the Sudan crisis in Sudan and Ethiopia. The 24-month project, funded by the French government and implemented by DRC in partnership with local feminist organizations, will target conflict-affected populations in Gedaref State in Sudan and the #Benishangul-Gumuz region in Ethiopia. According to a press release, the program will focus on improving access to essential services, supporting women’s economic empowerment, and strengthening relations between displaced populations and host communities. The initiative comes as the war in Sudan, ongoing........ https://web.facebook.com/AddisstandardEng/posts/pfbid0uumWytCgCpdTzbjyjwXm7czqBeyhwB5XBW6yuED1GLAMBDxLkZGU7x8DqyPa7dyzl

Addis Standard

@addisstandardeng · Post #21917 · 02.04.2026 г., 14:02

News: #State_Department issues ‘Do Not Travel’ warning for five regions of #Ethiopia amid heightened security risks The U.S. Department of State has issued a Level 4 “Do Not Travel” warning for several regions in Ethiopia, citing escalating security threats including armed conflict, crime, and kidnapping. In its latest travel advisory update released on April 1, the department named #Tigray, #Afar, #Amhara, #Gambella, and #Benishangul Gumuz among areas facing heightened risks, urging U.S. citizens to avoid travel to these regions entirely. The advisory stated that these areas are affected by ongoing armed conflict, political and ethnic violence, and widespread insecurity, with conditions that can deteriorate rapidly without warning. Beyond the Level 4 regions, the State Department maintained Ethiopia under a Level 3 “Reconsider Travel” advisory overall, pointing to broader concerns including unrest, terrorism, landmines, and communication disruptions across Read more: https://addisstandard.com/?p=56258

Addis Standard

@addisstandardeng · Post #22021 · 14.04.2026 г., 12:48

News: #UN reports over 12,000 #Ethiopian refugees in #Sudan's Blue Nile State as conflict tensions mount The UN refugee agency, #UNHCR, says more than 12,000 Ethiopian refugees in Sudan are living in #Blue_Nile state, a region that has seen escalating insecurity and cross-border tensions, including accusations that Ethiopia has supported attacks by Sudan’s Rapid Support Forces (#RSF) from the #Benishangul-Gumuz region. In its latest overview as of 31 March 2026, UNHCR reported that a total of 68,750 Ethiopian refugees and asylum seekers are currently in Sudan, representing about 8% of the country’s overall refugee population, which stands at more than 862,000. Of these, 12,675 Ethiopian refugees—about 18%—are hosted in Blue Nile state, primarily in Wad Al Mahi Camp. The majority, 44,386 (65%), reside in Gedaref state, while smaller numbers are found in Red Sea state (3,135) & Khartoum (322). The report highlights that 73% of Ethiopian refugees are living.... Read more: https://addisstandard.com/?p=56502

Addis Standard

@addisstandardeng · Post #21683 · 11.03.2026 г., 17:02

#Ethiopia: Residents say over 80 houses burned in attack by government security forces in #Metekel Zone Residents told Addis Standard that regional special police and district militias have forcibly displaced residents from several kebeles in #Dibate District, #Metekel Zone of the #Benishangul-Gumuz Region, and burned their homes and property. A resident of Chati Kebele in Dibate District, who requested anonymity for security reasons, said that about a month ago government officials issued an order stating that residents must vacate the area because authorities wanted to “take action against the Oromo Liberation Army (OLA),” which the government refers to as “Shene.” The resident further alleged that about a month after the displacement, Gumuz Special Police and militias from the Bole area of Bulla District conducted what they described as a “search operation.” Another displaced resident from the #Chokorsa area of #Gipo Kebele, a father of six, said it…….. Read more: https://addisstandard.com/?p=55751

Addis Standard

@addisstandardeng · Post #21813 · 24.03.2026 г., 06:59

News: #Sudanese officials accuses #Ethiopia of aiding rebel assault on Kurmuk Sudanese authorities have accused Ethiopia of facilitating a renewed offensive by allied rebel forces on the strategic border town of #Kurmuk in #Blue_Nile state, according to a report by Sudan Tribune. A Sudanese government official, cited by the outlet, alleged that Ethiopia “sponsored” the assault by allowing fighters linked to the Rapid Support Forces (#RSF) and the Sudan People’s Liberation Movement-North (#SPLM-N) to operate through its territory. The source claimed combat vehicles moved from #Assosa in Ethiopia toward border areas before launching the attack. Fighting has intensified around Kurmuk, with clashes reported across multiple fronts. The accusations come amid earlier claims reported by Reuters in February that Ethiopia is hosting a training camp for RSF-linked fighters in the #Benishangul-Gumuz region near the Sudan border. Sudanese officials have....... Read more: https://addisstandard.com/?p=56021

Addis Standard

@addisstandardeng · Post #21308 · 04.02.2026 г., 13:35

News: #Sudanese official alleges #Ethiopia facilitated RSF, SPLM-N attacks in Blue Nile Ethiopia has been accused of facilitating the movement of attacking forces into Sudan’s #Blue_Nile region, according to a report by Sudan Tribune. The Rapid Support Forces (#RSF) and the Sudan People’s Liberation Movement-North (#SPLM-N) reportedly launched coordinated attacks on multiple army positions on Tuesday, seizing the strategic town of #Deim Mansour in #Kurmuk County. Video and social media posts from the SPLM-N claim that combat vehicles, tanks, and drones were captured during the assault. A high-ranking Sudanese government official told Sudan Tribune that the RSF and SPLM-N forces entered Sudan from Ethiopian territory, specifically from the #Benishangul-Gumuz region,... According to a report by AFP on Wednesday, Sudan’s paramilitary forces have advanced toward army positions near the country’s southeastern border with Ethiopia. The advance was reported.... Read more: https://addisstandard.com/?p=54985

Addis Standard

@addisstandardeng · Post #21991 · 09.04.2026 г., 07:41

New report cites evidence of alleged military assistance to RSF from #Ethiopian base, raising regional security concerns A new report by the #Yale School of Public Health’s Humanitarian Research Lab (#HRL) says it has found “high confidence” evidence of activity consistent with military assistance by Ethiopia to Sudan’s Rapid Support Forces (#RSF), raising concerns about escalating regional insecurity. The report, published on 8 April, is based on satellite imagery and open-source data collected between late December 2025 and late March 2026. It concludes that such activity is taking place at an Ethiopian National Defense Force (#ENDF) base in #Asosa town, in Ethiopia’s #Benishangul-Gumuz region. HRL says its assessment is based on five key indicators observed at the Asosa base and not found at 14 other ENDF installations reviewed for comparison. One of the central findings is the repeated presence of non-military commercial car carriers........ Read more: https://addisstandard.com/?p=56448

Addis Standard

@addisstandardeng · Post #21303 · 04.02.2026 г., 09:18

News: #Australia issues ‘do not travel’ advisory for #Tigray, #Amhara, and other regions in #Ethiopia The Australian government has issued a “do not travel” advisory for Ethiopia’s Tigray regional state, warning that the security situation could deteriorate rapidly with little or no warning, according to its latest update on the Smartraveller travel advisory platform. In the update, Australian authorities urged their citizens currently in Tigray to leave when it is safe to do so using commercial means, noting that Australia’s ability to provide consular assistance in the region remains “extremely limited.” Travelers were also advised to follow local authorities’ instructions and to shelter indoors in the event of civil unrest or armed conflict. Beyond Tigray, Australia continues to advise against all travel to the Amhara, #Benishangul-Gumuz, and #Gambela regional states, as well as border areas with #Eritrea, #Sudan, #South_Sudan, #Kenya, and #Somalia,.... Read more: https://addisstandard.com/?p=54924

Addis Standard

@addisstandardeng · Post #21595 · 03.03.2026 г., 15:29

Grand #Ethiopian Renaissance Dam: how #Africa’s largest hydropower project Is powering #Ethiopia’s future A detailed examination of the Grand Ethiopian Renaissance Dam – its construction, specifications, commissioning, regional impact, and remaining challenges. The Grand Ethiopian Renaissance Dam (#GERD) is the largest hydropower project in Africa. Located on the #Blue_Nile in Ethiopia’s #Benishangul-Gumuz region, about 14km from the Sudanese border, the project has been delivered by Ethiopian Electric Power (#EEP) with major civil works undertaken by #Webuild Group (formerly #Salini Impregilo). The objective of the dam is to increase Ethiopia’s electricity generation capacity, reduce dependence on imported energy, and support long-term industrial and economic development. Construction began in 2011, and Ethiopia officially inaugurated...... Read more: https://www.waterpowermagazine.com/analysis/grand-ethiopian-renaissance-dam-how-africas-largest-hydropower-project-is-powering-ethiopias-future/?cf-view