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 530K 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 7 projects
- Virtual Environments 8 projects
- Dependency & Package Mangers 10 projects
- Code Metrics & Complexity 6 projects
- Logging 19 projects
- Documentation 25 projects
- Debugging Tools 13 projects
- Testing Tools 43 projects
- Code Packaging 15 projects
- Build Tools 14 projects
- System Monitoring & Profiling 15 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 (🥇33 · ⭐ 4.2K) - Simple Python style checker in one Python file. ❗️Saxpath
pydocstyle (🥈29 · ⭐ 740) - docstring style checker. MIT
flake8-bugbear (🥈28 · ⭐ 500) - A plugin for Flake8 finding likely bugs and design problems.. MIT


pyre-check (🥈27 · ⭐ 5.1K) - Performant type-checking for python. MIT
wemake-python-styleguide (🥈27 · ⭐ 1.3K) - The strictest and most opinionated python linter ever!. MIT
pylint-django (🥈27 · ⭐ 440) - Pylint plugin for improving code analysis for when.. ❗️GPL-2.0

coala (🥈26 · ⭐ 3.1K · 💤) - coala provides a unified command-line interface for linting and.. ❗️AGPL-3.0
check-manifest (🥈25 · ⭐ 220) - Tool to check the completeness of MANIFEST.in for Python packages. MIT
mypy-protobuf (🥉24 · ⭐ 300) - open source tools to generate mypy stubs from protobufs. Apache-2
darglint (🥉24 · ⭐ 260) - A python documentation linter which checks that the docstring description.. MIT
flake8-comprehensions (🥉24 · ⭐ 240) - A flake8 plugin to help you write better.. MIT


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


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


data-science-types (🥉23 · ⭐ 160) - Mypy stubs, i.e., type information, for numpy, pandas.. Apache-2
flake8-isort (🥉23 · ⭐ 98) - flake8 plugin that integrates isort. ❗️GPL-2.0


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


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


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

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


flake8-bandit (🥉20 · ⭐ 57) - Automated security testing using bandit and flake8. MIT


flake8-mypy (🥉18 · ⭐ 110 · 💤) - A plugin for flake8 integrating Mypy. MIT


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


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

mypy

