Best-of Python Developer Tools
🏆 A ranked list of awesome python developer tools and libraries. Updated weekly.
This curated list contains 250 awesome open-source projects with a total of 660K 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 42 projects
- Code Formatters 6 projects
- Code Refactoring 18 projects
- Code Security 8 projects
- Virtual Environments 8 projects
- Dependency & Package Mangers 10 projects
- Code Metrics & Complexity 6 projects
- Logging 21 projects
- Documentation 26 projects
- Debugging Tools 13 projects
- Testing Tools 43 projects
- Code Packaging 16 projects
- Build Tools 14 projects
- System Monitoring & Profiling 17 projects
- AST Tools 5 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 (🥇37 · ⭐ 4.5K) - Simple Python style checker in one Python file. ❗️Saxpath
wemake-python-styleguide (🥇35 · ⭐ 1.7K) - The strictest and most opinionated python linter ever!. MIT
pyre-check (🥈33 · ⭐ 5.7K) - Performant type-checking for python. MIT
pylint-django (🥈32 · ⭐ 490) - Pylint plugin for improving code analysis for when.. ❗️GPL-2.0

pydocstyle (🥈31 · ⭐ 840) - docstring style checker. MIT
flake8-bugbear (🥈30 · ⭐ 670) - A plugin for Flake8 finding likely bugs and design problems.. MIT


coala (🥈29 · ⭐ 3.3K · 💤) - coala provides a unified command-line interface for linting and.. ❗️AGPL-3.0
mypy-protobuf (🥈28 · ⭐ 420) - open source tools to generate mypy stubs from protobufs. Apache-2
darglint (🥉27 · ⭐ 380) - A python documentation linter which checks that the docstring description.. MIT
flake8-comprehensions (🥉26 · ⭐ 320) - A flake8 plugin to help you write better.. MIT


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


flake8-isort (🥉25 · ⭐ 110 · 📉) - flake8 plugin that integrates isort. ❗️GPL-2.0


check-manifest (🥉24 · ⭐ 250) - Tool to check the completeness of MANIFEST.in for Python packages. MIT
flake8-eradicate (🥉24 · ⭐ 220) - Flake8 plugin to find commented out or dead code. MIT


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


data-science-types (🥉22 · ⭐ 190 · 💤) - Mypy stubs, i.e., type information, for numpy, pandas.. Apache-2
flake8-black (🥉20 · ⭐ 100) - flake8 plugin to run black for checking Python coding style. MIT


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


pandas-vet (🥉19 · ⭐ 120 · 💤) - A plugin for Flake8 that checks pandas code. MIT


pylint-flask (🥉19 · ⭐ 59 · 💤) - A Pylint plugin to analyze Flask applications. ❗️GPL-2.0

