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 600K 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 (🥇34 · ⭐ 4.3K) - Simple Python style checker in one Python file. ❗️Saxpath
pydocstyle (🥈30 · ⭐ 790) - docstring style checker. MIT
pyre-check (🥈29 · ⭐ 5.5K) - Performant type-checking for python. MIT
wemake-python-styleguide (🥈29 · ⭐ 1.5K) - The strictest and most opinionated python linter ever!. MIT
flake8-bugbear (🥈29 · ⭐ 560) - A plugin for Flake8 finding likely bugs and design problems.. MIT


coala (🥈27 · ⭐ 3.2K) - coala provides a unified command-line interface for linting and.. ❗️AGPL-3.0
pylint-django (🥈27 · ⭐ 470) - Pylint plugin for improving code analysis for when.. ❗️GPL-2.0

darglint (🥈26 · ⭐ 330) - A python documentation linter which checks that the docstring description.. MIT
mypy-protobuf (🥈25 · ⭐ 360) - open source tools to generate mypy stubs from protobufs. Apache-2
check-manifest (🥈25 · ⭐ 230) - Tool to check the completeness of MANIFEST.in for Python packages. MIT
flake8-isort (🥈25 · ⭐ 110 · 💤) - flake8 plugin that integrates isort. ❗️GPL-2.0


flake8-import-order (🥉24 · ⭐ 240 · 💤) - Flake8 plugin that checks import order against.. ❗️LGPL-3.0


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


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


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


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


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

flake8-bandit (🥉19 · ⭐ 62 · 💤) - Automated security testing using bandit and flake8. MIT


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


bellybutton (🥉16 · ⭐ 220 · 💤) - Custom Python linting through AST expressions. MIT
linty_fresh (🥉14 · ⭐ 180 · 💤) - Surface lint errors during code review. Apache-2

mypy

