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 690K 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 27 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.6K) - Simple Python style checker in one Python file. ❗️Saxpath
wemake-python-styleguide (🥇35 · ⭐ 1.8K) - The strictest and most opinionated python linter ever!. MIT
pyre-check (🥈33 · ⭐ 5.8K) - Performant type-checking for python. MIT
pydocstyle (🥈32 · ⭐ 880) - docstring style checker. MIT
pylint-django (🥈31 · ⭐ 500) - Pylint plugin for improving code analysis for when.. ❗️GPL-2.0

flake8-bugbear (🥈30 · ⭐ 710) - 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 (🥈27 · ⭐ 450) - open source tools to generate mypy stubs from protobufs. Apache-2
darglint (🥉26 · ⭐ 400) - A python documentation linter which checks that the docstring description.. MIT
flake8-comprehensions (🥉26 · ⭐ 340) - A flake8 plugin to help you write better.. MIT


flake8-isort (🥉26 · ⭐ 120) - flake8 plugin that integrates isort. ❗️GPL-2.0


check-manifest (🥉25 · ⭐ 260) - Tool to check the completeness of MANIFEST.in for Python packages. MIT
flake8-quotes (🥉25 · ⭐ 140 · 📉) - Flake8 extension for checking quotes in python. MIT


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


flake8-eradicate (🥉23 · ⭐ 240) - Flake8 plugin to find commented out or dead code. MIT


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


flake8-bandit (🥉23 · ⭐ 78 · 📈) - Automated security testing using bandit and flake8. MIT


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


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


