Best-of Python Developer Tools
🏆 A ranked list of awesome python developer tools and libraries. Updated weekly.
This curated list contains 260 awesome open-source projects with a total of 730K stars grouped into 15 categories. All projects are ranked by a project-quality score, which is calculated based on various metrics automatically collected from GitHub and different package managers. If you like to add or update projects, feel free to open an issue, submit a pull request, or directly edit the projects.yaml. Contributions are very welcome!
🧙♂️ Discover other best-of lists or create your own.
📫 Subscribe to our newsletter for updates and trending projects.
Contents
- Linters & Style Checkers 43 projects
- Code Formatters 7 projects
- Code Refactoring 18 projects
- Code Security 8 projects
- Virtual Environments 9 projects
- Dependency & Package Managers 11 projects
- Code Metrics & Complexity 6 projects
- Logging 21 projects
- Documentation 29 projects
- Debugging Tools 14 projects
- Testing Tools 43 projects
- Code Packaging 16 projects
- Build Tools 14 projects
- System Monitoring & Profiling 18 projects
- AST Tools 6 projects
- Others 1 projects
Explanation
- 🥇🥈🥉 Combined project-quality score
- ⭐️ Star count from GitHub
- 🐣 New project (less than 6 months old)
- 💤 Inactive project (6 months no activity)
- 💀 Dead project (12 months no activity)
- 📈📉 Project is trending up or down
- ➕ Project was recently added
- ❗️ Warning (e.g. missing/risky license)
- 👨💻 Contributors count from GitHub
- 🔀 Fork count from GitHub
- 📋 Issue count from GitHub
- ⏱️ Last update timestamp on package manager
- 📥 Download count from package manager
- 📦 Number of dependent projects
Flake8 related project
Pytest related project
Pylint related project
Sphinx related project
MkDocs related project
Linters & Style Checkers
pycodestyle (🥇36 · ⭐ 4.6K) - Simple Python style checker in one Python file. ❗️Saxpath
wemake-python-styleguide (🥈35 · ⭐ 2K) - The strictest and most opinionated python linter ever!. MIT
pyre-check (🥈34 · ⭐ 6K) - Performant type-checking for python. MIT
pydocstyle (🥈32 · ⭐ 920) - docstring style checker. MIT
pylint-django (🥈30 · ⭐ 520) - Pylint plugin for improving code analysis for when.. ❗️GPL-2.0

flake8-bugbear (🥈29 · ⭐ 780) - A plugin for Flake8 finding likely bugs and design problems.. MIT


check-manifest (🥈27 · ⭐ 260) - Tool to check the completeness of MANIFEST.in for Python packages. MIT
flake8-isort (🥈27 · ⭐ 130 · 📈) - flake8 plugin that integrates isort. ❗️GPL-2.0


flake8-comprehensions (🥉26 · ⭐ 360) - A flake8 plugin to help you write better.. MIT


flake8-quotes (🥉26 · ⭐ 150 · 💤) - Flake8 extension for checking quotes in python. MIT


mypy-protobuf (🥉25 · ⭐ 470) - open source tools to generate mypy stubs from protobufs. Apache-2
flake8-eradicate (🥉24 · ⭐ 260) - Flake8 plugin to find commented out or dead code. MIT


flake8-commas (🥉24 · ⭐ 130 · 💤) - Flake8 extension for enforcing trailing commas in python. MIT


flake8-builtins (🥉24 · ⭐ 83 · 💤) - Check for python builtins being used as variables or.. ❗️GPL-2.0


flake8-black (🥉23 · ⭐ 140) - flake8 plugin to run black for checking Python coding style. MIT


pandas-vet (🥉21 · ⭐ 130) - A plugin for Flake8 that checks pandas code. MIT


flake8-bandit (🥉21 · ⭐ 84) - Automated security testing using bandit and flake8. MIT


flake8-simplify (🥉19 · ⭐ 100) - A flake8 plugin that helps you to simplify code. MIT
pylint-flask (🥉19 · ⭐ 61) - A Pylint plugin to analyze Flask applications. ❗️GPL-2.0

