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 640K 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 (🥇31 · ⭐ 4.4K) - Simple Python style checker in one Python file. ❗️Saxpath
pydocstyle (🥈30 · ⭐ 830) - docstring style checker. MIT
wemake-python-styleguide (🥈29 · ⭐ 1.7K) - The strictest and most opinionated python linter ever!. MIT
flake8-bugbear (🥈29 · ⭐ 640) - A plugin for Flake8 finding likely bugs and design problems.. MIT


pylint-django (🥈28 · ⭐ 490) - Pylint plugin for improving code analysis for when.. ❗️GPL-2.0

coala (🥈27 · ⭐ 3.3K) - coala provides a unified command-line interface for linting and.. ❗️AGPL-3.0
darglint (🥈27 · ⭐ 370) - A python documentation linter which checks that the docstring description.. MIT
flake8-quotes (🥈27 · ⭐ 130) - Flake8 extension for checking quotes in python. MIT


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


pyre-check (🥉25 · ⭐ 5.7K) - Performant type-checking for python. MIT
check-manifest (🥉25 · ⭐ 240) - Tool to check the completeness of MANIFEST.in for Python packages. MIT
flake8-commas (🥉24 · ⭐ 130) - Flake8 extension for enforcing trailing commas in python. MIT


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


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


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


data-science-types (🥉22 · ⭐ 190 · 💤) - Mypy stubs, i.e., type information, for numpy, pandas.. Apache-2
flake8-builtins (🥉21 · ⭐ 74) - Check for python builtins being used as variables or.. ❗️GPL-2.0


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

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


