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 810K 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 43 projects
- Code Formatters 7 projects
- Code Refactoring 18 projects
- Code Security 8 projects
- Virtual Environments 10 projects
- Dependency & Package Managers 11 projects
- Code Metrics & Complexity 6 projects
- Logging 21 projects
- Documentation 29 projects
- Debugging Tools 14 projects
- Testing Tools 43 projects
- Code Packaging 16 projects
- Build Tools 14 projects
- System Monitoring & Profiling 18 projects
- AST Tools 6 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.8K) - Simple Python style checker in one Python file. ❗️Saxpath
pyre-check (🥈33 · ⭐ 6.3K) - Performant type-checking for python. MIT
wemake-python-styleguide (🥈33 · ⭐ 2.2K) - The strictest and most opinionated python linter ever!. MIT
pydocstyle (🥈33 · ⭐ 1K) - docstring style checker. MIT
flake8-bugbear (🥈31 · ⭐ 920) - A plugin for Flake8 finding likely bugs and design problems.. MIT


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

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


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


mypy-protobuf (🥉26 · ⭐ 550) - open source tools to generate mypy stubs from protobufs. Apache-2
flake8-comprehensions (🥉26 · ⭐ 420) - A flake8 plugin to help you write better.. MIT


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


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


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


check-manifest (🥉25 · ⭐ 280) - Tool to check the completeness of MANIFEST.in for Python packages. MIT
flake8-import-order (🥉25 · ⭐ 270) - Flake8 plugin that checks import order against.. ❗️LGPL-3.0


flake8-simplify (🥉21 · ⭐ 150) - A flake8 plugin that helps you to simplify code. MIT
flake8-bandit (🥉20 · ⭐ 100 · 💤) - Automated security testing using bandit and flake8. MIT


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

linty_fresh (🥉12 · ⭐ 180) - Surface lint errors during code review. Apache-2

mypy