bellybutton (🥉16 · ⭐ 240 · 💤) - Custom Python linting through AST expressions. MIT
Show 9 hidden projects...
- coala (🥈29 · ⭐ 3.3K · 💀) - coala provides a unified command-line interface for linting and..
❗️AGPL-3.0
- pep8-naming (🥈28 · ⭐ 390) - Naming Convention checker for Python.
❗️Saxpath
- flake8-import-order (🥉24 · ⭐ 260 · 💀) - Flake8 plugin that checks import order against..
❗️LGPL-3.0
- data-science-types (🥉23 · ⭐ 190 · 💀) - Mypy stubs, i.e., type information, for numpy, pandas..
Apache-2
- flakehell (🥉19 · ⭐ 230 · 💀) - Flake8 wrapper to make it nice, legacy-friendly, configurable.
MIT
- flake8-mypy (🥉19 · ⭐ 100 · 💀) - A plugin for flake8 integrating Mypy.
MIT
- pycycle (🥉15 · ⭐ 310 · 💀) - Tool for pinpointing circular imports in Python. Find cyclic imports..
MIT
- yala (🥉14 · ⭐ 13 · 💤) - Yet Another Linter Aggregator.
MIT
- linty_fresh (🥉13 · ⭐ 180 · 💀) - Surface lint errors during code review.
Apache-2
mypy
Code Formatters
autopep8 (🥉34 · ⭐ 4.1K · 📉) - A tool that automatically formats Python code to conform to the PEP.. MIT
docformatter (🥉24 · ⭐ 290) - Formats docstrings to follow PEP 257. MIT
Show 2 hidden projects...
- pyformat (🥉18 · ⭐ 91 · 💀) - Formats Python code to follow a consistent style.
❗️Saxpath
- autoimport (🥉17 · ⭐ 47) - Autoimport automatically fixes wrong import statements.
❗️GPL-3.0
Code Refactoring
jedi (🥇39 · ⭐ 5.2K) - Awesome autocompletion, static analysis and refactoring library for python. MIT
rope (🥇35 · ⭐ 1.4K) - a python refactoring library. ❗️LGPL-3.0
pyupgrade (🥈30 · ⭐ 1.9K) - A tool (and pre-commit hook) to automatically upgrade syntax for newer.. MIT
MonkeyType (🥈26 · ⭐ 3.9K) - A Python library that generates static type annotations by.. BSD-3
redbaron (🥈24 · ⭐ 640 · 💤) - Bottom-up approach to refactoring in python. ❗️LGPL-3.0
baron (🥉23 · ⭐ 270 · 💤) - IDE allow you to refactor code, Baron allows you to write.. ❗️LGPL-3.0
pyannotate (🥉22 · ⭐ 1.3K · 💤) - Auto-generate PEP-484 annotations. Apache-2
add-trailing-comma (🥉22 · ⭐ 250) - A tool (and pre-commit hook) to automatically add trailing.. MIT
Show 5 hidden projects...
- autoflake (🥈27 · ⭐ 560 · 💀) - Removes unused imports and unused variables as reported by pyflakes.
MIT
- eradicate (🥈24 · ⭐ 140) - Removes commented-out code from Python files.
❗️Saxpath
- unify (🥉20 · ⭐ 71 · 💀) - Modifies strings to all use the same quote where possible.
MIT
- pep8ify (🥉15 · ⭐ 120 · 💀) - A library that modifies python source code to conform to pep8.
Apache-2
- massedit (🥉14 · ⭐ 100 · 💀) - Programmatically edit text files with Python. Useful for source to..
MIT
Code Security
bandit (🥇37 · ⭐ 4.3K) - Bandit is a tool designed to find common security issues in Python.. Apache-2
detect-secrets (🥈31 · ⭐ 2.4K) - An enterprise friendly way of detecting and preventing.. Apache-2
safety (🥈31 · ⭐ 1.3K) - Safety checks Python dependencies for known security vulnerabilities and.. MIT
dlint (🥉19 · ⭐ 95) - Dlint is a tool for encouraging best coding practices and helping ensure.. BSD-3
Show 3 hidden projects...
- pyarmor (🥈33 · ⭐ 1.7K) - A tool used to obfuscate python scripts, bind obfuscated scripts..
❗️SGI-B-2.0
- pyt (🥉23 · ⭐ 2.1K · 💀) - A Static Analysis Tool for Detecting Security Vulnerabilities in..
❗️GPL-2.0
- dodgy (🥉20 · ⭐ 110 · 💀) - Looks at Python code to search for things which look dodgy such as..
MIT
Virtual Environments
virtualenv (🥈41 · ⭐ 4.2K · 📈) - Virtual Python Environment builder. MIT
pyenv-virtualenv (🥉19 · ⭐ 5.1K) - a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv). MIT
-
GitHub (👨💻 49 · 🔀 330 · 📋 330 - 39% open · ⏱️ 19.05.2022):
git clone https://github.com/pyenv/pyenv-virtualenv
dh-virtualenv (🥉16 · ⭐ 1.5K) - Python virtualenvs in Debian packages. ❗️GPL-2.0
-
GitHub (👨💻 59 · 🔀 170 · 📋 200 - 12% open · ⏱️ 15.07.2022):
git clone https://github.com/spotify/dh-virtualenv
pyenv-installer (🥉15 · ⭐ 3.3K) - This tool is used to install `pyenv` and friends. MIT
-
GitHub (👨💻 35 · 🔀 350 · 📋 72 - 8% open · ⏱️ 01.05.2022):
git clone https://github.com/pyenv/pyenv-installer
Show 2 hidden projects...
- vex (🥉18 · ⭐ 370 · 💀) - Run a command in the named virtualenv.
MIT
- pipenv-pipes (🥉12 · ⭐ 130 · 💀) - A PipEnv Environment Switcher.
MIT
Dependency & Package Managers
pipreqs (🥈30 · ⭐ 4.4K · 💤) - pipreqs - Generate pip requirements.txt file based on imports of.. Apache-2
Show 1 hidden projects...
Code Metrics & Complexity
prospector (🥈28 · ⭐ 1.7K) - Inspects Python source files and provides information about.. ❗️GPL-2.0
wily (🥉24 · ⭐ 960) - A Python application for tracking, reporting on timing and complexity in.. Apache-2
Show 1 hidden projects...
Logging
rich (🥇43 · ⭐ 39K) - Rich is a Python library for rich text and beautiful formatting in the terminal. MIT
tqdm (🥇41 · ⭐ 23K) - A Fast, Extensible Progress Bar for Python and CLI. MPL-2.0
-
GitHub (👨💻 110 · 🔀 1.1K · 📥 9.4K · 📦 310K · 📋 900 - 38% open · ⏱️ 04.04.2022):
git clone https://github.com/tqdm/tqdm
-
PyPi (📥 40M / month · 📦 22K · ⏱️ 04.04.2022):
pip install tqdm
-
Conda (📥 13M · ⏱️ 04.04.2022):
conda install -c conda-forge tqdm
-
Docker Hub (📥 4K · ⭐ 2 · ⏱️ 23.07.2022):
docker pull tqdm/tqdm
sentry-sdk (🥇38 · ⭐ 1.3K) - The official Python SDK for Sentry.io. BSD-2
python-json-logger (🥈35 · ⭐ 1.3K) - Json Formatter for the standard python logger. BSD-2
progressbar2 (🥈32 · ⭐ 780) - Progressbar 2 - A progress bar for Python 2 and Python 3 - pip.. BSD-3
alive-progress (🥉28 · ⭐ 3.6K) - A new kind of Progress Bar, with real-time throughput, ETA, and.. MIT
rebound (🥉24 · ⭐ 3.9K) - Command-line tool that instantly fetches Stack Overflow results when an.. MIT
stackprinter (🥉24 · ⭐ 1.2K) - Debugging-friendly exceptions for Python. MIT
better-exceptions (🥉23 · ⭐ 4.2K · 💤) - Pretty and useful exceptions in Python, automatically. MIT
PrettyErrors (🥉22 · ⭐ 2.6K · 💤) - Prettify Python exception output to make it legible. MIT
python-devtools (🥉17 · ⭐ 540 · 📉) - Dev tools for python. MIT
Show 4 hidden projects...
- logbook (🥈32 · ⭐ 1.4K · 💀) - A cool logging replacement for Python.
BSD-3
- prettytable (🥉28 · ⭐ 820) - Display tabular data in a visually appealing ASCII table..
❗️BSD-1-Clause
- python-coloredlogs (🥉27 · ⭐ 480 · 💀) - Colored terminal output for Pythons logging module.
MIT
- tbvaccine (🥉16 · ⭐ 360 · 💀) - A small utility to pretty-print Python tracebacks.
MIT
Documentation
🔗 best-of-mkdocs ( ⭐ 29 · 🐣) - Collection of MkDocs projects and plugins.
mkdocs-material (🥇39 · ⭐ 10K · 📉) - Documentation that simply works. MIT