bellybutton (🥉16 · ⭐ 230 · 💤) - Custom Python linting through AST expressions. MIT
Show 9 hidden projects...
- pep8-naming (🥉25 · ⭐ 370) - Naming Convention checker for Python.
❗️Saxpath
- flake8-import-order (🥉25 · ⭐ 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
- pylint-flask (🥉19 · ⭐ 60 · 💀) - A Pylint plugin to analyze Flask applications.
❗️GPL-2.0
- pycycle (🥉15 · ⭐ 300 · 💀) - Tool for pinpointing circular imports in Python. Find cyclic imports..
MIT
- yala (🥉15 · ⭐ 13) - Yet Another Linter Aggregator.
MIT
- linty_fresh (🥉13 · ⭐ 180 · 💀) - Surface lint errors during code review.
Apache-2
mypy
Code Formatters
docformatter (🥉24 · ⭐ 270) - Formats docstrings to follow PEP 257. MIT
Show 1 hidden projects...
Code Refactoring
jedi (🥇40 · ⭐ 5.1K) - Awesome autocompletion, static analysis and refactoring library for python. MIT
rope (🥇35 · ⭐ 1.3K) - a python refactoring library. ❗️LGPL-3.0
pyupgrade (🥈29 · ⭐ 1.6K) - A tool (and pre-commit hook) to automatically upgrade syntax for newer.. MIT
MonkeyType (🥈26 · ⭐ 3.7K) - A Python library that generates static type annotations by.. BSD-3
redbaron (🥈24 · ⭐ 630) - Bottom-up approach to refactoring in python. ❗️LGPL-3.0
baron (🥈24 · ⭐ 270) - IDE allow you to refactor code, Baron allows you to write refactoring.. ❗️LGPL-3.0
pyannotate (🥉22 · ⭐ 1.3K) - Auto-generate PEP-484 annotations. Apache-2
add-trailing-comma (🥉22 · ⭐ 230) - A tool (and pre-commit hook) to automatically add trailing.. MIT
Show 5 hidden projects...
- autoflake (🥈27 · ⭐ 500 · 💀) - Removes unused imports and unused variables as reported by pyflakes.
MIT
- eradicate (🥉23 · ⭐ 130 · 📈) - Removes commented-out code from Python files.
❗️Saxpath
- unify (🥉19 · ⭐ 69 · 💀) - 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 · ⭐ 97 · 💀) - Programmatically edit text files with Python. Useful for source to..
MIT
Code Security
bandit (🥇36 · ⭐ 4K) - Bandit is a tool designed to find common security issues in Python code. Apache-2
detect-secrets (🥈31 · ⭐ 2.3K) - An enterprise friendly way of detecting and preventing.. Apache-2
dlint (🥉18 · ⭐ 87) - Dlint is a tool for encouraging best coding practices and helping ensure.. BSD-3
Show 3 hidden projects...
- pyarmor (🥉30 · ⭐ 1.4K) - 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 · ⭐ 100 · 💀) - Looks at Python code to search for things which look dodgy such as..
MIT
Virtual Environments
virtualenv (🥈40 · ⭐ 4.1K) - Virtual Python Environment builder. MIT
pyenv-virtualenv (🥉20 · ⭐ 4.9K) - a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv). MIT
-
GitHub (👨💻 48 · 🔀 320 · 📋 330 - 40% open · ⏱️ 26.02.2022):
git clone https://github.com/pyenv/pyenv-virtualenv
dh-virtualenv (🥉17 · ⭐ 1.5K) - Python virtualenvs in Debian packages. ❗️GPL-2.0
-
GitHub (👨💻 59 · 🔀 170 · 📋 200 - 12% open · ⏱️ 07.04.2022):
git clone https://github.com/spotify/dh-virtualenv
pyenv-installer (🥉15 · ⭐ 3.2K) - This tool is used to install `pyenv` and friends. MIT
-
GitHub (👨💻 34 · 🔀 340 · 📋 70 - 7% open · ⏱️ 18.03.2022):
git clone https://github.com/pyenv/pyenv-installer
Show 2 hidden projects...
- vex (🥉19 · ⭐ 370 · 💀) - Run a command in the named virtualenv.
MIT
- pipenv-pipes (🥉13 · ⭐ 130 · 💀) - A PipEnv Environment Switcher.
MIT
Dependency & Package Mangers
pipreqs (🥉31 · ⭐ 4.2K) - pipreqs - Generate pip requirements.txt file based on imports of any.. Apache-2
Show 1 hidden projects...
Code Metrics & Complexity
prospector (🥇31 · ⭐ 1.6K) - Inspects Python source files and provides information about.. ❗️GPL-2.0
wily (🥉22 · ⭐ 890) - A Python application for tracking, reporting on timing and complexity in.. Apache-2
Show 1 hidden projects...
Logging
rich (🥇42 · ⭐ 37K) - Rich is a Python library for rich text and beautiful formatting in the terminal. MIT
tqdm (🥇42 · ⭐ 22K · 📈) - A Fast, Extensible Progress Bar for Python and CLI. MPL-2.0
-
GitHub (👨💻 110 · 🔀 1.1K · 📥 8.4K · 📦 270K · 📋 890 - 38% open · ⏱️ 04.04.2022):
git clone https://github.com/tqdm/tqdm
-
PyPi (📥 37M / month · 📦 22K · ⏱️ 04.04.2022):
pip install tqdm
-
Conda (📥 11M · ⏱️ 04.04.2022):
conda install -c conda-forge tqdm
-
Docker Hub (📥 4K · ⭐ 2 · ⏱️ 04.04.2022):
docker pull tqdm/tqdm
sentry-sdk (🥇38 · ⭐ 1.2K) - The official Python SDK for Sentry.io. BSD-2
python-json-logger (🥈34 · ⭐ 1.2K) - Json Formatter for the standard python logger. BSD-2
progressbar2 (🥈33 · ⭐ 760) - Progressbar 2 - A progress bar for Python 2 and Python 3 - pip.. BSD-3
alive-progress (🥉28 · ⭐ 3.3K) - A new kind of Progress Bar, with real-time throughput, ETA, and.. MIT
python-coloredlogs (🥉27 · ⭐ 460 · 💤) - Colored terminal output for Pythons logging module. MIT
stackprinter (🥉25 · ⭐ 1.2K · 📈) - Debugging-friendly exceptions for Python. MIT
better-exceptions (🥉23 · ⭐ 4.2K) - Pretty and useful exceptions in Python, automatically. MIT
rebound (🥉23 · ⭐ 3.8K) - Command-line tool that instantly fetches Stack Overflow results when an.. MIT
PrettyErrors (🥉22 · ⭐ 2.5K) - Prettify Python exception output to make it legible. MIT
python-devtools (🥉21 · ⭐ 490 · 💤) - Dev tools for python. MIT
Show 3 hidden projects...
- logbook (🥈31 · ⭐ 1.4K · 💀) - A cool logging replacement for Python.
BSD-3
- prettytable (🥉28 · ⭐ 750) - Display tabular data in a visually appealing ASCII table..
❗️BSD-1-Clause
- tbvaccine (🥉16 · ⭐ 370 · 💀) - A small utility to pretty-print Python tracebacks.
MIT
Documentation
mkdocs-material (🥇41 · ⭐ 9.3K) - Technical documentation that just works. MIT


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

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

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

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