Show 11 hidden projects...
- coala (🥈28 · ⭐ 3.4K · 💀) - coala provides a unified command-line interface for linting and..
❗️AGPL-3.0
- darglint (🥈28 · ⭐ 470 · 💀) - A python documentation linter which checks that the docstring..
MIT
- pep8-naming (🥈28 · ⭐ 430) - Naming Convention checker for Python.
❗️Saxpath
- data-science-types (🥉25 · ⭐ 190 · 💀) - Mypy stubs, i.e., type information, for numpy, pandas..
Apache-2
- flake8-commas (🥉24 · ⭐ 130 · 💀) - Flake8 extension for enforcing trailing commas in python.
MIT
- pandas-vet (🥉22 · ⭐ 150 · 💀) - A plugin for Flake8 that checks pandas code.
MIT
- flakehell (🥉19 · ⭐ 230 · 💀) - Flake8 wrapper to make it nice, legacy-friendly, configurable.
MIT
- flake8-mypy (🥉19 · ⭐ 100 · 💀) - A plugin for flake8 integrating Mypy.
MIT
- bellybutton (🥉16 · ⭐ 250 · 💀) - Custom Python linting through AST expressions.
MIT
- yala (🥉16 · ⭐ 14) - Yet Another Linter Aggregator.
MIT
- pycycle (🥉15 · ⭐ 310 · 💀) - Tool for pinpointing circular imports in Python. Find cyclic imports..
MIT
Code Formatters
autopep8 (🥉36 · ⭐ 4.3K) - A tool that automatically formats Python code to conform to the PEP 8.. MIT
docformatter (🥉28 · ⭐ 380) - Formats docstrings to follow PEP 257. MIT
autoimport (🥉19 · ⭐ 69) - Autoimport automatically fixes wrong import statements. ❗️GPL-3.0
Show 1 hidden projects...
Code Refactoring
jedi (🥇41 · ⭐ 5.4K) - Awesome autocompletion, static analysis and refactoring library for python. MIT
rope (🥇36 · ⭐ 1.6K · 📉) - a python refactoring library. ❗️LGPL-3.0
pyupgrade (🥈30 · ⭐ 2.5K) - A tool (and pre-commit hook) to automatically upgrade syntax for newer.. MIT
MonkeyType (🥈25 · ⭐ 4.1K) - A Python library that generates static type annotations by.. BSD-3
add-trailing-comma (🥉22 · ⭐ 280) - A tool (and pre-commit hook) to automatically add trailing.. MIT
Show 7 hidden projects...
- eradicate (🥈26 · ⭐ 170) - Removes commented-out code from Python files.
❗️Saxpath
- redbaron (🥉24 · ⭐ 660 · 💀) - Bottom-up approach to refactoring in python.
❗️LGPL-3.0
- baron (🥉23 · ⭐ 280 · 💀) - IDE allow you to refactor code, Baron allows you to write..
❗️LGPL-3.0
- pyannotate (🥉21 · ⭐ 1.4K · 💀) - Auto-generate PEP-484 annotations.
Apache-2
- unify (🥉20 · ⭐ 81 · 💀) - 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
- massedit (🥉15 · ⭐ 110 · 💀) - Programmatically edit text files with Python. Useful for source to..
MIT
Code Security
bandit (🥇37 · ⭐ 5K · 📈) - Bandit is a tool designed to find common security issues in Python.. Apache-2
safety (🥉30 · ⭐ 1.5K) - Safety checks Python dependencies for known security vulnerabilities and.. MIT
detect-secrets (🥉28 · ⭐ 2.8K) - An enterprise friendly way of detecting and preventing.. Apache-2
dlint (🥉21 · ⭐ 140) - Dlint is a tool for encouraging best coding practices and helping ensure.. BSD-3
Show 3 hidden projects...
- pyarmor (🥈32 · ⭐ 2.1K) - 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 · ⭐ 110 · 💀) - Looks at Python code to search for things which look dodgy such as..
MIT
Virtual Environments
virtualenv (🥈41 · ⭐ 4.4K) - Virtual Python Environment builder. MIT
pyenv-virtualenv (🥉21 · ⭐ 5.4K) - a pyenv plugin to manage virtualenv (a.k.a. python-virtualenv). MIT
-
GitHub (👨💻 55 · 🔀 350 · 📋 340 - 35% open · ⏱️ 07.02.2023):
git clone https://github.com/pyenv/pyenv-virtualenv
dh-virtualenv (🥉17 · ⭐ 1.6K) - Python virtualenvs in Debian packages. ❗️GPL-2.0
-
GitHub (👨💻 60 · 🔀 180 · 📋 200 - 14% open · ⏱️ 03.01.2023):
git clone https://github.com/spotify/dh-virtualenv
pyenv-installer (🥉16 · ⭐ 3.6K) - This tool is used to install `pyenv` and friends. MIT
-
GitHub (👨💻 38 · 🔀 380 · 📋 76 - 6% open · ⏱️ 24.02.2023):
git clone https://github.com/pyenv/pyenv-installer
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 Managers
conda (🥇40 · ⭐ 5.2K) - A system-level, binary package and environment manager running on all.. BSD-3
pipreqs (🥉31 · ⭐ 5K) - pipreqs - Generate pip requirements.txt file based on imports of any.. Apache-2
Show 1 hidden projects...
Code Metrics & Complexity
prospector (🥇34 · ⭐ 1.8K) - Inspects Python source files and provides information about.. ❗️GPL-2.0
wily (🥉26 · ⭐ 1K) - A Python application for tracking, reporting on timing and complexity in.. Apache-2
Logging
tqdm (🥇43 · ⭐ 24K) - A Fast, Extensible Progress Bar for Python and CLI. MPL-2.0
-
GitHub (👨💻 110 · 🔀 1.2K · 📥 11K · 📦 420K · 📋 980 - 42% open · ⏱️ 03.03.2023):
git clone https://github.com/tqdm/tqdm
-
PyPi (📥 56M / month · 📦 25K · ⏱️ 03.03.2023):
pip install tqdm
-
Conda (📥 18M · ⏱️ 04.03.2023):
conda install -c conda-forge tqdm
-
Docker Hub (📥 4.1K · ⭐ 2 · ⏱️ 11.03.2023):
docker pull tqdm/tqdm
rich (🥇42 · ⭐ 43K) - Rich is a Python library for rich text and beautiful formatting in the terminal. MIT
sentry-sdk (🥇39 · ⭐ 1.5K · 📉) - The official Python SDK for Sentry.io. MIT
python-json-logger (🥈35 · ⭐ 1.5K) - Json Formatter for the standard python logger. BSD-2
progressbar2 (🥈33 · ⭐ 810) - Progressbar 2 - A progress bar for Python 2 and Python 3 - pip.. BSD-3
alive-progress (🥈32 · ⭐ 4.2K) - A new kind of Progress Bar, with real-time throughput, ETA, and.. MIT
stackprinter (🥉25 · ⭐ 1.2K) - Debugging-friendly exceptions for Python. MIT
better-exceptions (🥉24 · ⭐ 4.3K) - Pretty and useful exceptions in Python, automatically. MIT
python-devtools (🥉21 · ⭐ 660) - Dev tools for python. MIT
Show 7 hidden projects...
- structlog (🥈34 · ⭐ 2.4K) - Simple, powerful, and fast logging for Python.
❗Unlicensed
- logbook (🥉31 · ⭐ 1.4K · 💀) - A cool logging replacement for Python.
BSD-3
- prettytable (🥉31 · ⭐ 980) - Display tabular data in a visually appealing ASCII table..
❗️BSD-1-Clause
- python-coloredlogs (🥉29 · ⭐ 500 · 💀) - Colored terminal output for Pythons logging module.
MIT
- rebound (🥉26 · ⭐ 4K · 💀) - Command-line tool that instantly fetches Stack Overflow results when an..
MIT
- PrettyErrors (🥉22 · ⭐ 2.6K · 💀) - Prettify Python exception output to make it legible.
MIT
- tbvaccine (🥉16 · ⭐ 370 · 💀) - A small utility to pretty-print Python tracebacks.
MIT
Documentation
🔗 best-of-mkdocs ( ⭐ 160) - Collection of MkDocs projects and plugins.
mkdocs-material (🥇42 · ⭐ 13K) - Documentation that simply works. MIT