Show 8 hidden projects...
- pep8-naming (🥈28 · ⭐ 310 · 📈) - Naming Convention checker for Python.
❗️Saxpath
- flake8-quotes (🥈25 · ⭐ 130 · 💀) - Flake8 extension for checking quotes in python.
MIT
- pylama (🥉24 · ⭐ 790 · 💀) - Code audit tool for python.
❗️LGPL-3.0
- flake8-commas (🥉22 · ⭐ 120 · 💀) - Flake8 extension for enforcing trailing commas in python.
MIT
- flake8-mypy (🥉20 · ⭐ 100 · 💀) - A plugin for flake8 integrating Mypy.
MIT
- pycycle (🥉18 · ⭐ 290 · 💀) - Tool for pinpointing circular imports in Python. Find cyclic imports..
MIT
- imhotep (🥉18 · ⭐ 220 · 💀) - A static-analysis bot for Github.
MIT
- yala (🥉17 · ⭐ 11) - Yet Another Linter Aggregator.
MIT
Code Formatters
autopep8 (🥇34 · ⭐ 3.8K · 📈) - A tool that automatically formats Python code to conform to the PEP.. MIT
docformatter (🥉24 · ⭐ 220 · 💤) - Formats docstrings to follow PEP 257. MIT
Show 1 hidden projects...
Code Refactoring
jedi (🥇35 · ⭐ 4.9K) - Awesome autocompletion, static analysis and refactoring library for python. MIT
rope (🥇30 · ⭐ 1.1K) - a python refactoring library. ❗️LGPL-3.0
autoflake (🥈26 · ⭐ 400 · 💤) - Removes unused imports and unused variables as reported by pyflakes. MIT
MonkeyType (🥈23 · ⭐ 3.4K) - A system for Python that generates static type annotations by.. BSD-3
pyupgrade (🥈23 · ⭐ 1K) - A tool (and pre-commit hook) to automatically upgrade syntax for newer.. MIT
pyannotate (🥉21 · ⭐ 1.2K) - Auto-generate PEP-484 annotations. Apache-2
add-trailing-comma (🥉19 · ⭐ 190) - A tool (and pre-commit hook) to automatically add trailing.. MIT
massedit (🥉16 · ⭐ 91 · 💤) - Programmatically edit text files with Python. Useful for source to.. MIT
Show 5 hidden projects...
- redbaron (🥈23 · ⭐ 600 · 💀) - Bottom-up approach to refactoring in python.
❗️LGPL-3.0
- baron (🥉22 · ⭐ 260 · 💀) - IDE allow you to refactor code, Baron allows you to write..
❗️LGPL-3.0
- eradicate (🥉19 · ⭐ 110 · 💤) - Removes commented-out code from Python files.
❗️Saxpath
- unify (🥉19 · ⭐ 55 · 💀) - Modifies strings to all use the same quote where possible.
MIT
- pep8ify (🥉16 · ⭐ 110 · 💀) - A library that modifies python source code to conform to pep8.
Apache-2
Code Security
bandit (🥇31 · ⭐ 3.3K) - Bandit is a tool designed to find common security issues in Python.. Apache-2
safety (🥈27 · ⭐ 1K) - Safety checks your installed dependencies for known security vulnerabilities. MIT
detect-secrets (🥉26 · ⭐ 1.9K) - An enterprise friendly way of detecting and preventing.. Apache-2
dodgy (🥉21 · ⭐ 90) - Looks at Python code to search for things which look dodgy such as passwords.. MIT
Show 2 hidden projects...
- pyarmor (🥉24 · ⭐ 1K) - A tool used to obfuscate python scripts, bind obfuscated scripts to..
❗️SGI-B-2.0
- pyt (🥉22 · ⭐ 2K · 💀) - A Static Analysis Tool for Detecting Security Vulnerabilities in..
❗️GPL-2.0
Virtual Environments
virtualenv (🥈32 · ⭐ 3.9K) - Virtual Python Environment builder. MIT
pyenv-virtualenv (🥉18 · ⭐ 4.4K) - a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv). MIT
-
GitHub (👨💻 44 · 🔀 290 · 📋 310 - 43% open · ⏱️ 17.06.2021):
git clone https://github.com/pyenv/pyenv-virtualenv
pyenv-installer (🥉15 · ⭐ 2.7K) - This tool is used to install `pyenv` and friends. MIT
-
GitHub (👨💻 32 · 🔀 300 · 📋 67 - 7% open · ⏱️ 08.06.2021):
git clone https://github.com/pyenv/pyenv-installer
dh-virtualenv (🥉14 · ⭐ 1.5K) - Python virtualenvs in Debian packages. ❗️GPL-2.0
-
GitHub (👨💻 56 · 🔀 160 · 📋 180 - 14% open · ⏱️ 12.04.2021):
git clone https://github.com/spotify/dh-virtualenv
Show 2 hidden projects...
- vex (🥉19 · ⭐ 370 · 💀) - Run a command in the named virtualenv.
MIT
- pipenv-pipes (🥉15 · ⭐ 130 · 💀) - A PipEnv Environment Switcher.
MIT
Dependency & Package Mangers
pipreqs (🥉29 · ⭐ 3.5K) - pipreqs - Generate pip requirements.txt file based on imports of any.. Apache-2
Code Metrics & Complexity
prospector (🥈26 · ⭐ 1.4K · 💤) - Inspects Python source files and provides information about.. ❗️GPL-2.0
wily (🥉20 · ⭐ 780) - A Python application for tracking, reporting on timing and complexity in.. Apache-2
Show 1 hidden projects...
Logging
tqdm (🥇37 · ⭐ 19K) - A Fast, Extensible Progress Bar for Python and CLI. MPL-2.0
-
GitHub (👨💻 100 · 🔀 960 · 📥 7.9K · 📦 190K · 📋 810 - 36% open · ⏱️ 06.07.2021):
git clone https://github.com/tqdm/tqdm
-
PyPi (📥 29M / month · 📦 26K · ⏱️ 06.07.2021):
pip install tqdm
-
Conda (📥 6.8M · ⏱️ 07.07.2021):
conda install -c conda-forge tqdm
-
Docker Hub (📥 3.7K · ⭐ 1 · ⏱️ 06.07.2021):
docker pull tqdm/tqdm
rich (🥇33 · ⭐ 27K) - Rich is a Python library for rich text and beautiful formatting in the terminal. MIT
sentry-sdk (🥇32 · ⭐ 950) - The new Python SDK for Sentry.io. BSD-2
python-json-logger (🥈28 · ⭐ 1K · 💤) - Json Formatter for the standard python logger. BSD-2
python-coloredlogs (🥈28 · ⭐ 420) - Colored terminal output for Python's logging module. MIT
progressbar2 (🥉27 · ⭐ 710) - Progressbar 2 - A progress bar for Python 2 and Python 3 - pip.. BSD-3
rebound (🥉23 · ⭐ 3.7K) - Command-line tool that instantly fetches Stack Overflow results when an.. MIT
alive-progress (🥉23 · ⭐ 2.5K) - A new kind of Progress Bar, with real time throughput, eta and.. MIT
better-exceptions (🥉22 · ⭐ 4K) - Pretty and useful exceptions in Python, automatically. MIT
stackprinter (🥉22 · ⭐ 1.1K) - Debugging-friendly exceptions for Python. MIT
PrettyErrors (🥉20 · ⭐ 2.1K) - Prettify Python exception output to make it legible. MIT
python-devtools (🥉19 · ⭐ 360) - Dev tools for python. MIT
Show 3 hidden projects...
- logbook (🥈31 · ⭐ 1.4K · 💀) - A cool logging replacement for Python.
BSD-3
- prettytable (🥉23 · ⭐ 500) - 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 (🥇33 · ⭐ 6.9K) - A Material Design theme for MkDocs. MIT