bellybutton (🥉17 · ⭐ 230) - Custom Python linting through AST expressions. MIT
Show 7 hidden projects...
- pep8-naming (🥈26 · ⭐ 350) - Naming Convention checker for Python.
❗️Saxpath
- flake8-import-order (🥉24 · ⭐ 250 · 💀) - Flake8 plugin that checks import order against..
❗️LGPL-3.0
- flake8-mypy (🥉20 · ⭐ 100 · 💀) - A plugin for flake8 integrating Mypy.
MIT
- flake8-bandit (🥉19 · ⭐ 66 · 💀) - Automated security testing using bandit and flake8.
MIT
- yala (🥉18 · ⭐ 12) - Yet Another Linter Aggregator.
MIT
- pycycle (🥉17 · ⭐ 290 · 💀) - 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
docformatter (🥉24 · ⭐ 240 · 💤) - Formats docstrings to follow PEP 257. MIT
Show 1 hidden projects...
Code Refactoring
rope (🥇30 · ⭐ 1.2K) - a python refactoring library. ❗️LGPL-3.0
autoflake (🥈26 · ⭐ 460 · 💤) - Removes unused imports and unused variables as reported by pyflakes. MIT
pyupgrade (🥈25 · ⭐ 1.3K) - A tool (and pre-commit hook) to automatically upgrade syntax for newer.. MIT
MonkeyType (🥉22 · ⭐ 3.6K) - A system for Python that generates static type annotations by.. BSD-3
pyannotate (🥉21 · ⭐ 1.2K) - Auto-generate PEP-484 annotations. Apache-2
add-trailing-comma (🥉21 · ⭐ 200) - A tool (and pre-commit hook) to automatically add trailing.. MIT
massedit (🥉17 · ⭐ 94 · 💤) - Programmatically edit text files with Python. Useful for source to.. MIT
Show 5 hidden projects...
- redbaron (🥈23 · ⭐ 620 · 💀) - Bottom-up approach to refactoring in python.
❗️LGPL-3.0
- baron (🥈23 · ⭐ 260 · 💀) - IDE allow you to refactor code, Baron allows you to write..
❗️LGPL-3.0
- eradicate (🥉19 · ⭐ 120 · 💀) - Removes commented-out code from Python files.
❗️Saxpath
- unify (🥉19 · ⭐ 63 · 💀) - Modifies strings to all use the same quote where possible.
MIT
- pep8ify (🥉16 · ⭐ 120 · 💀) - A library that modifies python source code to conform to pep8.
Apache-2
Code Security
bandit (🥇32 · ⭐ 3.7K) - Bandit is a tool designed to find common security issues in Python.. Apache-2
detect-secrets (🥈26 · ⭐ 2.1K) - An enterprise friendly way of detecting and preventing.. Apache-2
dlint (🥉21 · ⭐ 78) - Dlint is a tool for encouraging best coding practices and helping ensure.. BSD-3
Show 2 hidden projects...
- pyarmor (🥈26 · ⭐ 1.3K) - A tool used to obfuscate python scripts, bind obfuscated scripts..
❗️SGI-B-2.0
- pyt (🥉22 · ⭐ 2.1K · 💀) - A Static Analysis Tool for Detecting Security Vulnerabilities in..
❗️GPL-2.0
Virtual Environments
virtualenv (🥈32 · ⭐ 4K) - Virtual Python Environment builder. MIT
pyenv-virtualenv (🥉18 · ⭐ 4.6K) - 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
dh-virtualenv (🥉15 · ⭐ 1.5K) - Python virtualenvs in Debian packages. ❗️GPL-2.0
-
GitHub (👨💻 58 · 🔀 160 · 📋 190 - 11% open · ⏱️ 10.11.2021):
git clone https://github.com/spotify/dh-virtualenv
pyenv-installer (🥉14 · ⭐ 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
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 (🥉30 · ⭐ 3.8K) - pipreqs - Generate pip requirements.txt file based on imports of any.. Apache-2
dephell (🥉23 · ⭐ 1.7K · 💤) - Python project management. Manage packages: convert between formats,.. MIT
Code Metrics & Complexity
prospector (🥇28 · ⭐ 1.6K) - Inspects Python source files and provides information about.. ❗️GPL-2.0
wily (🥉20 · ⭐ 830) - A Python application for tracking, reporting on timing and complexity in.. Apache-2
Show 1 hidden projects...
Logging
tqdm (🥇36 · ⭐ 20K) - A Fast, Extensible Progress Bar for Python and CLI. MPL-2.0
-
GitHub (👨💻 110 · 🔀 1K · 📥 8K · 📦 230K · 📋 870 - 37% open · ⏱️ 20.09.2021):
git clone https://github.com/tqdm/tqdm
-
PyPi (📥 22M / month · 📦 26K · ⏱️ 20.09.2021):
pip install tqdm
-
Conda (📥 8.9M · ⏱️ 20.09.2021):
conda install -c conda-forge tqdm
-
Docker Hub (📥 4K · ⭐ 2 · ⏱️ 30.10.2021):
docker pull tqdm/tqdm
rich (🥇33 · ⭐ 31K) - Rich is a Python library for rich text and beautiful formatting in the terminal. MIT
python-json-logger (🥇32 · ⭐ 1.1K) - Json Formatter for the standard python logger. BSD-2
sentry-sdk (🥇32 · ⭐ 1.1K) - The new Python SDK for Sentry.io. BSD-2
progressbar2 (🥈29 · ⭐ 730) - Progressbar 2 - A progress bar for Python 2 and Python 3 - pip.. BSD-3
python-coloredlogs (🥉26 · ⭐ 440) - Colored terminal output for Python's logging module. MIT
better-exceptions (🥉23 · ⭐ 4.1K) - Pretty and useful exceptions in Python, automatically. MIT
rebound (🥉23 · ⭐ 3.7K · 💤) - Command-line tool that instantly fetches Stack Overflow results when.. MIT
stackprinter (🥉23 · ⭐ 1.1K · 💤) - Debugging-friendly exceptions for Python. MIT
alive-progress (🥉22 · ⭐ 2.9K) - A new kind of Progress Bar, with real-time throughput, ETA, and.. MIT
PrettyErrors (🥉20 · ⭐ 2.4K) - Prettify Python exception output to make it legible. MIT
python-devtools (🥉19 · ⭐ 440) - Dev tools for python. MIT
Show 3 hidden projects...
- logbook (🥈31 · ⭐ 1.4K · 💀) - A cool logging replacement for Python.
BSD-3
- prettytable (🥉22 · ⭐ 610) - Display tabular data in a visually appealing ASCII table..
❗️BSD-1-Clause
- tbvaccine (🥉16 · ⭐ 360 · 💀) - A small utility to pretty-print Python tracebacks.
MIT
Documentation
mkdocs-material (🥇34 · ⭐ 8.1K · 📈) - Technical documentation that just works. MIT


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

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

pdoc3 (🥈26 · ⭐ 750) - Auto-generate API documentation for Python projects. ❗️AGPL-3.0
sphinx-autodoc-typehints (🥈26 · ⭐ 370) - Type hints support for the Sphinx autodoc extension. MIT

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

mkdocstrings (🥉22 · ⭐ 540) - Automatic documentation from sources, for MkDocs. ISC


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


mkdocs-awesome-pages-plugin (🥉22 · ⭐ 190) - An MkDocs plugin that simplifies configuring page.. MIT


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


lazydocs (🥉16 · ⭐ 51) - Generate markdown API documentation from Google-style Python docstring... MIT
Show 5 hidden projects...
- pycco (🥉22 · ⭐ 760 · 💀) - Literate-style documentation generator.
MIT
- sphinx-markdown-builder (🥉21 · ⭐ 110 · 💀) - sphinx builder that outputs markdown files.
MIT
- mkdocs-git-revision-date-plugin (🥉19 · ⭐ 39 · 💀) - MkDocs plugin for setting revision date from git per..
MIT
- mkdocs-print-site-plugin (🥉19 · ⭐ 28) - MkDocs Plugin that adds an additional page that..
MIT
- mkdocs-versioning (🥉14 · ⭐ 39) - A tool that allows for versioning sites built with mkdocs.
MIT
Debugging Tools
pyelftools (🥇28 · ⭐ 1.3K) - Parsing ELF and DWARF in Python. Unlicense
gdbgui (🥉26 · ⭐ 8.3K) - Browser-based frontend to gdb (gnu debugger). Add breakpoints, view.. ❗️GPL-3.0
python-hunter (🥉21 · ⭐ 650) - Hunter is a flexible code tracing toolkit. BSD-2
python-manhole (🥉20 · ⭐ 320) - Debugging manhole for python applications. BSD-2
Birdseye (🥉19 · ⭐ 1.4K) - Graphical Python debugger which lets you easily view the values of all.. MIT
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 (🥇35 · ⭐ 6.5K) - Generic automation framework for acceptance testing and RPA. Apache-2
pytest-cov (🥇34 · ⭐ 1.1K) - Coverage plugin for pytest. MIT


hypothesis (🥇33 · ⭐ 5.5K) - Hypothesis is a powerful, flexible, and easy to use library for.. MPL-2.0
pytest-asyncio (🥈31 · ⭐ 820) - Pytest support for asyncio. Apache-2


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


pyautogui (🥈30 · ⭐ 5.9K) - A cross-platform GUI automation Python module for human beings. Used.. BSD-3
factory_boy (🥈30 · ⭐ 2.7K) - A test fixtures replacement for Python. MIT
coveralls-python (🥈30 · ⭐ 460) - Show coverage stats online via coveralls.io. MIT


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


pytest-html (🥈29 · ⭐ 460 · 💤) - Plugin for generating HTML reports for pytest results. MPL-2.0


pytest-bdd (🥈27 · ⭐ 920) - BDD library for the py.test runner. MIT


playwright-python (🥉26 · ⭐ 5.5K) - Python version of the Playwright testing and automation.. Apache-2
pytest-benchmark (🥉25 · ⭐ 830) - py.test fixture for benchmarking code. BSD-2


asv (🥉25 · ⭐ 620) - Airspeed Velocity: A simple Python benchmarking tool with web-based reporting. BSD-3
PyHamcrest (🥉25 · ⭐ 590) - Hamcrest matchers for Python. BSD-3
pytest-mypy (🥉24 · ⭐ 190) - Mypy static type checker plugin for Pytest. MIT


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


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


pytest-randomly (🥉23 · ⭐ 380) - Pytest plugin to randomly order tests and control random.seed. MIT
pytest-lazy-fixture (🥉22 · ⭐ 230) - It helps to use fixtures in pytest.mark.parametrize. MIT


xdoctest (🥉22 · ⭐ 130) - A rewrite of Python's builtin doctest module (with pytest plugin.. Apache-2
pytest-docker (🥉20 · ⭐ 250) - Docker-based integration tests. MIT


pytest-plugins (🥉14 · ⭐ 400) - A grab-bag of nifty pytest plugins. MIT
-
GitHub (👨💻 57 · 🔀 60 · 📋 100 - 44% open · ⏱️ 19.11.2021):
git clone https://github.com/man-group/pytest-plugins
Show 10 hidden projects...
- nose (🥈32 · ⭐ 1.3K · 💀) - nose is nicer testing for python.
❗️LGPL-2.1+
- pytest-sugar (🥈27 · ⭐ 790 · 💀) - a plugin for py.test that changes the default look and..
BSD-3
- uiautomator (🥉25 · ⭐ 1.7K · 💀) - Python wrapper of Android uiautomator test tool.
MIT
- pytest-watch (🥉25 · ⭐ 610 · 💀) - 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 (🥉21 · ⭐ 1.7K · 💀) - Sixpack is a language-agnostic a/b-testing framework.
BSD-2
- assertpy (🥉21 · ⭐ 250 · 💀) - Simple assertion library for unit testing in python with a fluent..
BSD-3
- pytest-datadir (🥉21 · ⭐ 150 · 💀) - pytest plugin for manipulating test data directories and..
MIT
- fake2db (🥉18 · ⭐ 2.1K · 💀) - create custom test databases that are populated with fake data.
❗️GPL-2.0
- 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.
Nuitka (🥇28 · ⭐ 6.1K) - Nuitka is a Python compiler written in Python. It's fully compatible.. Apache-2
pyinstaller (🥈27 · ⭐ 8.6K) - Freeze (package) Python programs into stand-alone executables. ❗️GPL-2.0
py2exe (🥈24 · ⭐ 320) - A distutils extension to create standalone Windows programs from Python code. MIT
cx_Freeze (🥉23 · ⭐ 820) - Create standalone executables from Python scripts, with the same.. Python-2.0
shiv (🥉21 · ⭐ 1.3K) - shiv is a command line utility for building fully self contained Python.. BSD-2
constructor (🥉19 · ⭐ 330) - tool for creating installers from conda packages. BSD-3
PyOxidizer (🥉16 · ⭐ 3.3K) - A modern Python application packaging and distribution tool. MPL-2.0
-
GitHub (👨💻 37 · 🔀 130 · 📥 1.3K · 📋 400 - 60% open · ⏱️ 01.12.2021):
git clone https://github.com/indygreg/PyOxidizer
Show 2 hidden projects...
Build Tools
setuptools (🥇34 · ⭐ 1.5K) - Official project repository for the Setuptools build system. MIT
buildbot (🥈31 · ⭐ 4.7K) - Python-based continuous integration testing framework; your pull.. ❗️GPL-2.0
setuptools_scm (🥉26 · ⭐ 520) - the blessed package to manage your versions by scm tags. MIT
universal-build (🥉14 · ⭐ 14) - Universal build utilities for containerized build pipelines. MIT
Show 2 hidden projects...
System Monitoring & Profiling
Glances (🥇30 · ⭐ 20K) - Glances an Eye on your system. A top/htop alternative for.. ❗️LGPL-3.0
Yappi (🥈28 · ⭐ 760) - Yet Another Python Profiler, but this time thread&coroutine&greenlet aware. MIT
memory-profiler (🥈27 · ⭐ 3.2K) - Monitor Memory usage of Python code. BSD-3
Scalene (🥈26 · ⭐ 4.8K) - Scalene: a high-performance, high-precision CPU, GPU, and memory.. Apache-2
pyinstrument (🥈26 · ⭐ 3.6K) - Call stack profiler for Python. Shows you why your code is slow!. BSD-3
line_profiler (🥈26 · ⭐ 3.5K) - Line-by-line profiling for Python. BSD-3
pympler (🥈26 · ⭐ 840) - Development tool to measure, monitor and analyze the memory behavior.. Apache-2
Show 4 hidden projects...
- Diamond (🥈27 · ⭐ 1.6K · 💀) - Diamond is a python daemon that collects system metrics and publishes..
MIT
- memory_profiler (🥉22 · ⭐ 67 · 💀) - 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
Show 1 hidden projects...
- astunparse (🥉27 · ⭐ 170 · 💀) - An AST unparser for Python.
BSD-3
Others
pre-commit (🥇31 · ⭐ 6.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.