pdoc3 (🥉25 · ⭐ 810) - Auto-generate API documentation for Python projects. ❗️AGPL-3.0
interrogate (🥉25 · ⭐ 350) - Explain yourself! Interrogate a codebase for docstring coverage. MIT
blacken-docs (🥉23 · ⭐ 360) - Run `black` on python code blocks in documentation files. MIT
mkdocs-awesome-pages-plugin (🥉23 · ⭐ 230) - An MkDocs plugin that simplifies configuring page.. MIT


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


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


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

Show 6 hidden projects...
- sphinx-autobuild (🥉25 · ⭐ 390 · 💀) - Watch a Sphinx directory and rebuild the..
MIT
- pytkdocs (🥉23 · ⭐ 44) - Load Python objects documentation.
ISC
- pycco (🥉22 · ⭐ 770 · 💀) - Literate-style documentation generator.
MIT
- mkdocs-git-revision-date-plugin (🥉19 · ⭐ 42) - MkDocs plugin for setting revision date from git per..
MIT
- mkdocs-print-site-plugin (🥉18 · ⭐ 38) - 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 (🥈28 · ⭐ 1.4K) - Parsing ELF and DWARF in Python. Unlicense
gdbgui (🥉27 · ⭐ 8.5K) - Browser-based frontend to gdb (gnu debugger). Add breakpoints, view.. ❗️GPL-3.0
python-hunter (🥉22 · ⭐ 660 · 📉) - Hunter is a flexible code tracing toolkit. BSD-2
Birdseye (🥉21 · ⭐ 1.5K) - 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.5K) - Testing libraries & tools for python web frameworks.
🔗 unittest - Unittest is a test framework included in the Python standard library.
robotframework (🥇41 · ⭐ 6.9K) - Generic automation framework for acceptance testing and RPA. Apache-2
hypothesis (🥇39 · ⭐ 5.8K) - Hypothesis is a powerful, flexible, and easy to use library for.. MPL-2.0
pytest-mock (🥇34 · ⭐ 1.3K) - Thin-wrapper around the mock package for easier use with pytest. MIT


pytest-cov (🥇34 · ⭐ 1.2K · 📉) - Coverage plugin for pytest. MIT


pytest-xdist (🥇34 · ⭐ 870) - pytest plugin for distributed testing and loop-on-failures.. MIT


pyautogui (🥈33 · ⭐ 6.5K · 💤) - A cross-platform GUI automation Python module for human beings... BSD-3
playwright-python (🥈32 · ⭐ 6.1K) - Python version of the Playwright testing and automation.. Apache-2
pytest-asyncio (🥈32 · ⭐ 920) - Pytest support for asyncio. Apache-2


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


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


factory_boy (🥈30 · ⭐ 2.8K) - A test fixtures replacement for Python. MIT
PyHamcrest (🥈30 · ⭐ 620) - Hamcrest matchers for Python. BSD-3
pytest-bdd (🥉29 · ⭐ 990) - BDD library for the py.test runner. MIT


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


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


asv (🥉28 · ⭐ 670) - Airspeed Velocity: A simple Python benchmarking tool with web-based reporting. BSD-3
pytest-mypy (🥉28 · ⭐ 210) - Mypy static type checker plugin for Pytest. MIT


pytest-randomly (🥉26 · ⭐ 420) - Pytest plugin to randomly order tests and control random.seed. MIT
pytest-benchmark (🥉25 · ⭐ 870) - py.test fixture for benchmarking code. BSD-2