sphinx_rtd_theme (🥈35 · ⭐ 4.1K) - Sphinx theme for readthedocs.org. MIT

sphinx-autodoc-typehints (🥈29 · ⭐ 430) - Type hints support for the Sphinx autodoc extension. MIT

mkdocstrings (🥈27 · ⭐ 800) - Automatic documentation from sources, for MkDocs. ISC


sphinx-bootstrap-theme (🥈27 · ⭐ 580) - Sphinx Bootstrap Theme. MIT

pdoc3 (🥉26 · ⭐ 860) - Auto-generate API documentation for Python projects. ❗️AGPL-3.0
interrogate (🥉25 · ⭐ 380 · 💤) - Explain yourself! Interrogate a codebase for docstring coverage. MIT
mkdocs-awesome-pages-plugin (🥉23 · ⭐ 250) - An MkDocs plugin that simplifies configuring page.. MIT


blacken-docs (🥉22 · ⭐ 410) - Run `black` on python code blocks in documentation files. MIT
mkdocs-with-pdf (🥉22 · ⭐ 170 · 💤) - Generate a single PDF file from MkDocs repository. MIT


mkdocs-pdf-export-plugin (🥉21 · ⭐ 250 · 💤) - An MkDocs plugin to export content pages as PDF files. MIT