sphinx_rtd_theme (🥇33 · ⭐ 3.7K) - Sphinx theme for readthedocs.org. MIT

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

pdoc3 (🥈25 · ⭐ 670) - Auto-generate API documentation for Python projects. ❗️AGPL-3.0
sphinx-autobuild (🥈25 · ⭐ 340) - Watch a Sphinx directory and rebuild the documentation.. MIT

interrogate (🥉24 · ⭐ 280) - Explain yourself! Interrogate a codebase for docstring coverage. MIT
mkdocs-pdf-export-plugin (🥉21 · ⭐ 190 · 💤) - An MkDocs plugin to export content pages as PDF files. MIT


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


blacken-docs (🥉20 · ⭐ 230) - Run `black` on python code blocks in documentation files. MIT
sphinx-markdown-builder (🥉20 · ⭐ 100 · 💤) - sphinx builder that outputs markdown files. MIT

mkdocs-awesome-pages-plugin (🥉19 · ⭐ 160 · 💤) - An MkDocs plugin that simplifies configuring page.. MIT


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


lazydocs (🥉16 · ⭐ 28) - Generate markdown API documentation from Google-style Python docstring... MIT
Show 7 hidden projects...
- alabaster (🥈31 · ⭐ 620 · 💀) - Lightweight, configurable Sphinx theme. Now the Sphinx..
BSD-3
- sphinx-bootstrap-theme (🥈25 · ⭐ 580 · 💀) - Sphinx Bootstrap Theme.
MIT
- pycco (🥉22 · ⭐ 750 · 💀) - Literate-style documentation generator.
MIT
- releases (🥉22 · ⭐ 160 · 💀) - A powerful Sphinx changelog-generating extension.
BSD-2
- mkdocs-git-revision-date-plugin (🥉19 · ⭐ 33 · 💤) - MkDocs plugin for setting revision date from git per..
MIT
- mkdocs-versioning (🥉18 · ⭐ 40) - A tool that allows for versioning sites built with mkdocs.
MIT
- mkdocs-print-site-plugin (🥉17 · ⭐ 20) - MkDocs Plugin allowing your visitors to *File Print..
MIT
Debugging Tools
pyelftools (🥈28 · ⭐ 1.3K) - Parsing ELF and DWARF in Python. Unlicense
gdbgui (🥉25 · ⭐ 8.1K) - Browser-based frontend to gdb (gnu debugger). Add breakpoints, view.. ❗️GPL-3.0
python-hunter (🥉22 · ⭐ 620) - Hunter is a flexible code tracing toolkit. BSD-2
python-manhole (🥉21 · ⭐ 310) - Debugging manhole for python applications. BSD-2
Birdseye (🥉20 · ⭐ 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.3K · 🐣) - Testing libraries & tools for python web frameworks.
🔗 unittest - Unittest is a test framework included in the Python standard library.
robotframework (🥇34 · ⭐ 6.1K) - Generic automation framework for acceptance testing and RPA. Apache-2
hypothesis (🥇33 · ⭐ 5.3K) - Hypothesis is a powerful, flexible, and easy to use library for.. MPL-2.0
pytest-cov (🥇32 · ⭐ 1.1K) - Coverage plugin for pytest. MIT


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


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


pyautogui (🥈30 · ⭐ 5.3K · 📈) - A cross-platform GUI automation Python module for human beings... BSD-3
factory_boy (🥈30 · ⭐ 2.6K) - A test fixtures replacement for Python. MIT
pytest-mock (🥈30 · ⭐ 1.1K) - Thin-wrapper around the mock package for easier use with pytest. MIT


pytest-asyncio (🥈29 · ⭐ 750) - Pytest support for asyncio. Apache-2


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


playwright-python (🥈28 · ⭐ 4.8K) - Python version of the Playwright testing and automation.. Apache-2
pytest-benchmark (🥉27 · ⭐ 780) - py.test fixture for benchmarking code. BSD-2


pytest-sugar (🥉27 · ⭐ 720 · 💤) - a plugin for py.test that changes the default look and.. BSD-3


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


pytest-mypy (🥉26 · ⭐ 190) - Mypy static type checker plugin for Pytest. MIT


asv (🥉25 · ⭐ 600) - Airspeed Velocity: A simple Python benchmarking tool with web-based reporting. BSD-3
PyHamcrest (🥉25 · ⭐ 560) - Hamcrest matchers for Python. BSD-3
pytest-testinfra (🥉24 · ⭐ 1.9K) - Testinfra test your infrastructures. Apache-2