pytest-testmon (🥉24 · ⭐ 530) - Selects tests affected by changed files. Continous.. ❗️AGPL-3.0


pytest-plugins (🥉24 · ⭐ 440) - A grab-bag of nifty pytest plugins. MIT
pytest-docker (🥉22 · ⭐ 280) - Docker-based integration tests. MIT


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


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


Show 8 hidden projects...
- nose (🥈33 · ⭐ 1.3K · 💀) - nose is nicer testing for python.
❗️LGPL-2.1+
- uiautomator (🥉26 · ⭐ 1.8K · 💀) - Python wrapper of Android uiautomator test tool.
MIT
- pytest-watch (🥉26 · ⭐ 640 · 💀) - Local continuous test runner with pytest and watchdog.
MIT
- Mamba Test Runner (🥉24 · ⭐ 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
- 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.1K) - Freeze (package) Python programs into stand-alone executables. ❗️GPL-2.0
Nuitka (🥈32 · ⭐ 6.6K) - Nuitka is a Python compiler written in Python. Its fully compatible.. Apache-2
cx_Freeze (🥈29 · ⭐ 890) - Create standalone executables from Python scripts, with the same.. Python-2.0
PyOxidizer (🥉27 · ⭐ 3.6K) - A modern Python application packaging and distribution tool. MPL-2.0
shiv (🥉25 · ⭐ 1.4K) - shiv is a command line utility for building fully self contained Python.. BSD-2
py2exe (🥉24 · ⭐ 380) - A distutils extension to create standalone Windows programs from Python code. MIT
constructor (🥉23 · ⭐ 350) - tool for creating installers from conda packages. BSD-3
Show 2 hidden projects...
Build Tools
setuptools (🥇45 · ⭐ 1.6K) - Official project repository for the Setuptools build system. MIT
buildbot (🥇37 · ⭐ 4.8K) - Python-based continuous integration testing framework; your pull.. ❗️GPL-2.0
setuptools_scm (🥈34 · ⭐ 560) - the blessed package to manage your versions by scm tags. MIT
universal-build (🥉15 · ⭐ 16) - 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
Scalene (🥈31 · ⭐ 5.5K) - Scalene: a high-performance, high-precision CPU, GPU, and memory.. Apache-2
memory-profiler (🥈30 · ⭐ 3.4K) - Monitor Memory usage of Python code. BSD-3
py-spy (🥈29 · ⭐ 8.3K) - Sampling profiler for Python programs. MIT
-
GitHub (👨💻 29 · 🔀 280 · 📥 8.3K · 📋 240 - 30% open · ⏱️ 17.01.2022):
git clone https://github.com/benfred/py-spy
-
PyPi (📥 830K / month · 📦 35 · ⏱️ 13.11.2021):
pip install py-spy
-
Conda (📥 300K · ⏱️ 18.12.2021):
conda install -c conda-forge py-spy
-
Cargo (📥 520 / month · ⏱️ 13.11.2021):
cargo install py-spy
line_profiler (🥈29 · ⭐ 3.5K) - Line-by-line profiling for Python. BSD-3
Diamond (🥈29 · ⭐ 1.7K) - Diamond is a python daemon that collects system metrics and publishes.. MIT
pyinstrument (🥉28 · ⭐ 4.3K) - Call stack profiler for Python. Shows you why your code is slow!. BSD-3
pympler (🥉27 · ⭐ 900) - Development tool to measure, monitor and analyze the memory behavior.. Apache-2
Yappi (🥉27 · ⭐ 880) - Yet Another Python Profiler, but this time thread&coroutine&greenlet aware. MIT
pyheat (🥉18 · ⭐ 710 · 💤) - pprofile + matplotlib = Python program profiled as an awesome heatmap!. MIT
Show 4 hidden projects...
- vprof (🥉23 · ⭐ 3.8K · 💀) - Visual profiler for Python.
BSD-2
- memory_profiler (🥉22 · ⭐ 71 · 💀) - 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 · ⭐ 200) - 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 · ⭐ 7.9K) - 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.