bellybutton (🥉16 · ⭐ 230) - Custom Python linting through AST expressions. MIT
Show 7 hidden projects...
- pep8-naming (🥈28 · ⭐ 350) - Naming Convention checker for Python.
❗️Saxpath
- flake8-import-order (🥉24 · ⭐ 250 · 💀) - Flake8 plugin that checks import order against..
❗️LGPL-3.0
- flake8-mypy (🥉19 · ⭐ 100 · 💀) - A plugin for flake8 integrating Mypy.
MIT
- flake8-bandit (🥉18 · ⭐ 65 · 💀) - Automated security testing using bandit and flake8.
MIT
- yala (🥉17 · ⭐ 13) - Yet Another Linter Aggregator.
MIT
- pycycle (🥉16 · ⭐ 300 · 💀) - Tool for pinpointing circular imports in Python. Find cyclic imports..
MIT
- linty_fresh (🥉13 · ⭐ 180 · 💀) - Surface lint errors during code review.
Apache-2
mypy
Code Formatters
Show 2 hidden projects...
- docformatter (🥉24 · ⭐ 240 · 💀) - Formats docstrings to follow PEP 257.
MIT
- pyformat (🥉17 · ⭐ 84 · 💀) - Formats Python code to follow a consistent style.
❗️Saxpath
Code Refactoring
rope (🥇36 · ⭐ 1.3K) - a python refactoring library. ❗️LGPL-3.0
pyupgrade (🥈29 · ⭐ 1.4K) - A tool (and pre-commit hook) to automatically upgrade syntax for newer.. MIT
redbaron (🥈25 · ⭐ 620) - Bottom-up approach to refactoring in python. ❗️LGPL-3.0
baron (🥈25 · ⭐ 270) - IDE allow you to refactor code, Baron allows you to write refactoring.. ❗️LGPL-3.0
MonkeyType (🥉24 · ⭐ 3.6K) - A Python library that generates static type annotations by.. BSD-3
add-trailing-comma (🥉22 · ⭐ 210) - A tool (and pre-commit hook) to automatically add trailing.. MIT
pyannotate (🥉21 · ⭐ 1.3K) - Auto-generate PEP-484 annotations. Apache-2
Show 5 hidden projects...
- autoflake (🥈26 · ⭐ 470 · 💀) - Removes unused imports and unused variables as reported by pyflakes.
MIT
- eradicate (🥉18 · ⭐ 120 · 💀) - Removes commented-out code from Python files.
❗️Saxpath
- unify (🥉18 · ⭐ 65 · 💀) - 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 (🥉15 · ⭐ 95 · 💀) - Programmatically edit text files with Python. Useful for source to..
MIT
Code Security
bandit (🥇34 · ⭐ 3.8K) - Bandit is a tool designed to find common security issues in Python.. Apache-2
detect-secrets (🥉29 · ⭐ 2.1K) - An enterprise friendly way of detecting and preventing.. Apache-2
dlint (🥉20 · ⭐ 79) - Dlint is a tool for encouraging best coding practices and helping ensure.. BSD-3
Show 2 hidden projects...
- pyarmor (🥈30 · ⭐ 1.3K) - 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
Virtual Environments
virtualenv (🥈40 · ⭐ 4K) - Virtual Python Environment builder. MIT
pyenv-virtualenv (🥉20 · ⭐ 4.7K) - a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv). MIT
-
GitHub (👨💻 46 · 🔀 310 · 📋 330 - 40% open · ⏱️ 13.11.2021):
git clone https://github.com/pyenv/pyenv-virtualenv
pyenv-installer (🥉16 · ⭐ 3K) - This tool is used to install `pyenv` and friends. MIT
-
GitHub (👨💻 33 · 🔀 320 · 📋 69 - 7% open · ⏱️ 27.08.2021):
git clone https://github.com/pyenv/pyenv-installer
dh-virtualenv (🥉16 · ⭐ 1.5K) - Python virtualenvs in Debian packages. ❗️GPL-2.0
-
GitHub (👨💻 58 · 🔀 160 · 📋 190 - 12% open · ⏱️ 10.11.2021):
git clone https://github.com/spotify/dh-virtualenv
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 Mangers
pipreqs (🥉30 · ⭐ 4K) - pipreqs - Generate pip requirements.txt file based on imports of any.. Apache-2
dephell (🥉25 · ⭐ 1.7K · 💤) - Python project management. Manage packages: convert between formats,.. MIT
Code Metrics & Complexity
prospector (🥇30 · ⭐ 1.6K) - Inspects Python source files and provides information about.. ❗️GPL-2.0
wily (🥉21 · ⭐ 840) - A Python application for tracking, reporting on timing and complexity in.. Apache-2
Show 1 hidden projects...
Logging
tqdm (🥇40 · ⭐ 21K) - A Fast, Extensible Progress Bar for Python and CLI. MPL-2.0
-
GitHub (👨💻 110 · 🔀 1.1K · 📥 8.2K · 📦 240K · 📋 870 - 37% open · ⏱️ 20.09.2021):
git clone https://github.com/tqdm/tqdm
-
PyPi (📥 26M / month · 📦 21K · ⏱️ 15.12.2021):
pip install tqdm
-
Conda (📥 9.3M · ⏱️ 20.09.2021):
conda install -c conda-forge tqdm
-
Docker Hub (📥 4K · ⭐ 2 · ⏱️ 30.10.2021):
docker pull tqdm/tqdm
rich (🥇39 · ⭐ 33K) - Rich is a Python library for rich text and beautiful formatting in the terminal. MIT
sentry-sdk (🥇37 · ⭐ 1.1K) - The new Python SDK for Sentry.io. BSD-2
python-json-logger (🥈33 · ⭐ 1.2K) - Json Formatter for the standard python logger. BSD-2
progressbar2 (🥈33 · ⭐ 750) - Progressbar 2 - A progress bar for Python 2 and Python 3 - pip.. BSD-3
python-coloredlogs (🥉27 · ⭐ 450 · 💤) - Colored terminal output for Pythons logging module. MIT
rebound (🥉24 · ⭐ 3.8K · 💤) - Command-line tool that instantly fetches Stack Overflow results when.. MIT
alive-progress (🥉24 · ⭐ 3K · 📉) - A new kind of Progress Bar, with real-time throughput, ETA,.. MIT
better-exceptions (🥉23 · ⭐ 4.1K) - Pretty and useful exceptions in Python, automatically. MIT
PrettyErrors (🥉22 · ⭐ 2.4K) - Prettify Python exception output to make it legible. MIT
stackprinter (🥉22 · ⭐ 1.2K · 💤) - Debugging-friendly exceptions for Python. MIT
python-devtools (🥉19 · ⭐ 450) - Dev tools for python. MIT
Show 3 hidden projects...
- logbook (🥈32 · ⭐ 1.4K · 💀) - A cool logging replacement for Python.
BSD-3
- prettytable (🥉28 · ⭐ 650) - Display tabular data in a visually appealing ASCII table..
❗️BSD-1-Clause
- tbvaccine (🥉15 · ⭐ 360 · 💀) - A small utility to pretty-print Python tracebacks.
MIT
Documentation
mkdocs-material (🥇40 · ⭐ 8.5K) - Technical documentation that just works. MIT


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

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