Griffe (🥉21 · ⭐ 98) - Signatures for entire Python programs. Extract the structure, the frame, the.. ISC
sphinx-markdown-builder (🥉19 · ⭐ 130) - sphinx builder that outputs markdown files. MIT

lazydocs (🥉19 · ⭐ 93) - Generate markdown API documentation from Google-style Python docstring... MIT
Show 7 hidden projects...
- sphinx-autobuild (🥉25 · ⭐ 410 · 💀) - Watch a Sphinx directory and rebuild the..
MIT
- pycco (🥉22 · ⭐ 790 · 💀) - Literate-style documentation generator.
MIT
- portray (🥉20 · ⭐ 790 · 💀) - Your Project with Great Documentation.
MIT
- pytkdocs (🥉20 · ⭐ 48) - Load Python objects documentation.
ISC
- mkdocs-git-revision-date-plugin (🥉19 · ⭐ 43) - MkDocs plugin for setting revision date from git per..
MIT
- mkdocs-print-site-plugin (🥉19 · ⭐ 42) - MkDocs Plugin that adds an additional page that..
MIT
- mkdocs-versioning (🥉16 · ⭐ 38 · 💤) - A tool that allows for versioning sites built with..
MIT
Debugging Tools
pyelftools (🥇31 · ⭐ 1.5K) - Parsing ELF and DWARF in Python. Unlicense
gdbgui (🥈28 · ⭐ 8.7K) - Browser-based frontend to gdb (gnu debugger). Add breakpoints, view.. ❗️GPL-3.0
python-hunter (🥉21 · ⭐ 680 · 💤) - Hunter is a flexible code tracing toolkit. BSD-2
Birdseye (🥉20 · ⭐ 1.5K) - Graphical Python debugger which lets you easily view the values of all.. MIT
python-manhole (🥉19 · ⭐ 330) - Debugging manhole for python applications. BSD-2
Show 1 hidden projects...
Testing Tools
🔗 best-of-web-python - Testing ( ⭐ 1.6K) - Testing libraries & tools for python web frameworks.
🔗 unittest - Unittest is a test framework included in the Python standard library.
robotframework (🥇41 · ⭐ 7.1K) - Generic automation framework for acceptance testing and RPA. Apache-2
hypothesis (🥇40 · ⭐ 6.1K · 📈) - Hypothesis is a powerful, flexible, and easy to use library.. MPL-2.0
pytest-cov (🥇36 · ⭐ 1.3K) - Coverage plugin for pytest. MIT