uiautomator (🥉24 · ⭐ 1.7K · 💤) - Python wrapper of Android uiautomator test tool. MIT
Mamba Test Runner (🥉24 · ⭐ 470 · 💤) - The definitive testing tool for Python. Born under the.. MIT
pytest-testmon (🥉23 · ⭐ 480) - Selects tests affected by changed files. Continous.. ❗️AGPL-3.0


pytest-randomly (🥉23 · ⭐ 330) - Pytest plugin to randomly order tests and control random.seed. MIT
pytest-docker (🥉21 · ⭐ 220) - Docker-based integration tests. MIT


Show 8 hidden projects...
- nose (🥈31 · ⭐ 1.3K · 💀) - nose is nicer testing for python.
❗️LGPL-2.1+
- pytest-watch (🥉24 · ⭐ 570 · 💀) - Local continuous test runner with pytest and watchdog.
MIT
- assertpy (🥉21 · ⭐ 250 · 💀) - Simple assertion library for unit testing in python with a fluent..
BSD-3
- pytest-lazy-fixture (🥉21 · ⭐ 200 · 💀) - It helps to use fixtures in pytest.mark.parametrize.
MIT
- pytest-datadir (🥉20 · ⭐ 140 · 💀) - 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 · ⭐ 63 · 💀) - pytest plugin that let you automate actions and..
Apache-2
- pytest-plugins (🥉13 · ⭐ 380 · 💀) - A grab-bag of nifty pytest plugins.
MIT
Code Packaging
🔗 Python.org Packaging - An Overview of Packaging for Python.
pyinstaller (🥇34 · ⭐ 8.2K) - Freeze (package) Python programs into stand-alone executables. ❗️GPL-2.0
Nuitka (🥈27 · ⭐ 5.4K) - Nuitka is a Python compiler written in Python. It's fully compatible.. Apache-2
py2exe (🥈24 · ⭐ 250) - A distutils extension to create standalone Windows programs from Python code. MIT
cx_Freeze (🥉22 · ⭐ 740) - Create standalone executables from Python scripts, with the same.. Python-2.0
shiv (🥉21 · ⭐ 1.2K) - shiv is a command line utility for building fully self contained Python.. BSD-2
constructor (🥉19 · ⭐ 310) - tool for creating installers from conda packages. BSD-3
PyOxidizer (🥉16 · ⭐ 3.1K) - A modern Python application packaging and distribution tool. MPL-2.0
-
GitHub (👨💻 34 · 🔀 110 · 📥 380 · 📋 350 - 58% open · ⏱️ 06.06.2021):
git clone https://github.com/indygreg/PyOxidizer
Show 2 hidden projects...
Build Tools
setuptools (🥇34 · ⭐ 1.4K) - Official project repository for the Setuptools build system. MIT
buildbot (🥇31 · ⭐ 4.6K) - Python-based continuous integration testing framework; your pull.. ❗️GPL-2.0
setuptools_scm (🥉25 · ⭐ 470) - the blessed package to manage your versions by scm tags. MIT
universal-build (🥉12 · ⭐ 11) - Universal build utilities for containerized build pipelines. MIT
Show 2 hidden projects...
System Monitoring & Profiling
Glances (🥇30 · ⭐ 19K) - Glances an Eye on your system. A top/htop alternative for.. ❗️LGPL-3.0
line_profiler (🥈28 · ⭐ 3.5K) - Line-by-line profiling for Python. BSD-3
memory-profiler (🥈27 · ⭐ 3K · 📉) - Monitor Memory usage of Python code. BSD-3
pyinstrument (🥈27 · ⭐ 2.8K) - Call stack profiler for Python. Shows you why your code is slow!. BSD-3
Yappi (🥈26 · ⭐ 660) - Yet Another Python Profiler, but this time thread&coroutine&greenlet aware. MIT
Scalene (🥉24 · ⭐ 4.2K) - Scalene: a high-performance, high-precision CPU, GPU, and memory.. Apache-2
Show 4 hidden projects...
- Diamond (🥈26 · ⭐ 1.6K · 💀) - Diamond is a python daemon that collects system metrics and publishes..
MIT
- memory_profiler (🥉22 · ⭐ 63 · 💀) - Monitor Memory usage of Python code.
BSD-3
- pyheat (🥉18 · ⭐ 510 · 💀) - pprofile + matplotlib = Python program profiled as an awesome heatmap!.
MIT
- livepython (🥉12 · ⭐ 2.5K · 💀) - Visually trace Python code in real-time.
MIT
AST Tools
Show 1 hidden projects...
- astunparse (🥈28 · ⭐ 160 · 💀) - An AST unparser for Python.
BSD-3
Others
pre-commit (🥇31 · ⭐ 6.2K · 📉) - A framework for managing and maintaining multi-language pre-.. 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.