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

Резултати

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

Пребарај: #datastructures

当前筛选 #datastructures清除筛选
Repositorio data science

@repo_science · Post #3438 · 14.07.2023 г., 19:11

#python#DataStructures#algorithms 🐍 Python Data Structures & Algorithms What you will get in this course: - Data Structures Lists Linked Lists Doubly Linked Lists Stacks & Queues Binary Trees Hash Tables Graphs - Algorithms - Sorting Bubble Sort Selection Sort Insertion Sort Merge Sort Quick Sort - Searching Breadth First Search Depth First Search 🔗Link ----- Main channel:@repo_science Coupons:@freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3348 · 25.06.2023 г., 17:31

#python#Algorithms#dataStructures 🐍 Hands-On Data Structures and Algorithms with Python: Store, manipulate, and access data effectively and boost the performance of your applications 🖇3rd Edition 📆2022 ✍️Dr. Basant Agarwal 🔗Link ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3433 · 12.07.2023 г., 19:56

#DataStructures#Algorithms#Java 🛠 The Ultimate Data Structures & Algorithms Course What You'll Learn... This course is divided into three parts, each about 5 hours long so you can easily complete it. The first part is all about linear data structures and their algorithms: - Big O Notation - Arrays - Linked Lists - Stacks - Queues - Hash Tables The second part covers non-linear data structures and their algorithms: - Binary Trees - AVL Trees - Heaps - Tries - Graphs The third part explores: - Searching Algorithms - Sorting Algorithms - String Manipulation Algorithms 🗣Mosh Hamedani 🔗Link ----- Main channel:@repo_science Coupons:@freecoupons_reposcience -----

Repositorio data science

@repo_science · Post #3109 · 28.04.2023 г., 17:58

#datascientist#datascience#datasciencejobs#dataanalysis#data#dataanalyst#dataanalytics#dataanalystjobs#analytics#python#pythonprogramming#rprogramming#sql#excel#statistics#testing#softwaretesting#projects#projectmanagement#agile#computerscience#programming#webdevelopment#softwaredevelopment#roadmap#visualization#learningeveryday#learning#tutorials#learntocode#apache#powerbi#tableau#machinelearning#ml#ai#artficialintelligence#deeplearning#bigdata#bigdataanalytics#algorithms#mathematics#datastructures#kaggle#nlp#reinforcementlearning#sql#nosql#databases#mongodb ----- Canal principal:@repo_science Cupones: @freecoupons_reposcience -----