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

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

     23.05.2024       Выпуск 545 (20.05.2024 - 26.05.2024)       Статьи

The Python calendar Module: Create Calendars With Python

Learn to use the Python calendar module to create and customize calendars in plain text, HTML or directly in your terminal.

     21.05.2024       Выпуск 545 (20.05.2024 - 26.05.2024)       Статьи

Generating Fake Django Model Instances With Factory Boy

Writing good tests means having data to test with. The factory-boy library helps you create fake data that you can use with your tests. This article shows you how to use factory-boy with Django ORM models.

     17.05.2024       Выпуск 544 (13.05.2024 - 19.05.2024)       Статьи
     17.05.2024       Выпуск 544 (13.05.2024 - 19.05.2024)       Статьи
     15.05.2024       Выпуск 544 (13.05.2024 - 19.05.2024)       Статьи
     15.05.2024       Выпуск 544 (13.05.2024 - 19.05.2024)       Статьи

Creating a Calculator With wxPython

wxPython is a GUI toolkit for the Python programming language. This article introduces you to building GUIs by creating a personal calculator.

     14.05.2024       Выпуск 544 (13.05.2024 - 19.05.2024)       Статьи
     14.05.2024       Выпуск 544 (13.05.2024 - 19.05.2024)       Статьи
     13.05.2024       Выпуск 544 (13.05.2024 - 19.05.2024)       Статьи

Pythonicity: Packaging rundown

Companion guide to the Python packaging tutorial.

     06.05.2024       Выпуск 543 (06.05.2024 - 12.05.2024)       Статьи
     01.05.2024       Выпуск 542 (29.04.2024 - 05.05.2024)       Статьи
     30.04.2024       Выпуск 542 (29.04.2024 - 05.05.2024)       Статьи

Django: An admin extension to prevent state leaking between requests

Here’s a small protection I added to a project a few years ago. I was considering it again since I saw a similar potential bug in a Django middleware. Long live the ModelAdmin instances Django’s admin site is configured by the ModelAdmin class.

     26.04.2024       Выпуск 541 (22.04.2024 - 28.04.2024)       Статьи
     25.04.2024       Выпуск 541 (22.04.2024 - 28.04.2024)       Статьи
     23.04.2024       Выпуск 541 (22.04.2024 - 28.04.2024)       Статьи
     19.04.2024       Выпуск 540 (15.04.2024 - 21.04.2024)       Статьи

7 simple examples using Django GeneratedField

Django 5.0 added a new feature, GeneratedField, which allows us to auto-calculate database fields. This article shows seven short examples of how to use it so the database performs calculations extremely quickly.

     19.04.2024       Выпуск 540 (15.04.2024 - 21.04.2024)       Статьи
     17.04.2024       Выпуск 540 (15.04.2024 - 21.04.2024)       Статьи
     12.04.2024       Выпуск 539 (08.04.2024 - 14.04.2024)       Статьи

How to optimize PostgreSQL queries from Django using pgMustard

A look at what pgMustard does and how to use it with the Django ORM, especially for dissecting slow queries.