pdoc3 (🥈27 · ⭐ 770) - Auto-generate API documentation for Python projects. ❗️AGPL-3.0
mkdocstrings (🥈27 · ⭐ 580) - Automatic documentation from sources, for MkDocs. ISC


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

interrogate (🥉25 · ⭐ 330) - Explain yourself! Interrogate a codebase for docstring coverage. MIT
sphinx-autobuild (🥉24 · ⭐ 370 · 💤) - Watch a Sphinx directory and rebuild the.. MIT

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


blacken-docs (🥉22 · ⭐ 310) - Run `black` on python code blocks in documentation files. MIT
mkdocs-awesome-pages-plugin (🥉21 · ⭐ 210) - An MkDocs plugin that simplifies configuring page.. MIT


mkdocs-with-pdf (🥉20 · ⭐ 120) - Generate a single PDF file from MkDocs repository. MIT


sphinx-markdown-builder (🥉19 · ⭐ 120) - sphinx builder that outputs markdown files. MIT

lazydocs (🥉17 · ⭐ 60) - Generate markdown API documentation from Google-style Python docstring... MIT
Show 4 hidden projects...
- pycco (🥉21 · ⭐ 760 · 💀) - Literate-style documentation generator.
MIT
- mkdocs-print-site-plugin (🥉19 · ⭐ 30) - MkDocs Plugin that adds an additional page that..
MIT
- mkdocs-git-revision-date-plugin (🥉18 · ⭐ 39 · 💀) - MkDocs plugin for setting revision date from git per..
MIT
- mkdocs-versioning (🥉14 · ⭐ 39) - A tool that allows for versioning sites built with mkdocs.
MIT
Debugging Tools
pyelftools (🥇30 · ⭐ 1.4K) - Parsing ELF and DWARF in Python. Unlicense
gdbgui (🥈28 · ⭐ 8.4K) - Browser-based frontend to gdb (gnu debugger). Add breakpoints, view.. ❗️GPL-3.0
python-hunter (🥉24 · ⭐ 660) - Hunter is a flexible code tracing toolkit. BSD-2
Birdseye (🥉22 · ⭐ 1.4K) - Graphical Python debugger which lets you easily view the values of all.. MIT
python-manhole (🥉20 · ⭐ 320) - Debugging manhole for python applications. BSD-2
Show 1 hidden projects...
Testing Tools
🔗 best-of-web-python - Testing ( ⭐ 1.4K) - Testing libraries & tools for python web frameworks.
🔗 unittest - Unittest is a test framework included in the Python standard library.
robotframework (🥇41 · ⭐ 6.6K) - Generic automation framework for acceptance testing and RPA. Apache-2
hypothesis (🥇39 · ⭐ 5.6K) - Hypothesis is a powerful, flexible, and easy to use library for.. MPL-2.0
pytest-cov (🥇36 · ⭐ 1.2K) - Coverage plugin for pytest. MIT


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