Show 6 hidden projects...
- pep8-naming (🥈26 · ⭐ 270) - Naming Convention checker for Python.
❗️Saxpath
- pylama (🥉23 · ⭐ 750 · 💀) - Code audit tool for python.
❗️LGPL-3.0
- flake8-commas (🥉23 · ⭐ 120 · 💀) - Flake8 extension for enforcing trailing commas in python.
MIT
- imhotep (🥉18 · ⭐ 210 · 💀) - A static-analysis bot for Github.
MIT
- yala (🥉17 · ⭐ 8) - Yet Another Linter Aggregator.
MIT
- pycycle (🥉14 · ⭐ 270 · 💀) - Tool for pinpointing circular imports in Python. Find cyclic imports..
MIT
Code Formatters
autopep8 (🥈33 · ⭐ 3.7K) - A tool that automatically formats Python code to conform to the PEP 8.. MIT
docformatter (🥉23 · ⭐ 200) - Formats docstrings to follow PEP 257. MIT
Show 1 hidden projects...
Code Refactoring
jedi (🥇36 · ⭐ 4.7K) - Awesome autocompletion, static analysis and refactoring library for python. MIT
rope (🥇29 · ⭐ 1.1K) - a python refactoring library. ❗️LGPL-3.0
MonkeyType (🥈23 · ⭐ 3.2K) - A system for Python that generates static type annotations by.. BSD-3
pyupgrade (🥉22 · ⭐ 750) - A tool (and pre-commit hook) to automatically upgrade syntax for newer.. MIT
baron (🥉21 · ⭐ 250 · 💤) - IDE allow you to refactor code, Baron allows you to write.. ❗️LGPL-3.0
pyannotate (🥉20 · ⭐ 1.2K) - Auto-generate PEP-484 annotations. Apache-2
add-trailing-comma (🥉20 · ⭐ 160) - A tool (and pre-commit hook) to automatically add trailing.. MIT
massedit (🥉18 · ⭐ 87) - Programmatically edit text files with Python. Useful for source to source.. MIT
unimport (🥉17 · ⭐ 90 · 📉) - A linter, formatter for finding and removing unused import statements. MIT
Show 4 hidden projects...
- redbaron (🥈23 · ⭐ 510 · 💀) - Bottom-up approach to refactoring in python.
❗️LGPL-3.0
- eradicate (🥉20 · ⭐ 110) - Removes commented-out code from Python files.
❗️Saxpath
- unify (🥉20 · ⭐ 53 · 💀) - 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 (🥇32 · ⭐ 2.9K) - Bandit is a tool designed to find common security issues in Python.. Apache-2
safety (🥈27 · ⭐ 940) - Safety checks your installed dependencies for known security vulnerabilities. MIT
dlint (🥉20 · ⭐ 320) - Dlint is a tool for encouraging best coding practices and helping ensure.. BSD-3
Show 2 hidden projects...
- pyarmor (🥉23 · ⭐ 830) - A tool used to obfuscate python scripts, bind obfuscated scripts..
❗️SGI-B-2.0
- dodgy (🥉21 · ⭐ 88 · 💀) - Looks at Python code to search for things which look dodgy such as..
MIT
Virtual Environments
virtualenv (🥈32 · ⭐ 3.8K) - Virtual Python Environment builder. MIT
dh-virtualenv (🥉15 · ⭐ 1.4K) - Python virtualenvs in Debian packages. ❗️GPL-2.0
-
GitHub (👨💻 55 · 🔀 150 · 📋 180 - 12% open · ⏱️ 31.12.2020):
git clone https://github.com/spotify/dh-virtualenv
Show 4 hidden projects...
- vex (🥉19 · ⭐ 370 · 💀) - Run a command in the named virtualenv.
MIT
- pyenv-virtualenv (🥉17 · ⭐ 4.1K · 💀) - a pyenv plugin to manage virtualenv (a.k.a. python-..
MIT
- pyenv-installer (🥉15 · ⭐ 2.5K · 💀) - This tool is used to install
pyenv
and friends.MIT
- pipenv-pipes (🥉12 · ⭐ 120 · 💀) - A PipEnv Environment Switcher.
MIT
Dependency & Package Mangers
pipreqs (🥉28 · ⭐ 3.1K · 💤) - pipreqs - Generate pip requirements.txt file based on imports of.. Apache-2
Code Metrics & Complexity
prospector (🥈27 · ⭐ 1.4K) - Inspects Python source files and provides information about.. ❗️GPL-2.0
wily (🥉19 · ⭐ 640) - A Python application for tracking, reporting on timing and complexity in.. Apache-2
Show 1 hidden projects...
Logging
rich (🥇32 · ⭐ 21K) - Rich is a Python library for rich text and beautiful formatting in the terminal. MIT
sentry-sdk (🥈31 · ⭐ 840) - The new Python SDK for Sentry.io. BSD-2
tabulate (🥈30 · ⭐ 680 · 💤) - Pretty-print tabular data in Python, a library and a command-line.. MIT
python-json-logger (🥈29 · ⭐ 890) - Json Formatter for the standard python logger. BSD-2
progressbar2 (🥉28 · ⭐ 670) - Progressbar 2 - A progress bar for Python 2 and Python 3 - pip.. BSD-3
python-coloredlogs (🥉27 · ⭐ 390) - Colored terminal output for Python's logging module. MIT
better-exceptions (🥉24 · ⭐ 3.8K) - Pretty and useful exceptions in Python, automatically. MIT
alive-progress (🥉24 · ⭐ 1.8K) - A new kind of Progress Bar, with real time throughput, eta and.. MIT
rebound (🥉23 · ⭐ 3.5K) - Command-line tool that instantly fetches Stack Overflow results when an.. MIT
stackprinter (🥉23 · ⭐ 1.1K) - Debugging-friendly exceptions for Python. MIT
PrettyErrors (🥉19 · ⭐ 1.8K) - Prettify Python exception output to make it legible. MIT
Show 2 hidden projects...
- logbook (🥈30 · ⭐ 1.4K · 💀) - A cool logging replacement for Python.
BSD-3
- prettytable (🥉28 · ⭐ 360) - Display tabular data in a visually appealing ASCII table..
❗️BSD-1-Clause
Documentation
sphinx_rtd_theme (🥇33 · ⭐ 3.6K) - Sphinx theme for readthedocs.org. MIT

mkdocs-material (🥈32 · ⭐ 5.4K) - A Material Design theme for MkDocs. MIT


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

sphinx-autobuild (🥈26 · ⭐ 300) - Watch a Sphinx directory and rebuild the documentation.. MIT

interrogate (🥉22 · ⭐ 230) - Explain yourself! Interrogate a codebase for docstring coverage. MIT
mkdocstrings (🥉20 · ⭐ 270) - Automatic documentation from sources, for MkDocs. ISC


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


mkdocs-awesome-pages-plugin (🥉20 · ⭐ 120 · 📈) - An MkDocs plugin that simplifies configuring page.. MIT


blacken-docs (🥉18 · ⭐ 150) - Run `black` on python code blocks in documentation files. MIT
sphinx-markdown-builder (🥉18 · ⭐ 92) - sphinx builder that outputs markdown files. MIT

lazydocs (🥉12 · ⭐ 8 · 🐣) - Generate markdown API documentation from Google-style Python docstring... MIT
Show 6 hidden projects...
- sphinx-bootstrap-theme (🥈26 · ⭐ 580 · 💀) - Sphinx Bootstrap Theme.
MIT
- pycco (🥉21 · ⭐ 740 · 💀) - Literate-style documentation generator.
MIT
- mkdocs-git-revision-date-plugin (🥉18 · ⭐ 30) - MkDocs plugin for setting revision date from git per..
MIT
- mkdocs-with-pdf (🥉18 · ⭐ 29) - Generate a single PDF file from MkDocs repository.
MIT
- mkdocs-versioning (🥉17 · ⭐ 33) - A tool that allows for versioning sites built with mkdocs.
MIT
- mkdocs-print-site-plugin (🥉12 · ⭐ 14 · 🐣) - MkDocs Plugin allowing your visitors to *File Print..
MIT
Debugging Tools
pyelftools (🥈27 · ⭐ 1.1K) - Parsing ELF and DWARF in Python. Unlicense
gdbgui (🥉24 · ⭐ 7.8K) - Browser-based frontend to gdb (gnu debugger). Add breakpoints, view.. ❗️GPL-3.0
python-hunter (🥉22 · ⭐ 580) - Hunter is a flexible code tracing toolkit. BSD-2
Birdseye (🥉19 · ⭐ 1.4K) - Graphical Python debugger which lets you easily view the values of all.. MIT
Show 2 hidden projects...
- pyrasite (🥉20 · ⭐ 2.5K · 💀) - Inject code into running Python processes.
❗️GPL-3.0
- python-manhole (🥉19 · ⭐ 300 · 💀) - Debugging manhole for python applications.
BSD-2
Testing Tools
🔗 best-of-web-python - Testing ( ⭐ 820) - Testing libraries & tools for python web frameworks.
🔗 unittest - Unittest is a test framework included in the Python standard library.
robotframework (🥇33 · ⭐ 5.5K) - Generic automation framework for acceptance testing and RPA. Apache-2
hypothesis (🥇33 · ⭐ 4.9K) - Hypothesis is a powerful, flexible, and easy to use library for.. MPL-2.0
pytest-cov (🥇32 · ⭐ 940) - Coverage plugin for pytest. MIT


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


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


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


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


pytest-asyncio (🥈28 · ⭐ 660) - Pytest support for asyncio. Apache-2


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


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


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


PyHamcrest (🥉26 · ⭐ 520) - Hamcrest matchers for Python. BSD-3
pytest-mypy (🥉26 · ⭐ 180) - Mypy static type checker plugin for Pytest. MIT


uiautomator (🥉25 · ⭐ 1.6K) - Python wrapper of Android uiautomator test tool. MIT
playwright-python (🥉24 · ⭐ 3.8K · 🐣) - Python version of the Playwright testing and.. Apache-2
asv (🥉24 · ⭐ 550) - Airspeed Velocity: A simple Python benchmarking tool with web-based reporting. BSD-3
Mamba Test Runner (🥉24 · ⭐ 460 · 📉) - The definitive testing tool for Python. Born under the.. MIT
pytest-randomly (🥉24 · ⭐ 270) - Pytest plugin to randomly order tests and control random.seed. MIT
pytest-testinfra (🥉23 · ⭐ 1.8K) - Testinfra test your infrastructures. Apache-2


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


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


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


pytest-plugins (🥉13 · ⭐ 360 · 💤) - A grab-bag of nifty pytest plugins. MIT
-
GitHub (👨💻 46 · 🔀 52 · 📋 81 - 37% open · ⏱️ 11.04.2020):
git clone https://github.com/man-group/pytest-plugins
Show 6 hidden projects...
- nose (🥈30 · ⭐ 1.3K · 💀) - nose is nicer testing for python.
❗️LGPL-2.1+
- pytest-watch (🥉25 · ⭐ 530 · 💀) - Local continuous test runner with pytest and watchdog.
MIT
- assertpy (🥉20 · ⭐ 250 · 💀) - Simple assertion library for unit testing in python with a fluent..
BSD-3
- pytest-datadir (🥉20 · ⭐ 130 · 💀) - pytest plugin for manipulating test data directories and..
MIT
- fake2db (🥉17 · ⭐ 2K · 💀) - 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
Code Packaging
🔗 Python.org Packaging - An Overview of Packaging for Python.
pyinstaller (🥇31 · ⭐ 7.6K) - Freeze (package) Python programs into stand-alone executables. ❗️GPL-2.0
Nuitka (🥈27 · ⭐ 3.7K) - Nuitka is a Python compiler written in Python. It's fully compatible.. Apache-2
cx_Freeze (🥈24 · ⭐ 640) - Create standalone executables from Python scripts, with the same.. Python-2.0
shiv (🥈23 · ⭐ 1.1K) - shiv is a command line utility for building fully self contained Python.. BSD-2
py2exe (🥈23 · ⭐ 150) - A distutils extension to create standalone Windows programs from Python code. MIT
constructor (🥉19 · ⭐ 280) - tool for creating installers from conda packages. BSD-3
PyOxidizer (🥉15 · ⭐ 2.8K) - A modern Python application packaging and distribution tool. MPL-2.0
-
GitHub (👨💻 28 · 🔀 99 · 📋 300 - 62% open · ⏱️ 18.01.2021):
git clone https://github.com/indygreg/PyOxidizer
Show 2 hidden projects...
Build Tools
setuptools (🥇34 · ⭐ 1.3K) - Official project repository for the Setuptools build system. MIT
buildbot (🥈30 · ⭐ 4.5K) - Python-based continuous integration testing framework; your pull.. ❗️GPL-2.0
setuptools_scm (🥈28 · ⭐ 420) - the blessed package to manage your versions by scm tags. MIT
universal-build (🥉11 · ⭐ 5 · 🐣) - Universal build utilities for containerized build pipelines. MIT
Show 2 hidden projects...
System Monitoring & Profiling
Glances (🥇29 · ⭐ 18K) - Glances an Eye on your system. A top/htop alternative for.. ❗️LGPL-3.0
memory-profiler (🥈27 · ⭐ 2.7K) - Monitor Memory usage of Python code. BSD-3
pyinstrument (🥈27 · ⭐ 2.4K) - Call stack profiler for Python. Shows you why your code is slow!. BSD-3
Yappi (🥈27 · ⭐ 560) - Yet Another Python Profiler, but this time thread&coroutine&greenlet aware. MIT
line_profiler (🥉25 · ⭐ 3.5K) - Line-by-line profiling for Python. BSD-3
pympler (🥉25 · ⭐ 720) - Development tool to measure, monitor and analyze the memory behavior.. Apache-2
Scalene (🥉22 · ⭐ 3.5K) - Scalene: a high-performance, high-precision CPU and memory profiler.. Apache-2
Show 3 hidden projects...
AST Tools
Show 1 hidden projects...
- astunparse (🥉26 · ⭐ 150 · 💀) - An AST unparser for Python.
BSD-3
Others
pre-commit (🥇31 · ⭐ 5.4K) - 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.