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

Резултати

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

Пребарај: #transcript

当前筛选 #transcript清除筛选
Doniyor Olimjonov English | IELTS

@doniyorieltss · Post #541 · 21.01.2023 г., 07:49

#Transcript Do you like chocolate? Of course I do - who doesn't? I especially love dark chocolate, especially the ones with a few nuts or sea salt mixed in. Eating a piece of chocolate always adds a little bit of joy to my day. Did you like chocolate as gift? Yes, I did like chocolate as a child! I remember that I would always get so excited when I saw a bar of chocolate, especially during the holidays. It was a special treat for me that I looked forward to every year. I remember that I especially loved the combination of sweet and creamy texture that came with it. Chocolate just felt like happiness in a bar! Did you give chocolate as a present to someone? Yes, I did. It was quite recently. I saw this lovely box of chocolates at the store and decided it would be the perfect gift. I put a lot of thought into it; I wanted to choose something that would really show how much I care about them. After I picked out the chocolates, I wrote a heartfelt card to go with it. I think my friend really appreciated the gesture and I'm glad I chose chocolate as a present. ⚡️@ieltsulugbeks⚡️

Hashtags

GitHub Trends

@githubtrending · Post #14817 · 11.06.2025 г., 11:30

#python#asr#captions#cli#python#subtitle#subtitles#transcript#transcripts#translating_transcripts#youtube#youtube_api#youtube_asr#youtube_captions#youtube_subtitles#youtube_transcript#youtube_transcripts#youtube_video The YouTube Transcript API is a tool that helps you get the text from YouTube videos. It's fast and easy to use, saving you time compared to watching the whole video. You can use it to make subtitles, translate text, and even analyze what's being said in videos. This is helpful for content creators who want to make their videos more accessible and for researchers who need to study video content quickly. It also supports multiple languages, making it useful for a wide range of users. https://github.com/jdepoix/youtube-transcript-api