IT-новости про Python, которые стоит знать

Собрали в одном месте самые важные ссылки
и сделали Тренажер IT-инцидентов для DevOps/SRE

     08.03.2023       Выпуск 481 (06.03.2023 - 12.03.2023)       Статьи

Python 3.11 Is Faster, but Pyston & PyPy Still Show Advantages

There are many speed improvements in CPython 3.11, but that doesn’t mean the Python alternatives don’t still have some advantages. Pyston and PyPy are still better in some cases.

     07.03.2023       Выпуск 481 (06.03.2023 - 12.03.2023)       Статьи
     03.03.2023       Выпуск 480 (27.02.2023 - 05.03.2023)       Статьи
     03.03.2023       Выпуск 480 (27.02.2023 - 05.03.2023)       Статьи
     03.03.2023       Выпуск 480 (27.02.2023 - 05.03.2023)       Статьи
     28.02.2023       Выпуск 480 (27.02.2023 - 05.03.2023)       Статьи

Pytest tips and tricks

Набор советов по изучению и использованю pytest в тестировании

     27.02.2023       Выпуск 480 (27.02.2023 - 05.03.2023)       Статьи
     22.02.2023       Выпуск 479 (20.02.2023 - 26.02.2023)       Статьи
     21.02.2023       Выпуск 479 (20.02.2023 - 26.02.2023)       Статьи
     19.02.2023       Выпуск 478 (13.02.2023 - 19.02.2023)       Статьи
     18.02.2023       Выпуск 478 (13.02.2023 - 19.02.2023)       Статьи
     15.02.2023       Выпуск 478 (13.02.2023 - 19.02.2023)       Статьи
     10.02.2023       Выпуск 477 (06.02.2023 - 12.02.2023)       Статьи
     07.02.2023       Выпуск 477 (06.02.2023 - 12.02.2023)       Статьи

Three Python Trends in 2023

Python/Rust co-projects, web apps, and more typing

     04.02.2023       Выпуск 476 (30.01.2023 - 05.02.2023)       Статьи
     03.02.2023       Выпуск 476 (30.01.2023 - 05.02.2023)       Статьи
     02.02.2023       Выпуск 476 (30.01.2023 - 05.02.2023)       Статьи

Python⇒Speed: Don't bother trying to estimate Pandas memory usage

You have a file with data you want to process with Pandas, and you want to make sure you won’t run out of memory. How do you estimate memory usage given the file size? At times you may see estimates like these: “Have 5 to 10 times as much RAM as the size of your dataset”, or “several times the size of your dataset”, or 2×-3× the size of the dataset. All of these estimates can both under- and over-estimate memory usage, depending on the situation. In fact, I will go so far as to say that estimating memory usage is just not worth doing. In particular, this article will: Demonstrate the very broad range of memory usage you will see just from loading the data, before any processing is done. Cover alternative approaches to estimation: measurement and streaming.