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

Резултати

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

Пребарај: #dopingpongarchives

当前筛选 #dopingpongarchives清除筛选
dopingpong

@dopingram · Post #4117 · 14.07.2025 г., 08:18

Happy Birthday, Petite Meller! A fragment of the press realise an unrealized joint project. Petite Philosophia X Doping Pong Petite Philosophia will be released later as the world's first perfume that conveys the beautiful scent of philosophy from ancient Greece to the psychoanalysis room. Super singer Petite Meller and brilliant artists group Doping Pong came together in an international project to create the world’s first perfume with the scent of philosophy. Meller explains that the origin of the project came from wanting to create a perfume with the scent of philosophy. According to Meller “In Greek Philo is The Love, Sophia is Wisdom. I asked Russian art-collective Doping Pong to design the book shaped perfume with philosophy written in Russian letters to represent their art collaboration”. Doping Pong art group are the pioneers of digital art in Russia that was founded in 1997 in St. Petersburg. Now, they are apologists for traditional painting. In the past, Doping Pong collaborated with Richardson and Supreme, participated in the collective exhibition "New Classics" - curated by Sasha Bogoev, editor of Juxtapoz magazine and held their retrospective "Doping Pong: Our everything!" at the Erarta Museum of Contemporary Art. Petite Meller is a French Israeli artist and songwriter who brings a philosophical view on life through her music. "Lil Empire" is her debut album with her hit "Baby Love". Her Jazzy pop videos conceals "jouissance" which is in Freud’s terms a pleasure out of pain. Aside from her musical career, Meller received a postgraduate degree in philosophy from the Sorbonne in Paris. For more information on Petite Philosophia, visit Instagram Petite Meller: www.instagram.com/petitemeller #petitemeller#философия#perfume#dopingpong#digitalart#dopingpongarchives