sphinx_rtd_theme (🥈38 · ⭐ 4.3K) - Sphinx theme for readthedocs.org. MIT

mkdocstrings (🥈31 · ⭐ 1.2K) - Automatic documentation from sources, for MkDocs. ISC


sphinx-autodoc-typehints (🥈31 · ⭐ 480 · 📈) - Type hints support for the Sphinx autodoc extension. MIT

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

interrogate (🥉26 · ⭐ 460 · 💤) - Explain yourself! Interrogate a codebase for docstring coverage. MIT
Griffe (🥉25 · ⭐ 140) - Signatures for entire Python programs. Extract the structure, the frame,.. ISC
pdoc3 (🥉24 · ⭐ 950) - Auto-generate API documentation for Python projects. ❗️AGPL-3.0
blacken-docs (🥉24 · ⭐ 490) - Run `black` on python code blocks in documentation files. MIT
mkdocs-awesome-pages-plugin (🥉24 · ⭐ 300) - An MkDocs plugin that simplifies configuring page.. MIT


mkdocs-print-site-plugin (🥉20 · ⭐ 71) - MkDocs Plugin that adds an additional page that.. MIT


mkdocs-git-revision-date-plugin (🥉19 · ⭐ 51 · 💤) - MkDocs plugin for setting revision date from git per.. MIT


