Стандартная библиотека python и полезные ресурсы

Стандартная библиотека


Date and time

Math and func


Proceses and threads


Development tools

  • [pydoc]
  • [doctest]
  • [unittest]
  • [trace]
  • [traceback]
  • [cgitb]
  • [inspect]
  • [profile]
  • [timeit]
  • [pdb-python-debugger]
  • tabnanni проверка неоднозначного использования пробелов (смотри еще [flake8])
  • compileall поиск и компиляция файлов в .pyc
  • pyclbr предоставляет ограниченную информацию о функциях, классах и методах, определенных в модуле, написанном на Python. Информации достаточно для реализации обозревателя модулей. Информация извлекается из исходного кода, а не путем импорта модуля, поэтому этот модуль безопасно использовать с ненадежным кодом. Это ограничение делает невозможным использование этого модуля с модулями, не реализованными в Python, включая все стандартные и дополнительные расширения.
  • [venv]
  • [warnings]
  • [dis]
  • [python-import-tools]
  • [setuptools]

Смотри так-же python packaging user guide

Ссылки на статьи

Книги и руководства

Полезные сторонние библиотечки

Code struction

  • xdot.py is an interactive viewer for graphs written in Graphviz’s dot language
  • objgraph is a module that lets you visually explore Python object graphs
  • gprof2dot is a Python script to convert the output from many profilers into a dot graph
  • Python to PlantUML Generate PlantUML class diagrams to document your Python application

Files and objects

  • https://pypdf2.readthedocs.io/en/latest/# PyPDF2 is a free and open source pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. It can also add custom data, viewing options, and passwords to PDF files. PyPDF2 can retrieve text and metadata from PDFs as well
  • [more-itertools]
  • ordered-set
  • [PIL]
  • natsort Simple yet flexible natural sorting in Python

REPL and docks

  • Pyodide in a REPL directly in your browser (no installation needed)
  • bpython fancy interface to the Python interactive interpreter
  • ptpython is an advanced Python REPL
  • devdocs combines multiple developer documentations in a clean and organized web UI with instant search, offline support, mobile version, dark theme, keyboard shortcuts, and more
  • radon is a Python tool which computes various code metrics


  • AnyIO AnyIO is an asynchronous networking and concurrency library that works on top of either asyncio or trio. It implements trio-like structured concurrency (SC) on top of asyncio, and works in harmony with the native SC of trio itself
  • asyncclick смотри [click]
  • asyncer is a small library built on top of AnyIO. It has a small number of utility functions that allow working with async, await, and concurrent code in a more convenient way
  • gevent gevent is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop


  • buildbot is a continuous integration framework written in Python
  • Twisted is an event-based framework for internet applications, supporting Python 3.6+
  • python-qrcode Pure python QR Code generator
  • WTForms is a flexible forms validation and rendering library for Python web development
  • Pipelines several tools to make functional programming composition easy, readable, pythonic, and useful
  • dotmap Dot access dictionary with dynamic hierarchy creation and ordered iteration
  • [PIL]
  • [imagehash]
  • [returns] Make your functions return something meaningful, typed, and safe!
  • shedule Python job scheduling for humans.
  • [blinker]
  • [dependency-injection]


Смотри еще