/awesome-python-dev

List of tools for debugging, profiling and analyzing python programs.

awesome-python-dev

List of tools for debugging, profiling and analyzing python programs.

Contents

CPU Profilers

  • py-spy - Sampling profiler running in separate process
  • pyflame - A Ptracing Profiler For Python

Memory Profilers

  • Pympler - Pympler is a development tool to measure, monitor and analyze the memory behavior of Python objects in a running Python application

Debuggers

  • pudb - Full-screen console debugger for Python
  • ipython - Productive Interactive Computing

Static Analysis

  • pylint - a Python static code analysis tool which looks for programming errors, helps enforcing a coding standard, sniffs for code smells and offers simple refactoring suggestions.
  • flake8 - a wrapper around these tools: PyFlakes, pycodestyle, Ned Batchelder's McCabe script
  • pyflakes - a simple program which checks Python source files for errors
  • prospector - a tool to analyse Python code and output information about errors, potential problems, convention violations and complexity
  • mccabe - Ned's script to check McCabe complexity

Type Checking

  • pytype - checks and infers types for your Python code - without requiring type annotations
  • pyre - a performant type checker for python
  • mypy - an optional static type checker for Python
  • pyright - a fast type checker meant for large Python source bases

Security

  • bandit - a tool designed to find common security issues in Python code

Other

  • pysonar2 - a semantic indexer library for Python, designed for batch processing of large code bases
  • autopep8 - a tool that automatically formats Python code to conform to the PEP 8 style guide

Feedback

Feel free to share feedback in this telegram chats: @grablab (English) and @grablab_ru (Russian)