Show 7 hidden projects...
- sphinx-bootstrap-theme (🥉26 · ⭐ 590 · 💀) - Sphinx Bootstrap Theme.
MIT
- mkdocs-with-pdf (🥉23 · ⭐ 220 · 💀) - Generate a single PDF file from MkDocs repository.
MIT
- pytkdocs (🥉23 · ⭐ 47 · 💤) - Load Python objects documentation.
ISC
- pycco (🥉22 · ⭐ 810 · 💀) - Literate-style documentation generator.
MIT
- mkdocs-pdf-export-plugin (🥉21 · ⭐ 270 · 💀) - An MkDocs plugin to export content pages as PDF files.
MIT
- sphinx-markdown-builder (🥉21 · ⭐ 150 · 💀) - sphinx builder that outputs markdown files.
MIT
- mkdocs-versioning (🥉17 · ⭐ 40 · 💀) - A tool that allows for versioning sites built with..
MIT
Debugging Tools
gdbgui (🥈29 · ⭐ 9.1K · 💤) - Browser-based frontend to gdb (gnu debugger). Add breakpoints,.. ❗️GPL-3.0
pyelftools (🥈29 · ⭐ 1.6K) - Parsing ELF and DWARF in Python. Unlicense
python-hunter (🥉21 · ⭐ 720) - Hunter is a flexible code tracing toolkit. BSD-2
Birdseye (🥉20 · ⭐ 1.5K · 💤) - Graphical Python debugger which lets you easily view the values of.. MIT
python-manhole (🥉20 · ⭐ 340) - Debugging manhole for python applications. BSD-2
Testing Tools
🔗 best-of-web-python - Testing ( ⭐ 1.8K) - Testing libraries & tools for python web frameworks.
🔗 unittest - Unittest is a test framework included in the Python standard library.
robotframework (🥇41 · ⭐ 7.9K) - Generic automation framework for acceptance testing and RPA. Apache-2
hypothesis (🥇41 · ⭐ 6.6K) - Hypothesis is a powerful, flexible, and easy to use library for.. MPL-2.0
playwright-python (🥇35 · ⭐ 8.2K) - Python version of the Playwright testing and automation.. Apache-2
pytest-xdist (🥇35 · ⭐ 1.1K) - pytest plugin for distributed testing and loop-on-failures.. MIT


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


pytest-cov (🥈34 · ⭐ 1.4K) - Coverage plugin for pytest. MIT


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


pytest-bdd (🥈33 · ⭐ 1.1K) - BDD library for the py.test runner. MIT


pytest-asyncio (🥈33 · ⭐ 1.1K) - Asyncio support for pytest. Apache-2


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


asv (🥉30 · ⭐ 760) - Airspeed Velocity: A simple Python benchmarking tool with web-based reporting. BSD-3
coveralls-python (🥉30 · ⭐ 510) - Show coverage stats online via coveralls.io. MIT


factory_boy (🥉29 · ⭐ 3.1K) - A test fixtures replacement for Python. MIT
pytest-benchmark (🥉29 · ⭐ 1.1K) - py.test fixture for benchmarking code. BSD-2


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


pytest-randomly (🥉26 · ⭐ 490) - Pytest plugin to randomly order tests and control random.seed. MIT
pytest-mypy (🥉25 · ⭐ 220) - Mypy static type checker plugin for Pytest. MIT


pytest-plugins (🥉23 · ⭐ 500) - A grab-bag of nifty pytest plugins. MIT
pytest-datadir (🥉23 · ⭐ 200) - pytest plugin for manipulating test data directories and.. MIT


pytest-testmon (🥉21 · ⭐ 630) - Selects tests affected by changed files. Executes the.. ❗️AGPL-3.0


pytest-docker (🥉21 · ⭐ 330) - Docker-based integration tests. MIT