pytest-mock (🥈34 · ⭐ 1.4K) - Thin-wrapper around the mock package for easier use with pytest. MIT


pyautogui (🥈33 · ⭐ 6.9K · 💤) - A cross-platform GUI automation Python module for human beings... BSD-3
playwright-python (🥈32 · ⭐ 6.7K) - Python version of the Playwright testing and automation.. Apache-2
factory_boy (🥈32 · ⭐ 2.9K) - A test fixtures replacement for Python. MIT
pytest-asyncio (🥈32 · ⭐ 980) - Pytest support for asyncio. Apache-2


pytest-xdist (🥈32 · ⭐ 940) - pytest plugin for distributed testing and loop-on-failures.. MIT


pytest-html (🥈32 · ⭐ 510) - Plugin for generating HTML reports for pytest results. MPL-2.0


pytest-bdd (🥈31 · ⭐ 1K) - BDD library for the py.test runner. MIT


coveralls-python (🥈31 · ⭐ 470) - Show coverage stats online via coveralls.io. MIT


pytest-sugar (🥉29 · ⭐ 880) - a plugin for py.test that changes the default look and feel.. BSD-3


PyHamcrest (🥉28 · ⭐ 650) - Hamcrest matchers for Python. BSD-3
pytest-testinfra (🥉27 · ⭐ 2.1K) - Testinfra test your infrastructures. Apache-2


asv (🥉26 · ⭐ 700) - Airspeed Velocity: A simple Python benchmarking tool with web-based reporting. BSD-3
pytest-randomly (🥉26 · ⭐ 440) - Pytest plugin to randomly order tests and control random.seed. MIT
pytest-mypy (🥉26 · ⭐ 210) - Mypy static type checker plugin for Pytest. MIT


pytest-benchmark (🥉25 · ⭐ 940) - py.test fixture for benchmarking code. BSD-2


pytest-plugins (🥉25 · ⭐ 460 · 📈) - A grab-bag of nifty pytest plugins. MIT
pytest-testmon (🥉23 · ⭐ 570) - Selects tests affected by changed files. Executes the.. ❗️AGPL-3.0


pytest-docker (🥉22 · ⭐ 300) - Docker-based integration tests. MIT


pytest-lazy-fixture (🥉20 · ⭐ 270) - It helps to use fixtures in pytest.mark.parametrize. MIT


pytest-datadir (🥉20 · ⭐ 170) - pytest plugin for manipulating test data directories and.. MIT