pyautogui (🥈33 · ⭐ 6.1K) - A cross-platform GUI automation Python module for human beings. Used.. BSD-3
pytest-mock (🥈33 · ⭐ 1.3K) - Thin-wrapper around the mock package for easier use with pytest. MIT


playwright-python (🥈31 · ⭐ 5.7K) - Python version of the Playwright testing and automation.. Apache-2
factory_boy (🥈31 · ⭐ 2.7K) - A test fixtures replacement for Python. MIT
pytest-asyncio (🥈31 · ⭐ 860) - Pytest support for asyncio. Apache-2


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


PyHamcrest (🥈30 · ⭐ 600) - Hamcrest matchers for Python. BSD-3
pytest-html (🥈30 · ⭐ 460) - Plugin for generating HTML reports for pytest results. MPL-2.0


pytest-bdd (🥉29 · ⭐ 940) - BDD library for the py.test runner. MIT


pytest-testinfra (🥉27 · ⭐ 2K) - Testinfra test your infrastructures. Apache-2


pytest-benchmark (🥉26 · ⭐ 840 · 💤) - py.test fixture for benchmarking code. BSD-2


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


pytest-plugins (🥉24 · ⭐ 400 · 📈) - A grab-bag of nifty pytest plugins. MIT
pytest-testmon (🥉21 · ⭐ 500) - Selects tests affected by changed files. Continous.. ❗️AGPL-3.0


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


pytest-docker (🥉18 · ⭐ 260 · 💤) - Docker-based integration tests. MIT


