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

Резултати

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

Пребарај: #clients

当前筛选 #clients清除筛选
GitHub Trends

@githubtrending · Post #14935 · 09.07.2025 г., 13:30

#other#clients#mcp The Model Context Protocol (MCP) is an open standard that lets AI models easily and securely connect to different data sources and tools, making it much simpler for developers to build smart apps that can access files, databases, and APIs without custom code for each one[2][3][4]. There are many free and easy-to-use MCP clients—like desktop apps, web apps, and command-line tools—that let you quickly add new AI features and automate tasks, so you can get more done with less effort and technical hassle. This means you can use AI to help with coding, data analysis, and daily work, all while keeping your data safe and your setup flexible[2][3][4]. https://github.com/punkpeye/awesome-mcp-clients

djangoproject

@djangoproject · Post #327 · 30.04.2017 г., 01:28

https://www.tutorialspoint.com/python/python_networking.htm Python provides two levels of access to network services. At a low level, you can access the basic #socket support in the underlying operating system, which allows you to implement #clients and #servers for both connection-oriented and connectionless protocols.

Upwork Profile Mastery

@UpworkProfilePro · Post #568 · 19.02.2026 г., 09:52

Most freelancers fail before they even start… because they skip this one step! They rush into work without truly understanding the client’s needs. Knowing their goals helps you deliver exactly what they expect. Good communication builds trust and long-term relationships. 👉 What do you think? React if you agree. @UpworkProfilePro #Tipsoftheday#Clients#communication