| 1 |
thealgorithms
Algorithms
|
221,210 |
|
Algorithms
Algorithms and Design Patterns
Developer Tools
|
→ |
|
All Algorithms implemented in Python.
|
|
|
|
| 2 |
mock
Mock
|
72,760 |
|
Mock
Testing
Developer Tools
Built-in
|
→ |
|
(Python standard library) A mocking and patching library.
|
|
|
|
| 3 |
unittest
Frameworks
|
72,760 |
|
Frameworks
Testing
Developer Tools
Built-in
|
→ |
|
(Python standard library) Unit testing framework.
|
|
|
|
| 4 |
ruff
Code Formatters
|
47,607 |
|
Code Formatters
Code Analysis
Developer Tools
|
→ |
|
An extremely fast Python linter and code formatter.
|
|
|
|
| 5 |
python-patterns
Design Patterns
|
42,751 |
|
Design Patterns
Algorithms and Design Patterns
Developer Tools
|
→ |
|
A collection of design patterns in Python.
|
|
|
|
| 6 |
diagrams
Developer Tools
|
42,279 |
|
Documentation
Developer Tools
|
→ |
|
Diagram as Code.
|
|
|
|
| 7 |
black
Code Formatters
|
41,517 |
|
Code Formatters
Code Analysis
Developer Tools
|
→ |
|
The uncompromising Python code formatter.
|
|
|
|
| 8 |
selenium
GUI / Web Testing
|
34,084 |
|
GUI / Web Testing
Testing
Developer Tools
|
→ |
|
Python bindings for Selenium WebDriver.
|
|
|
|
| 9 |
locust
GUI / Web Testing
|
27,800 |
|
GUI / Web Testing
Testing
Developer Tools
|
→ |
|
Scalable user load testing tool written in Python.
|
|
|
|
| 10 |
algorithms
Algorithms
|
25,448 |
|
Algorithms
Algorithms and Design Patterns
Developer Tools
|
→ |
|
Minimal examples of data structures and algorithms.
|
|
|
|
| 11 |
mkdocs
Developer Tools
|
22,088 |
|
Documentation
Developer Tools
|
→ |
|
Markdown friendly documentation generator.
|
|
|
|
| 12 |
marimo
Developer Tools
|
21,069 |
|
Interactive Interpreter
Developer Tools
|
→ |
|
Transform data and train models, feels like a next-gen notebook, stored as Git-friendly Python.
|
|
|
|
| 13 |
mypy
Type Checkers
|
20,430 |
|
Type Checkers
Code Analysis
Developer Tools
|
→ |
|
Check variable types during compile time.
|
|
|
|
| 14 |
faker
Fake Data
|
19,255 |
|
Fake Data
Testing
Developer Tools
|
→ |
|
A Python package that generates fake data.
|
|
|
|
| 15 |
ty
Type Checkers
|
18,686 |
|
Type Checkers
Code Analysis
Developer Tools
|
→ |
|
An extremely fast Python type checker and language server.
|
|
|
|
| 16 |
py-spy
Profiler
|
15,204 |
|
Profiler
Debugging Tools
Developer Tools
|
→ |
|
A sampling profiler for Python programs. Written in Rust.
|
|
|
|
| 17 |
playwright-python
GUI / Web Testing
|
14,646 |
|
GUI / Web Testing
Testing
Developer Tools
|
→ |
|
Python version of the Playwright testing and automation library.
|
|
|
|
| 18 |
pytest
Frameworks
|
13,862 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
A mature full-featured Python testing tool.
|
|
|
|
| 19 |
scalene
Profiler
|
13,419 |
|
Profiler
Debugging Tools
Developer Tools
|
→ |
|
A high-performance, high-precision CPU, GPU, and memory profiler for Python.
|
|
|
|
| 20 |
jupyter
Developer Tools
|
13,154 |
|
Interactive Interpreter
Developer Tools
|
→ |
|
A rich toolkit to help you make the most out of using Python interactively.
|
|
|
|
| 21 |
pyautogui
GUI / Web Testing
|
12,503 |
|
GUI / Web Testing
Testing
Developer Tools
|
→ |
|
PyAutoGUI is a cross-platform GUI automation Python module for human beings.
|
|
|
|
| 22 |
robotframework
Frameworks
|
11,638 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
A generic test automation framework.
|
|
|
|
| 23 |
icecream
Others
|
10,052 |
|
Others
Debugging Tools
Developer Tools
|
→ |
|
Inspect variables, expressions, and program execution with a single, simple function call.
|
|
|
|
| 24 |
platformio
Developer Tools
|
9,234 |
|
Build Tools
Developer Tools
|
→ |
|
A console tool to build code with different development platforms.
|
|
|
|
| 25 |
hypothesis
Frameworks
|
8,627 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
Hypothesis is an advanced Quickcheck style property based testing library.
|
|
|
|
| 26 |
django-debug-toolbar
Others
|
8,359 |
|
Others
Debugging Tools
Developer Tools
|
→ |
|
Display various debug information for Django.
|
|
|
|
| 27 |
bandit
Code Linters
|
8,038 |
|
Code Linters
Code Analysis
Developer Tools
|
→ |
|
A tool designed to find common security issues in Python code.
|
|
|
|
| 28 |
sphinx
Developer Tools
|
7,842 |
|
Documentation
Developer Tools
|
→ |
|
Python Documentation generator.
|
|
|
|
| 29 |
isort
Code Formatters
|
6,945 |
|
Code Formatters
Code Analysis
Developer Tools
|
→ |
|
A Python utility / library to sort imports.
|
|
|
|
| 30 |
transitions
Design Patterns
|
6,520 |
|
Design Patterns
Algorithms and Design Patterns
Developer Tools
|
→ |
|
A lightweight, object-oriented finite state machine implementation.
|
|
|
|
| 31 |
pyrefly
Type Checkers
|
6,284 |
|
Type Checkers
Code Analysis
Developer Tools
|
→ |
|
A fast type checker and language server for Python.
|
|
|
|
| 32 |
pylint
Code Linters
|
5,684 |
|
Code Linters
Code Analysis
Developer Tools
|
→ |
|
A fully customizable source code analyzer.
|
|
|
|
| 33 |
ptpython
Developer Tools
|
5,430 |
|
Interactive Interpreter
Developer Tools
|
→ |
|
Advanced Python REPL built on top of the python-prompt-toolkit.
|
|
|
|
| 34 |
typeshed
Type Checkers
|
5,060 |
|
Type Checkers
Code Analysis
Developer Tools
|
→ |
|
Collection of library stubs for Python, with static types.
|
|
|
|
| 35 |
pytype
Type Annotations Generators
|
5,037 |
|
Type Annotations Generators
Code Analysis
Developer Tools
|
→ |
|
Pytype checks and infers types for Python code - without requiring type annotations.
|
|
|
|
| 36 |
monkeytype
Type Annotations Generators
|
4,996 |
|
Type Annotations Generators
Code Analysis
Developer Tools
|
→ |
|
A system for Python that generates static type annotations by collecting runtime types.
|
|
|
|
| 37 |
mimesis
Fake Data
|
4,807 |
|
Fake Data
Testing
Developer Tools
|
→ |
|
is a Python library that help you generate fake data.
|
|
|
|
| 38 |
invoke
Developer Tools
|
4,749 |
|
Build Tools
Developer Tools
|
→ |
|
A tool for managing shell-oriented subprocesses and organizing executable Python code into CLI-invokable tasks.
|
|
|
|
| 39 |
vulture
Code Analysis
|
4,612 |
|
Code Analysis
Code Analysis
Developer Tools
|
→ |
|
A tool for finding and analyzing dead Python code.
|
|
|
|
| 40 |
code2flow
Code Analysis
|
4,573 |
|
Code Analysis
Code Analysis
Developer Tools
|
→ |
|
Turn your Python and JavaScript code into DOT flowcharts.
|
|
|
|
| 41 |
freezegun
Mock
|
4,507 |
|
Mock
Testing
Developer Tools
|
→ |
|
Travel through time by mocking the datetime module.
|
|
|
|
| 42 |
responses
Mock
|
4,342 |
|
Mock
Testing
Developer Tools
|
→ |
|
A utility library for mocking out the requests Python library.
|
|
|
|
| 43 |
sortedcontainers
Algorithms
|
3,941 |
|
Algorithms
Algorithms and Design Patterns
Developer Tools
|
→ |
|
Fast and pure-Python implementation of sorted collections.
|
|
|
|
| 44 |
tox
Test Runners
|
3,918 |
|
Test Runners
Testing
Developer Tools
|
→ |
|
Auto builds and tests distributions in multiple Python versions
|
|
|
|
| 45 |
factory_boy
Object Factories
|
3,793 |
|
Object Factories
Testing
Developer Tools
|
→ |
|
A test fixtures replacement for Python.
|
|
|
|
| 46 |
flake8
Code Linters
|
3,791 |
|
Code Linters
Code Analysis
Developer Tools
|
→ |
|
A wrapper around pycodestyle, pyflakes and McCabe.
|
|
|
|
| 47 |
coverage
Code Coverage
|
3,376 |
|
Code Coverage
Testing
Developer Tools
|
→ |
|
Code coverage measurement.
|
|
|
|
| 48 |
schemathesis
GUI / Web Testing
|
3,300 |
|
GUI / Web Testing
Testing
Developer Tools
|
→ |
|
A tool for automatic property-based testing of web applications built with Open API / Swagger specifications.
|
|
|
|
| 49 |
pudb
pdb-like Debugger
|
3,241 |
|
pdb-like Debugger
Debugging Tools
Developer Tools
|
→ |
|
A full-screen, console-based Python debugger.
|
|
|
|
| 50 |
vcrpy
Mock
|
2,962 |
|
Mock
Testing
Developer Tools
|
→ |
|
Record and replay HTTP interactions on your tests.
|
|
|
|
| 51 |
pdoc
Developer Tools
|
2,502 |
|
Documentation
Developer Tools
|
→ |
|
Epydoc replacement to auto generate API documentation for Python libraries.
|
|
|
|
| 52 |
scons
Developer Tools
|
2,385 |
|
Build Tools
Developer Tools
|
→ |
|
A software construction tool.
|
|
|
|
| 53 |
rope
Refactoring
|
2,212 |
|
Refactoring
Code Analysis
Developer Tools
|
→ |
|
Rope is a python refactoring library.
|
|
|
|
| 54 |
prospector
Code Analysis
|
2,079 |
|
Code Analysis
Code Analysis
Developer Tools
|
→ |
|
A tool to analyze Python code.
|
|
|
|
| 55 |
doit
Developer Tools
|
2,053 |
|
Build Tools
Developer Tools
|
→ |
|
A task runner and build tool.
|
|
|
|
| 56 |
pybuilder
Developer Tools
|
1,995 |
|
Build Tools
Developer Tools
|
→ |
|
A continuous build tool written in pure Python.
|
|
|
|
| 57 |
ipdb
pdb-like Debugger
|
1,975 |
|
pdb-like Debugger
Debugging Tools
Developer Tools
|
→ |
|
|
|
|
|
| 58 |
repowise
Code Analysis
|
1,761 |
|
Code Analysis
Code Analysis
Developer Tools
|
→ |
|
Codebase intelligence that indexes repos into dependency graphs, git history, and auto-generated docs with dead code detection.
|
|
|
|
| 59 |
scanapi
Frameworks
|
1,549 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
Automated Testing and Documentation for your REST API.
|
|
|
|
| 60 |
nox
Test Runners
|
1,522 |
|
Test Runners
Testing
Developer Tools
|
→ |
|
Flexible test automation for Python.
|
|
|
|
| 61 |
polyfactory
Object Factories
|
1,464 |
|
Object Factories
Testing
Developer Tools
|
→ |
|
mock data generation library with support to classes (continuation of pydantic-factories)
|
|
|
|
| 62 |
flask-debugtoolbar
Others
|
978 |
|
Others
Debugging Tools
Developer Tools
|
→ |
|
A port of the django-debug-toolbar to flask.
|
|
|
|
| 63 |
memory_graph
Others
|
928 |
|
Others
Debugging Tools
Developer Tools
|
→ |
|
Visualize Python data at runtime to debug references, mutability, and aliasing.
|
|
|
|
| 64 |
python-hunter
Tracing
|
868 |
|
Tracing
Debugging Tools
Developer Tools
|
→ |
|
A flexible code tracing toolkit.
|
|
|
|
| 65 |
respx
Mock
|
796 |
|
Mock
Testing
Developer Tools
|
→ |
|
Mock HTTPX with awesome request patterns and response side effects.
|
|
|
|
| 66 |
bitbake
Developer Tools
|
518 |
|
Build Tools
Developer Tools
|
→ |
|
A make-like build tool for embedded Linux.
|
|
|
|
| 67 |
manhole
Tracing
|
402 |
|
Tracing
Debugging Tools
Developer Tools
|
→ |
|
Debugging UNIX socket connections and present the stacktraces for all threads and an interactive prompt.
|
|
|
|
| 68 |
mocket
Mock
|
308 |
|
Mock
Testing
Developer Tools
|
→ |
|
A socket mock framework with gevent/asyncio/SSL support.
|
|
|
|