Стандартная библиотека python и полезные ресурсы
Теги: python-standart-library
Стандартная библиотека
- [python-glossary]
- [python-datamodel]
- [python-namespaces] о пространстве имен в python
- [python-buildin-functions]
- [python-filesystem] работа с файлами
- [python-interptetator-and-env-utils] взаимодействие с интерпретатором и окружением в python
- [python-decorator]
- [python-dataclasses]
- [python-descriptors]
- [python-iterators-example]
- [python-patterns]
- [abc] абстрактные базовые классы
- [try-except] про ошибки в python
- [python-buildin-functions]
- [python-complexity]
- [python-super-guide]
- os and Path/PurePath equivalent
Support
- [type-annotation]
- [typing] модуль typing
- [python-logging]
- [argparsing]
- [atexit-and-sched]
Date and time
- [date-and-time-in-python]
- [datetime]
- [time]
- [calendar]
Math and func
- [mathematic-in-python]
- [functools]
- [itertools]
- [enumerate]
- [chainmap]
- [counter]
- [deque]
- [defaultdict]
- [ordereddict]
- [heapq]
- [bisect]
- [queue]
- ordered-set
Data
- [data-storage-python] pickle, shelve, dbm
- [archives-in-python] архивация
- [python-cryptography]
- [python-reading-and-writing-files]
Proceses and threads
- [multiprocess] процессы в python
- [threading] управления параллельными вычислениями
- [asyncio]
- [asyncio-transports-and-protocols]
- [contextvars]
Apps
- [email-tools-python]
- [nets-with-python] сети и интернет
- [urllibparse]
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]
Смотри так-же python packaging user guide
Ссылки на статьи
- Когда использовать List Comprehension в Python
- Списковые включения в примерах
- Временная сложность структур python
- Yo, I heard you like decorators
Полезные сторонние библиотечки
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
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
Asunc
- 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
Other
- 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
Смотри еще
- [remove-dict-key-python]
- [calling-finction-by-name-python]
- [2022-04-26-daily-note] как заменить запятые на точки в сложных строках, содержащих смешанные цифры и другие знаки