| 1 |
thealgorithms
Algorithms
|
220,639 |
|
Algorithms and Design Patterns
|
→ |
|
All Algorithms implemented in Python.
|
|
| 2 |
mock
Mock
|
72,556 |
|
Testing
|
→ |
|
(Python standard library) A mocking and patching library.
|
|
| 3 |
unittest
Frameworks
|
72,556 |
|
Testing
|
→ |
|
(Python standard library) Unit testing framework.
|
|
| 4 |
ruff
Code Linters
|
47,340 |
|
Code Analysis
|
→ |
|
An extremely fast Python linter and code formatter.
|
|
| 5 |
python-patterns
Design Patterns
|
42,732 |
|
Algorithms and Design Patterns
|
→ |
|
A collection of design patterns in Python.
|
|
| 6 |
diagrams
Developer Tools
|
42,237 |
|
Documentation
|
→ |
|
|
|
| 7 |
black
Code Formatters
|
41,492 |
|
Code Analysis
|
→ |
|
The uncompromising Python code formatter.
|
|
| 8 |
selenium
GUI / Web Testing
|
34,074 |
|
Testing
|
→ |
|
|
|
| 9 |
locust
GUI / Web Testing
|
27,749 |
|
Testing
|
→ |
|
Scalable user load testing tool written in Python.
|
|
| 10 |
algorithms
Algorithms
|
25,437 |
|
Algorithms and Design Patterns
|
→ |
|
Minimal examples of data structures and algorithms.
|
|
| 11 |
mkdocs
Developer Tools
|
22,040 |
|
Documentation
|
→ |
|
Markdown friendly documentation generator.
|
|
| 12 |
marimo
Developer Tools
|
20,745 |
|
Interactive Interpreter
|
→ |
|
Transform data and train models, feels like a next-gen notebook, stored as Git-friendly Python.
|
|
| 13 |
mypy
Type Checkers
|
20,398 |
|
Code Analysis
|
→ |
|
Check variable types during compile time.
|
|
| 14 |
faker
Fake Data
|
19,233 |
|
Testing
|
→ |
|
A Python package that generates fake data.
|
|
| 15 |
ty
Type Checkers
|
18,484 |
|
Code Analysis
|
→ |
|
An extremely fast Python type checker and language server.
|
|
| 16 |
py-spy
Profiler
|
15,156 |
|
Debugging Tools
|
→ |
|
A sampling profiler for Python programs. Written in Rust.
|
|
| 17 |
playwright-python
GUI / Web Testing
|
14,572 |
|
Testing
|
→ |
|
Python version of the Playwright testing and automation library.
|
|
| 18 |
pytest
Frameworks
|
13,820 |
|
Testing
|
→ |
|
A mature full-featured Python testing tool.
|
|
| 19 |
scalene
Profiler
|
13,402 |
|
Debugging Tools
|
→ |
|
A high-performance, high-precision CPU, GPU, and memory profiler for Python.
|
|
| 20 |
jupyter
Developer Tools
|
13,124 |
|
Interactive Interpreter
|
→ |
|
A rich toolkit to help you make the most out of using Python interactively.
|
|
| 21 |
pyautogui
GUI / Web Testing
|
12,468 |
|
Testing
|
→ |
|
PyAutoGUI is a cross-platform GUI automation Python module for human beings.
|
|
| 22 |
robotframework
Frameworks
|
11,608 |
|
Testing
|
→ |
|
A generic test automation framework.
|
|
| 23 |
icecream
Others
|
10,043 |
|
Debugging Tools
|
→ |
|
Inspect variables, expressions, and program execution with a single, simple function call.
|
|
| 24 |
platformio
Developer Tools
|
9,061 |
|
Build Tools
|
→ |
|
A console tool to build code with different development platforms.
|
|
| 25 |
hypothesis
Frameworks
|
8,606 |
|
Testing
|
→ |
|
Hypothesis is an advanced Quickcheck style property based testing library.
|
|
| 26 |
django-debug-toolbar
Others
|
8,357 |
|
Debugging Tools
|
→ |
|
Display various debug information for Django.
|
|
| 27 |
bandit
Code Linters
|
7,985 |
|
Code Analysis
|
→ |
|
A tool designed to find common security issues in Python code.
|
|
| 28 |
sphinx
Developer Tools
|
7,802 |
|
Documentation
|
→ |
|
Python Documentation generator.
|
|
| 29 |
isort
Code Formatters
|
6,937 |
|
Code Analysis
|
→ |
|
A Python utility / library to sort imports.
|
|
| 30 |
transitions
Design Patterns
|
6,501 |
|
Algorithms and Design Patterns
|
→ |
|
A lightweight, object-oriented finite state machine implementation.
|
|
| 31 |
pylint
Code Linters
|
5,674 |
|
Code Analysis
|
→ |
|
A fully customizable source code analyzer.
|
|
| 32 |
pyrefly
Type Checkers
|
5,656 |
|
Code Analysis
|
→ |
|
A fast type checker and language server for Python.
|
|
| 33 |
ptpython
Developer Tools
|
5,425 |
|
Interactive Interpreter
|
→ |
|
|
|
| 34 |
typeshed
Type Checkers
|
5,048 |
|
Code Analysis
|
→ |
|
Collection of library stubs for Python, with static types.
|
|
| 35 |
pytype
Type Annotations Generators
|
5,033 |
|
Code Analysis
|
→ |
|
Pytype checks and infers types for Python code - without requiring type annotations.
|
|
| 36 |
monkeytype
Type Annotations Generators
|
4,997 |
|
Code Analysis
|
→ |
|
A system for Python that generates static type annotations by collecting runtime types.
|
|
| 37 |
mimesis
Fake Data
|
4,804 |
|
Testing
|
→ |
|
is a Python library that help you generate fake data.
|
|
| 38 |
invoke
Developer Tools
|
4,744 |
|
Build Tools
|
→ |
|
A tool for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks.
|
|
| 39 |
code2flow
Code Analysis
|
4,569 |
|
Code Analysis
|
→ |
|
Turn your Python and JavaScript code into DOT flowcharts.
|
|
| 40 |
vulture
Code Analysis
|
4,566 |
|
Code Analysis
|
→ |
|
A tool for finding and analyzing dead Python code.
|
|
| 41 |
freezegun
Mock
|
4,503 |
|
Testing
|
→ |
|
Travel through time by mocking the datetime module.
|
|
| 42 |
responses
Mock
|
4,339 |
|
Testing
|
→ |
|
A utility library for mocking out the requests Python library.
|
|
| 43 |
sortedcontainers
Algorithms
|
3,936 |
|
Algorithms and Design Patterns
|
→ |
|
Fast and pure-Python implementation of sorted collections.
|
|
| 44 |
tox
Test Runners
|
3,917 |
|
Testing
|
→ |
|
Auto builds and tests distributions in multiple Python versions
|
|
| 45 |
factory_boy
Object Factories
|
3,788 |
|
Testing
|
→ |
|
A test fixtures replacement for Python.
|
|
| 46 |
flake8
Code Linters
|
3,782 |
|
Code Analysis
|
→ |
|
A wrapper around pycodestyle, pyflakes and McCabe.
|
|
| 47 |
coverage
Code Coverage
|
3,361 |
|
Testing
|
→ |
|
Code coverage measurement.
|
|
| 48 |
schemathesis
GUI / Web Testing
|
3,258 |
|
Testing
|
→ |
|
A tool for automatic property-based testing of web applications built with Open API / Swagger specifications.
|
|
| 49 |
pudb
pdb-like Debugger
|
3,239 |
|
Debugging Tools
|
→ |
|
A full-screen, console-based Python debugger.
|
|
| 50 |
vcrpy
Mock
|
2,962 |
|
Testing
|
→ |
|
Record and replay HTTP interactions on your tests.
|
|
| 51 |
pdoc
Developer Tools
|
2,498 |
|
Documentation
|
→ |
|
Epydoc replacement to auto generate API documentation for Python libraries.
|
|
| 52 |
scons
Developer Tools
|
2,373 |
|
Build Tools
|
→ |
|
A software construction tool.
|
|
| 53 |
rope
Refactoring
|
2,205 |
|
Code Analysis
|
→ |
|
Rope is a python refactoring library.
|
|
| 54 |
prospector
Code Analysis
|
2,074 |
|
Code Analysis
|
→ |
|
A tool to analyze Python code.
|
|
| 55 |
doit
Developer Tools
|
2,044 |
|
Build Tools
|
→ |
|
A task runner and build tool.
|
|
| 56 |
pybuilder
Developer Tools
|
1,982 |
|
Build Tools
|
→ |
|
A continuous build tool written in pure Python.
|
|
| 57 |
ipdb
pdb-like Debugger
|
1,975 |
|
Debugging Tools
|
→ |
|
|
|
| 58 |
nox
Test Runners
|
1,516 |
|
Testing
|
→ |
|
Flexible test automation for Python.
|
|
| 59 |
scanapi
Frameworks
|
1,488 |
|
Testing
|
→ |
|
Automated Testing and Documentation for your REST API.
|
|
| 60 |
polyfactory
Object Factories
|
1,458 |
|
Testing
|
→ |
|
mock data generation library with support to classes (continuation of pydantic-factories)
|
|
| 61 |
repowise
Code Analysis
|
1,355 |
|
Code Analysis
|
→ |
|
Codebase intelligence that indexes repos into dependency graphs, git history, and auto-generated docs with dead code detection.
|
|
| 62 |
flask-debugtoolbar
Others
|
978 |
|
Debugging Tools
|
→ |
|
A port of the django-debug-toolbar to flask.
|
|
| 63 |
memory_graph
Others
|
910 |
|
Debugging Tools
|
→ |
|
Visualize Python data at runtime to debug references, mutability, and aliasing.
|
|
| 64 |
python-hunter
Tracing
|
866 |
|
Debugging Tools
|
→ |
|
A flexible code tracing toolkit.
|
|
| 65 |
respx
Mock
|
793 |
|
Testing
|
→ |
|
Mock HTTPX with awesome request patterns and response side effects.
|
|
| 66 |
bitbake
Developer Tools
|
514 |
|
Build Tools
|
→ |
|
A make-like build tool for embedded Linux.
|
|
| 67 |
manhole
Tracing
|
402 |
|
Debugging Tools
|
→ |
|
Debugging UNIX socket connections and present the stacktraces for all threads and an interactive prompt.
|
|
| 68 |
mocket
Mock
|
308 |
|
Testing
|
→ |
|
A socket mock framework with gevent/asyncio/SSL support.
|
|