Show 8 hidden projects...
- nose (🥈34 · ⭐ 1.4K · 💀) - nose is nicer testing for python.
❗️LGPL-2.1+
- uiautomator (🥉27 · ⭐ 1.8K · 💀) - Python wrapper of Android uiautomator test tool.
MIT
- pytest-watch (🥉26 · ⭐ 650 · 💀) - Local continuous test runner with pytest and watchdog.
MIT
- Mamba Test Runner (🥉24 · ⭐ 490 · 💀) - The definitive testing tool for Python. Born under the..
MIT
- sixpack (🥉23 · ⭐ 1.7K · 💀) - Sixpack is a language-agnostic a/b-testing framework.
BSD-2
- assertpy (🥉19 · ⭐ 250 · 💀) - Simple assertion library for unit testing in python with a fluent..
BSD-3
- fake2db (🥉18 · ⭐ 2.1K · 💀) - create custom test databases that are populated with fake data.
❗️GPL-2.0
- pytest-play (🥉15 · ⭐ 65 · 💀) - pytest plugin that let you automate actions and..
Apache-2
Code Packaging
🔗 Python.org Packaging - An Overview of Packaging for Python.
pyinstaller (🥇37 · ⭐ 9.4K) - Freeze (package) Python programs into stand-alone executables. ❗️GPL-2.0
Nuitka (🥇36 · ⭐ 7.2K) - Nuitka is a Python compiler written in Python. Its fully compatible.. Apache-2
PyOxidizer (🥈31 · ⭐ 3.9K) - A modern Python application packaging and distribution tool. MPL-2.0
cx_Freeze (🥉29 · ⭐ 940) - Create standalone executables from Python scripts, with the same.. Python-2.0
shiv (🥉24 · ⭐ 1.5K) - shiv is a command line utility for building fully self contained Python.. BSD-2
py2exe (🥉24 · ⭐ 440) - A distutils extension to create standalone Windows programs from Python code. MIT
constructor (🥉23 · ⭐ 370) - tool for creating installers from conda packages. BSD-3
Show 2 hidden projects...
Build Tools
setuptools (🥇45 · ⭐ 1.7K) - Official project repository for the Setuptools build system. MIT
buildbot (🥇35 · ⭐ 4.9K) - Python-based continuous integration testing framework; your pull.. ❗️GPL-2.0
setuptools_scm (🥈34 · ⭐ 610) - the blessed package to manage your versions by scm tags. MIT
universal-build (🥉14 · ⭐ 17 · 💤) - Universal build utilities for containerized build pipelines. MIT
Show 3 hidden projects...
System Monitoring & Profiling
Glances (🥇37 · ⭐ 21K) - Glances an Eye on your system. A top/htop alternative for.. ❗️LGPL-3.0
py-spy (🥈32 · ⭐ 8.7K) - Sampling profiler for Python programs. MIT
-
GitHub (👨💻 29 · 🔀 310 · 📥 9.5K · 📦 300 · 📋 250 - 33% open · ⏱️ 19.05.2022):
git clone https://github.com/benfred/py-spy
-
PyPi (📥 990K / month · 📦 38 · ⏱️ 17.05.2022):
pip install py-spy
-
Conda (📥 320K · ⏱️ 18.12.2021):
conda install -c conda-forge py-spy
-
Cargo (📥 960 / month · 📦 1 · ⏱️ 17.05.2022):
cargo install py-spy
pyinstrument (🥈32 · ⭐ 4.6K) - Call stack profiler for Python. Shows you why your code is slow!. BSD-3
Scalene (🥈30 · ⭐ 5.9K) - Scalene: a high-performance, high-precision CPU, GPU, and memory.. Apache-2
memory-profiler (🥈29 · ⭐ 3.5K) - Monitor Memory usage of Python code. BSD-3
Diamond (🥈29 · ⭐ 1.7K) - Diamond is a python daemon that collects system metrics and publishes.. MIT
Yappi (🥉28 · ⭐ 940) - Yet Another Python Profiler, but this time thread&coroutine&greenlet aware. MIT
line_profiler (🥉26 · ⭐ 1.3K) - Line-by-line profiling for Python. BSD-3
pympler (🥉26 · ⭐ 940) - Development tool to measure, monitor and analyze the memory behavior.. Apache-2
heartrate (🥉19 · ⭐ 1.4K · 💤) - Simple real time visualisation of the execution of a Python program. MIT
pyheat (🥉18 · ⭐ 720 · 💤) - pprofile + matplotlib = Python program profiled as an awesome heatmap!. MIT
Show 3 hidden projects...
- memory_profiler (🥉25 · ⭐ 3.5K · 💀) - Monitor Memory usage of Python code.
BSD-3
- Profiling (🥉21 · ⭐ 3K · 💀) - Was an interactive continuous Python profiler.
BSD-3
- livepython (🥉12 · ⭐ 2.5K · 💀) - Visually trace Python code in real-time.
MIT
AST Tools
typed_ast (🥇30 · ⭐ 210) - Modified fork of CPythons ast module that parses `# type:` comments. Apache-2
Show 1 hidden projects...
- astunparse (🥉27 · ⭐ 180 · 💀) - An AST unparser for Python.
BSD-3
Others
pre-commit (🥇39 · ⭐ 8.5K) - A framework for managing and maintaining multi-language pre-commit.. MIT
Related Resources
- Best-of lists: Discover other best-of lists with awesome open-source projects on all kinds of topics.
Contribution
Contributions are encouraged and always welcome! If you like to add or update projects, choose one of the following ways:
- Open an issue by selecting one of the provided categories from the issue page and fill in the requested information.
- Modify the projects.yaml with your additions or changes, and submit a pull request. This can also be done directly via the Github UI.
If you like to contribute to or share suggestions regarding the project metadata collection or markdown generation, please refer to the best-of-generator repository. If you like to create your own best-of list, we recommend to follow this guide.
For more information on how to add or update projects, please read the contribution guidelines. By participating in this project, you agree to abide by its Code of Conduct.