Show 10 hidden projects...
- nose (🥈33 · ⭐ 1.3K · 💀) - nose is nicer testing for python.
❗️LGPL-2.1+
- pytest-sugar (🥉28 · ⭐ 820 · 💀) - a plugin for py.test that changes the default look and..
BSD-3
- uiautomator (🥉27 · ⭐ 1.8K · 💀) - Python wrapper of Android uiautomator test tool.
MIT
- pytest-watch (🥉26 · ⭐ 620 · 💀) - Local continuous test runner with pytest and watchdog.
MIT
- Mamba Test Runner (🥉25 · ⭐ 480 · 💀) - The definitive testing tool for Python. Born under the..
MIT
- sixpack (🥉22 · ⭐ 1.7K · 💀) - Sixpack is a language-agnostic a/b-testing framework.
BSD-2
- pytest-datadir (🥉20 · ⭐ 150 · 💀) - pytest plugin for manipulating test data directories and..
MIT
- fake2db (🥉19 · ⭐ 2.1K · 💀) - create custom test databases that are populated with fake data.
❗️GPL-2.0
- assertpy (🥉19 · ⭐ 250 · 💀) - Simple assertion library for unit testing in python with a fluent..
BSD-3
- pytest-play (🥉16 · ⭐ 65 · 💀) - pytest plugin that let you automate actions and..
Apache-2
Code Packaging
🔗 Python.org Packaging - An Overview of Packaging for Python.
pyinstaller (🥇37 · ⭐ 8.8K) - Freeze (package) Python programs into stand-alone executables. ❗️GPL-2.0
Nuitka (🥈32 · ⭐ 6.3K) - Nuitka is a Python compiler written in Python. Its fully compatible.. Apache-2
cx_Freeze (🥈29 · ⭐ 860) - Create standalone executables from Python scripts, with the same.. Python-2.0
PyOxidizer (🥉26 · ⭐ 3.4K · 📈) - A modern Python application packaging and distribution tool. MPL-2.0
py2exe (🥉26 · ⭐ 350) - A distutils extension to create standalone Windows programs from Python code. MIT
shiv (🥉24 · ⭐ 1.4K) - shiv is a command line utility for building fully self contained Python.. BSD-2
constructor (🥉23 · ⭐ 340) - tool for creating installers from conda packages. BSD-3
Show 2 hidden projects...
Build Tools
setuptools (🥇45 · ⭐ 1.5K) - Official project repository for the Setuptools build system. MIT
buildbot (🥇35 · ⭐ 4.8K) - Python-based continuous integration testing framework; your pull.. ❗️GPL-2.0
setuptools_scm (🥉32 · ⭐ 530) - the blessed package to manage your versions by scm tags. MIT
universal-build (🥉16 · ⭐ 14) - Universal build utilities for containerized build pipelines. MIT
Show 2 hidden projects...
System Monitoring & Profiling
Glances (🥇36 · ⭐ 20K) - Glances an Eye on your system. A top/htop alternative for.. ❗️LGPL-3.0
pyinstrument (🥈31 · ⭐ 4.1K) - Call stack profiler for Python. Shows you why your code is slow!. BSD-3
py-spy (🥈30 · ⭐ 7.8K) - Sampling profiler for Python programs. MIT
-
GitHub (👨💻 29 · 🔀 280 · 📥 7.4K · 📋 240 - 29% open · ⏱️ 17.01.2022):
git clone https://github.com/benfred/py-spy
-
PyPi (📥 440K / month · 📦 35 · ⏱️ 13.11.2021):
pip install py-spy
-
Conda (📥 220K · ⏱️ 18.12.2021):
conda install -c conda-forge py-spy
-
Cargo (📥 20K / month · ⏱️ 13.11.2021):
cargo install py-spy
Scalene (🥈30 · ⭐ 5.1K) - Scalene: a high-performance, high-precision CPU, GPU, and memory.. Apache-2
Diamond (🥈29 · ⭐ 1.6K) - Diamond is a python daemon that collects system metrics and publishes.. MIT
line_profiler (🥈28 · ⭐ 3.5K) - Line-by-line profiling for Python. BSD-3
memory-profiler (🥈28 · ⭐ 3.3K) - Monitor Memory usage of Python code. BSD-3
pympler (🥈28 · ⭐ 860) - Development tool to measure, monitor and analyze the memory behavior.. Apache-2
Yappi (🥉27 · ⭐ 790) - Yet Another Python Profiler, but this time thread&coroutine&greenlet aware. MIT
Show 3 hidden projects...
- Profiling (🥉22 · ⭐ 3K · 💀) - Was an interactive continuous Python profiler.
BSD-3
- memory_profiler (🥉22 · ⭐ 67 · 💀) - Monitor Memory usage of Python code.
BSD-3
- livepython (🥉12 · ⭐ 2.5K · 💀) - Visually trace Python code in real-time.
MIT
AST Tools
typed_ast (🥇30 · ⭐ 200) - Modified fork of CPythons ast module that parses `# type:` comments. Apache-2
Show 1 hidden projects...
- astunparse (🥈28 · ⭐ 180 · 💀) - An AST unparser for Python.
BSD-3
Others
pre-commit (🥇36 · ⭐ 7.2K) - 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.