关于¶ 概要: Python笔记概览 Python入门系列¶ 已完成 From book A byte of Python Python习惯 Python字符串与格式化 Python运算符 Python控制流 Python函数 Python数据结构 Python模块 Python面向对象编程 Python异常 Python IO与文件编码 Python标准库 Python进阶系列¶ 进行中 From book Fluent Python Chapter 1 The Python Data Model Python第三方库系列¶ 已完成 使用Flake8进行PEP8规范检查 使用pytest进行单元测试 使用pyinstaller打包Python项目 使用slowapi为FastAPI限流 使用clamap创建热力图 使用pendulum处理日期时间 使用schedule执行定时任务 使用send2trash将文件移动到回收站 待完成 使用coverage.py进行覆盖率检查 使用diff-cover进行增量覆盖率检测 使用mypy进行类型检查 使用loguru管理Python日志 使用bpython作为更佳的交互终端 使用pydantic进行数据校验 使用python-barcode生成条形码 使用qrcode生成二维码 使用PyPDF处理PDF文件 使用watchdog监控文件系统 Python常用资料¶ 提示 推荐的工具或文档已加粗 类型 名称 作用 项目地址 最佳实践 Python最佳实践 Python最佳实践 https://github.com/realpython/python-guide cookbook Python Cookbook Python常见场景代码编写 https://github.com/yidao620c/python3-cookbook awesome Awesome Python Python框架库模块等资源 NA 代码规范 PEP8 Python代码风格指南 https://github.com/PyCQA/pyflakes Google Style Google Python代码风格指南 https://github.com/google/styleguide 检查工具 pyflakes 语法错误检查 https://github.com/PyCQA/pyflakes pylint 语法错误检查 https://github.com/PyCQA/pylint pycodestyle 代码风格检查 https://github.com/PyCQA/pycodestyle mccabe 圈复杂度检查 https://github.com/PyCQA/mccabe pydocstyle 文档风格检查 https://github.com/PyCQA/pydocstyle pep8-naming 命名规范检查 https://github.com/PyCQA/pep8-naming flake8 语法代码复杂度检查 https://github.com/PyCQA/flake8 格式化工具 autopep8 格式化代码满足PEP8标准 https://github.com/hhatto/autopep8 black 一站式代码格式化工具 https://github.com/psf/black isort 对导入的包进行格式化 https://github.com/pycqa/isort ruff 高性能代码格式化工具 https://github.com/charliermarsh/ruff 类型检查 mypy Python官方出品 https://github.com/python/mypy pytype 谷歌出品 https://github.com/google/pytype pyright 微软出品 https://github.com/microsoft/pyright pyre Meta出品 https://github.com/facebook/pyre-check 测试工具 unittest Python测试标准库 NA pytest 编写可读性更强的测试代码 https://github.com/pytest-dev/pytest coverage.py Python代码覆盖率检查 https://github.com/nedbat/coveragepy diff-cover Python代码增量覆盖率检查 https://github.com/Bachmann1234/diff_cover