Собрали в одном месте самые важные ссылки
консультируем про IT, Python
In this tutorial, you'll learn to specify multiple return types using type hints in Python. You'll cover working with one or several pieces of data, defining type aliases, and type checking with a third-party static type checker tool.
This post sums up the progress and thinking on the no-GIL work in Python. It summarizes some of the PEPs involved as well as active conversations in the discussion groups.
Middleware in a web stack framework is able to intercept all requests allowing you to write common request processing code across all your views. This article shows you how to write middleware for FastAPI.
This article shows you how to use MongoMock and MockS3 to power your integration tests on a FastAPI based project.
Abstractive summary is an AI task that rephrases and condenses text content into a summary. This article is a deep dive into how to ensure correctness and the math involved in ensuring fluency, coherence, relevance, and consistency.
In this tutorial, you'll preview the new static typing features in Python 3.12. You'll learn about the new syntax for type variables, making generics simpler to define. You'll also see how @override lets you model inheritance and how you use typed dictionaries to annotate variable keyword arguments.
In this tutorial, you'll preview one of the upcoming features of Python 3.12 and a proposed change to Python 3.13, addressing how subinterpreters work in the CPython program. The changes are described in PEP 684 and PEP 554.