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

Резултати

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

Пребарај: #african

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

@addisstandardeng · Post #21409 · 15.02.2026 г., 12:59

#China to implement zero tariffs on imports from 53 #African countries China will implement zero-tariff measures for 53 African countries with which it has diplomatic relations, starting May 1, 2026, according to a statement. China will continue negotiating and signing joint economic partnership agreements, and further expand market access for African exports through upgraded mechanisms such as the "green channel," said the statement. https://news.cgtn.com/news/2026-02-14/China-to-implement-zero-tariffs-on-imports-from-53-African-countries-1KKY9IsAKRi/p.html

Addis Standard

@addisstandardeng · Post #21365 · 11.02.2026 г., 08:18

#Ethiopia, #African Development Bank sign $71.9m financing deal for #climate resilience, livelihoods program The Ethiopian government and the African Development Bank (AfDB) have signed a financing agreement worth USD 71.9 million to support implementation of the Building Resilience for Food and Livelihoods Ethiopia Component Program, the Ministry of Finance said. In a statement issued on 10 February 2026, the ministry said the agreement was signed between Finance Minister Ahmed Shide and Alex Mubiru, Director General for East Africa Business Delivery Office at the African Development Bank, which is acting as an accredited entity of the Green Climate Fund (GCF). According to the ministry, the project will complement the ongoing AfDB-supported Building Resilience for Food and Nutrition Security program, expanding efforts aimed at addressing climate-related vulnerabilities affecting pastoral and agro-pastoral communities. https://www.facebook.com/share/p/1AiERFx6DH/

Addis Standard

@addisstandardeng · Post #21633 · 06.03.2026 г., 14:53

News: #Jimma University, #Boeing sign partnership to strengthen aerospace education Boeing and Jimma University have announced a long-term strategic partnership aimed at strengthening aviation sciences and aerospace engineering education and preparing a skilled workforce for #Ethiopia’s growing aviation sector and the wider #African market. In a statement, the partners said the collaboration will support Jimma University’s recently established Aviation Sciences and Aerospace Engineering Academy through infrastructure upgrades, curriculum enrichment, and community engagement initiatives. The program is also expected to lay the foundation for developing Jimma into a future aerospace center of excellence. During the initial phase of the partnership in 2026, the two sides plan to focus on classroom modernization, specialized faculty training, and industry-focused workshops. Henok Teferra Shawl, managing director for Africa at Boeing, said the ..... Read more; https://addisstandard.com/?p=55631

Addis Standard

@addisstandardeng · Post #21946 · 06.04.2026 г., 06:58

#Ethiopia aid worker tells of daily struggle to find water in land littered with cow skulls A #Scottish aid worker who recently visited Ethiopia has told of the harrowing daily struggles people face there to get safe water. Ben Wilson of the Scottish Catholic International Aid Fund (#SCIAF), who visited the #African nation last June, told of landscapes devastated by drought and littered with the skulls of dead cattle. It comes as the charity’s annual Wee Box appeal this Easter focuses on water, with Scots urged to give generously to fund taps and wells in some of the world’s poorest nations. SCIAF is also urging Keir Starmer to reverse his controversial move to slash international aid to 0.3 per cent of national income - the lowest level since 1999 - in order to boost defence spending. Ben told the Sunday Mail: “Water poverty is still such a huge problem around the world, with hundreds of millions of people......... https://www.dailyrecord.co.uk/news/scottish-news/ethiopia-aid-worker-tells-daily-36969445

Addis Standard

@addisstandardeng · Post #22173 · 04.05.2026 г., 10:04

News: Floods and landslides kill at least 18 in #Kenya At least 18 people have died in flooding and landslides caused by heavy rains in multiple parts of Kenya. The police stated on Sunday that landslides were reported in Tharaka Nithi, Elgeyo-Marakwet, and #Kiambu counties in the country’s central and eastern regions. They confirmed that 18 lives had been lost to these incidents and urged caution amid the challenging weather conditions. The East #African country is currently experiencing its seasonal March to May rain season, which usually peaks in the first half of May. However, experts have long warned that human-induced climate change is exacerbating weather conditions in Kenya and other #East_African countries. https://www.aljazeera.com/news/2026/5/3/floods-and-landslides-kill-at-least-18-in-kenya

Addis Standard

@addisstandardeng · Post #21347 · 09.02.2026 г., 10:47

#Tribute: Professor Asmarom Legesse: Pioneer Scholar Who Illuminated the #Gadaa System to the World Professor Asmarom Legesse, the Eritrean-born anthropologist who redefined African democratic discourse, passed away on January 31, 2026, aged 94. In this tribute, Teferi Tafa notes the Harvard-trained scholar "spent over half a century documenting the #Oromo Gadaa system, dismantling colonial myths that dismissed indigenous #African governance as primitive." The author explains that Asmarom’s works revealed "a sophisticated constitutional order" featuring rotational leadership and term limits. He proved that Gadaa was "a highly developed system of checks and balances... that had governed Oromo society for centuries." Tafa emphasizes that Asmarom’s legacy of "intellectual decolonization" establishes him as a hero to the Oromo and a titan of global anthropology. https://addisstandard.com/?p=55081