Show 11 hidden projects...
- pyautogui (🥈34 · ⭐ 7.8K · 💀) - A cross-platform GUI automation Python module for human beings...
BSD-3
- nose (🥈33 · ⭐ 1.4K · 💀) - nose is nicer testing for python.
❗️LGPL-2.1+
- PyHamcrest (🥉28 · ⭐ 700) - Hamcrest matchers for Python.
❗Unlicensed
- uiautomator (🥉27 · ⭐ 1.9K · 💀) - Python wrapper of Android uiautomator test tool.
MIT
- pytest-watch (🥉25 · ⭐ 680 · 💀) - Local continuous test runner with pytest and watchdog.
MIT
- Mamba Test Runner (🥉25 · ⭐ 500 · 💀) - The definitive testing tool for Python. Born under the..
MIT
- pytest-lazy-fixture (🥉23 · ⭐ 310 · 💀) - It helps to use fixtures in pytest.mark.parametrize.
MIT
- sixpack (🥉22 · ⭐ 1.7K · 💀) - Sixpack is a language-agnostic a/b-testing framework.
BSD-2
- assertpy (🥉19 · ⭐ 380 · 💀) - Simple assertion library for unit testing in python with a fluent..
BSD-3
- fake2db (🥉18 · ⭐ 2.2K · 💀) - create custom test databases that are populated with fake data.
❗️GPL-2.0
- pytest-play (🥉16 · ⭐ 68 · 💀) - pytest plugin that let you automate actions and..
Apache-2
Code Packaging
🔗 Python.org Packaging - An Overview of Packaging for Python.
pyinstaller (🥇42 · ⭐ 10K) - Freeze (package) Python programs into stand-alone executables. ❗️GPL-2.0
Nuitka (🥇38 · ⭐ 8.5K) - Nuitka is a Python compiler written in Python. Its fully compatible.. Apache-2
cx_Freeze (🥈31 · ⭐ 1K) - Create standalone executables from Python scripts, with the same.. Python-2.0
PyOxidizer (🥈30 · ⭐ 4.6K) - A modern Python application packaging and distribution tool. MPL-2.0
shiv (🥉24 · ⭐ 1.6K) - shiv is a command line utility for building fully self contained Python.. BSD-2
constructor (🥉24 · ⭐ 390) - tool for creating installers from conda packages. BSD-3
subpar (🥉12 · ⭐ 550) - Subpar is a utility for creating self-contained python executables. It.. Apache-2
-
GitHub (👨💻 16 · 🔀 68 · 📋 63 - 52% open · ⏱️ 19.12.2022):
git clone https://github.com/google/subpar
Show 1 hidden projects...
Build Tools
setuptools (🥇45 · ⭐ 2K) - Official project repository for the Setuptools build system. MIT
buildbot (🥈35 · ⭐ 5K) - Python-based continuous integration testing framework; your pull.. ❗️GPL-2.0
setuptools_scm (🥉34 · ⭐ 690 · 📈) - the blessed package to manage your versions by scm tags. MIT
universal-build (🥉14 · ⭐ 19) - Universal build utilities for containerized build pipelines. MIT
Show 3 hidden projects...
System Monitoring & Profiling
Glances (🥇37 · ⭐ 22K) - Glances an Eye on your system. A top/htop alternative for.. ❗️LGPL-3.0
py-spy (🥈32 · ⭐ 9.8K) - Sampling profiler for Python programs. MIT
-
GitHub (👨💻 31 · 🔀 350 · 📥 12K · 📦 2.4K · 📋 300 - 38% open · ⏱️ 09.12.2022):
git clone https://github.com/benfred/py-spy
-
PyPi (📥 1.7M / month · 📦 42 · ⏱️ 07.09.2022):
pip install py-spy
-
Conda (📥 390K · ⏱️ 09.09.2022):
conda install -c conda-forge py-spy
-
Cargo (📥 670 / month · 📦 1 · ⏱️ 07.09.2022):
cargo install py-spy
Scalene (🥈32 · ⭐ 7.5K) - Scalene: a high-performance, high-precision CPU, GPU, and memory.. Apache-2
pyinstrument (🥈30 · ⭐ 5.2K) - Call stack profiler for Python. Shows you why your code is slow!. BSD-3
memory-profiler (🥈29 · ⭐ 3.8K) - Monitor Memory usage of Python code. BSD-3
Diamond (🥈29 · ⭐ 1.7K) - Diamond is a python daemon that collects system metrics and publishes.. MIT
line_profiler (🥉26 · ⭐ 1.7K) - Line-by-line profiling for Python. BSD-3
Show 5 hidden projects...
- memory_profiler (🥉27 · ⭐ 3.8K · 💀) - Monitor Memory usage of Python code.
BSD-3
- Profiling (🥉21 · ⭐ 3K · 💀) - Was an interactive continuous Python profiler.
BSD-3
- heartrate (🥉20 · ⭐ 1.6K · 💀) - Simple real time visualisation of the execution of a Python program.
MIT
- pyheat (🥉18 · ⭐ 750 · 💀) - pprofile + matplotlib = Python program profiled as an awesome heatmap!.
MIT
- livepython (🥉12 · ⭐ 2.5K · 💀) - Visually trace Python code in real-time.
MIT
AST Tools
typed_ast (🥈28 · ⭐ 220) - Modified fork of CPythons ast module that parses `# type:` comments. Apache-2
Show 1 hidden projects...
- astunparse (🥉27 · ⭐ 200 · 💀) - An AST unparser for Python.
BSD-3
Others
pre-commit (🥇41 · ⭐ 10K) - 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.