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

Резултати

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

Пребарај: #watercycle

当前筛选 #watercycle清除筛选
Amazing Geography 🌍

@amazingeo · Post #669 · 22.03.2026 г., 20:31

🌍 Water molecules in the ocean today could have once traveled through glaciers, rivers, or clouds—completing a global journey called the water cycle that never truly ends. ✨ #hydrology⚡#watercycle⚡#earth⚡#geography⚡#nature 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #134 · 28.08.2025 г., 20:12

🌍 Some of the water we drink today has cycled through dinosaurs and ancient forests. Water molecules can take thousands of years to complete a single journey through the global water cycle. ✨ #hydrology⚡#watercycle⚡#earth⚡#geography⚡#nature 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #627 · 12.02.2026 г., 12:31

🌍 Water in the atmosphere is always on the move—at any moment, only about 0.001% of Earth’s water is in the air as vapor, yet this tiny fraction drives all rain, snow, and weather worldwide. ✨ #hydrology⚡#watercycle⚡#atmosphere⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #327 · 03.10.2025 г., 15:31

🌍 Water vapor in the air isn’t just invisible—it’s crucial for moving energy around the planet. When vapor condenses into clouds, it releases heat that drives weather systems worldwide. ✨ #hydrology⚡#atmosphere⚡#watercycle⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #246 · 16.09.2025 г., 09:12

🌍 About 90% of the water exchanged in the global water cycle happens over the oceans, not land. Yet this invisible ocean-to-sky movement powers most of the world’s rainfall. ✨ #hydrology⚡#watercycle⚡#oceans⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #709 · 12.05.2026 г., 20:31

🌍 Some Antarctic lakes stay liquid under thick ice all year, kept warm by geothermal heat from below. These hidden waters host unique microbes adapted to extreme, sunless conditions. ✨ #hydrology⚡#antarctica⚡#watercycle⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #172 · 04.09.2025 г., 03:12

🌍 Just 0.001% of all water on Earth is found in rivers, lakes, and the atmosphere. The vast majority is locked away in ice sheets, glaciers, or underground where we rarely see it. ✨ #hydrology⚡#watercycle⚡#freshwater⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #94 · 22.08.2025 г., 09:12

🌍 The water cycle, or hydrologic cycle, constantly moves water through evaporation, condensation, and precipitation, powering rivers, forming clouds, and shaping climates worldwide. ✨ #watercycle⚡#evaporation⚡#precipitation⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