Addis Standard

@addisstandardeng · Post #21563 · 28.02.2026 г., 12:55

#US advisor talks #Sudan crisis with #Egypt, #UAE, and #Saudi foreign ministers U.S. Senior Advisor for #Arab and #African Affairs Massad Boulos said on Friday he held productive talks with the foreign ministers of Egypt, the United Arab Emirates, and Saudi Arabia to advance a humanitarian truce in Sudan. In a statement posted on social media platform X, Boulos said the discussions focused on the gravity of the humanitarian crisis and the “immense suffering of civilians.” He emphasized the urgent need to secure a lasting ceasefire and underscored a shared commitment to alleviating human suffering while seeking a sustainable path toward peace. The Egyptian foreign ministry confirmed that Foreign Minister Badr Abdelatty discussed developments in the Sudanese crisis during the call with Boulos. The ministry stated the conversation took place within the framework of ongoing coordination... https://web.facebook.com/AddisstandardEng/posts/pfbid02WqHUNt9sxZMGeUJgHQmdS2YC6pVbDFV3adJNSCTXiPvbADDDjg3TuoBU8CCmSywBl

Addis Standard

@addisstandardeng · Post #21106 · 17.01.2026 г., 10:01

#Commentary: National Interests vs Political Pretense: Deconstructing regional opposition to #Somaliland’s recognition In late 2025, #Israel recognized Somaliland, a self-declared independent region in northern #Somalia, prompting condemnation from 21 #Arab, Islamic, and #African states, which called it a “grave violation of international law and the #UN Charter.” However, Gulaid Yusuf Idaan argues that opposition is driven by “narrow national interests, deep-seated geopolitical anxieties, and defensive reactions to the potential restructuring of the existing regional order.” He contends that Somaliland has been reduced to a “bureaucratic abstraction, a file that needs to be handled but not a cause that needs to be comprehended.” Idaan emphasizes that Somaliland faces resistance due to its success as “a small political entity that has achieved relative stability, participatory governance, and institutional functionality.” https://addisstandard.com/?p=54574

Addis Standard

@addisstandardeng · Post #21319 · 05.02.2026 г., 12:15

#In_Memoriam: A Tribute to Professor Asmarom Legesse Asmerom Legesse (PhD), a pioneering scholar of the #Oromo Gadaa system, passed away at the age of 94. Born on 5 February 1931 in #Eritrea, he was widely respected for his rigorous and sustained studies of Oromo governance, now foundational to #African indigenous political thought. In this tribute, Ezekiel Gebissa writes that “for the Oromo people… death is not an ending but a passage from the world of binary reality to the realm of singularity.” Over nearly six decades, Asmerom reshaped African political studies by showing that #Gadaa is “not a relic of the past but a sophisticated, stable, and coherent democratic system.” Asmerom’s legacy remains the cornerstone of Oromo studies and global indigenous governance. https://addisstandard.com/?p=55020

Addis Standard

@addisstandardeng · Post #21309 · 04.02.2026 г., 14:38

News: Prominent #Oromo Gadaa scholar Asmerom Legesse passes away at 94 Asmerom Legesse (PhD), a distinguished scholar renowned for his pioneering research on the Oromo #Gadaa system, has passed away at the age of 94. Born on 5 February, 1931, in #Eritrea, Asmerom was widely recognized for his in-depth studies of Oromo traditions and governance, which have become foundational references for scholars of #African indigenous systems. In a statement, the Oromo Studies Association (#OSA) confirmed his death, expressing deep sorrow over the loss of a researcher described as a “kinsman of the Oromo people.” The association noted that Asmerom’s work on Oromo customs, history, and culture significantly advanced understanding of political and social systems across Africa. The Oromia Culture and Tourism Bureau expressed deep condolences, emphasizing that his life’s work preserved the Oromo Gadaa system and documented its practices for future generations, serving as.... Read more: https://addisstandard.com/?p=54991

Addis Standard

@addisstandardeng · Post #21951 · 06.04.2026 г., 10:46

#Commentary: The #Munich Manifesto: Rubio’s recolonization blueprint, case for #African resistance In this commentary, Mohammedawel Hagos offers a critical analysis of Marco Rubio's 2026 Munich Security Conference address, arguing that the speech reflects a broader Western agenda to revive colonial-era dominance over the Global South. Drawing on historical memory like #Ethiopia’s victory at the Battle of #Adwa, he warns that Africa faces “a renewed threat” of economic and political subjugation. Rubio's address, he argues, is "a manifesto for recolonization" that sanitizes colonialism's violent legacy—evident in recent #US actions in #Venezuela and #Iran that "exemplify modern imperial coercion." He calls on Global South nations to unite against this "21st-century corporate colonial project," cautioning that "history will not be kind to those who choose silence." https://addisstandard.com/?p=56319

12
ПретходнаСтраница 1 од 2Следна