| 1 |
thealgorithms
Algorithms
|
222,004 |
|
Algorithms
Algorithms and Design Patterns
Developer Tools
|
→ |
|
All Algorithms implemented in Python.
|
|
|
|
| 2 |
mock
Mock
|
73,285 |
|
Mock
Testing
Developer Tools
Built-in
|
→ |
|
(Python standard library) A mocking and patching library.
|
|
|
|
| 3 |
unittest
Frameworks
|
73,285 |
|
Frameworks
Testing
Developer Tools
Built-in
|
→ |
|
(Python standard library) Unit testing framework.
|
|
|
|
| 4 |
ruff
Code Formatters
|
48,041 |
|
Code Formatters
Code Analysis
Developer Tools
|
→ |
|
An extremely fast Python linter and code formatter.
|
|
|
|
| 5 |
python-patterns
Design Patterns
|
42,802 |
|
Design Patterns
Algorithms and Design Patterns
Developer Tools
|
→ |
|
A collection of design patterns in Python.
|
|
|
|
| 6 |
diagrams
Developer Tools
|
42,359 |
|
Documentation
Developer Tools
|
→ |
|
Diagram as Code.
|
|
|
|
| 7 |
black
Code Formatters
|
41,559 |
|
Code Formatters
Code Analysis
Developer Tools
|
→ |
|
The uncompromising Python code formatter.
|
|
|
|
| 8 |
selenium
GUI / Web Testing
|
34,202 |
|
GUI / Web Testing
Testing
Developer Tools
|
→ |
|
Python bindings for Selenium WebDriver.
|
|
|
|
| 9 |
locust
GUI / Web Testing
|
27,905 |
|
GUI / Web Testing
Testing
Developer Tools
|
→ |
|
Scalable user load testing tool written in Python.
|
|
|
|
| 10 |
algorithms
Algorithms
|
25,478 |
|
Algorithms
Algorithms and Design Patterns
Developer Tools
|
→ |
|
Minimal examples of data structures and algorithms.
|
|
|
|
| 11 |
mkdocs
Developer Tools
|
22,176 |
|
Documentation
Developer Tools
|
→ |
|
Markdown friendly documentation generator.
|
|
|
|
| 12 |
marimo
Developer Tools
|
21,473 |
|
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,475 |
|
Type Checkers
Code Analysis
Developer Tools
|
→ |
|
Check variable types during compile time.
|
|
|
|
| 14 |
faker
Fake Data
|
19,278 |
|
Fake Data
Testing
Developer Tools
|
→ |
|
A Python package that generates fake data.
|
|
|
|
| 15 |
ty
Type Checkers
|
18,962 |
|
Type Checkers
Code Analysis
Developer Tools
|
→ |
|
An extremely fast Python type checker and language server.
|
|
|
|
| 16 |
py-spy
Profiler
|
15,274 |
|
Profiler
Debugging Tools
Developer Tools
|
→ |
|
A sampling profiler for Python programs. Written in Rust.
|
|
|
|
| 17 |
playwright-python
GUI / Web Testing
|
14,748 |
|
GUI / Web Testing
Testing
Developer Tools
|
→ |
|
Python version of the Playwright testing and automation library.
|
|
|
|
| 18 |
pytest
Frameworks
|
14,155 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
A mature full-featured Python testing tool.
|
|
|
|
| 19 |
scalene
Profiler
|
13,449 |
|
Profiler
Debugging Tools
Developer Tools
|
→ |
|
A high-performance, high-precision CPU, GPU, and memory profiler for Python.
|
|
|
|
| 20 |
jupyter
Developer Tools
|
13,205 |
|
Interactive Interpreter
Developer Tools
|
→ |
|
A rich toolkit to help you make the most out of using Python interactively.
|
|
|
|
| 21 |
pyautogui
GUI / Web Testing
|
12,564 |
|
GUI / Web Testing
Testing
Developer Tools
|
→ |
|
PyAutoGUI is a cross-platform GUI automation Python module for human beings.
|
|
|
|
| 22 |
robotframework
Frameworks
|
11,703 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
A generic test automation framework.
|
|
|
|
| 23 |
icecream
Others
|
10,063 |
|
Others
Debugging Tools
Developer Tools
|
→ |
|
Inspect variables, expressions, and program execution with a single, simple function call.
|
|
|
|
| 24 |
platformio
Developer Tools
|
9,298 |
|
Build Tools
Developer Tools
|
→ |
|
A console tool to build code with different development platforms.
|
|
|
|
| 25 |
hypothesis
Frameworks
|
8,701 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
Hypothesis is an advanced Quickcheck style property based testing library.
|
|
|
|
| 26 |
django-debug-toolbar
Others
|
8,372 |
|
Others
Debugging Tools
Developer Tools
|
→ |
|
Display various debug information for Django.
|
|
|
|
| 27 |
bandit
Code Linters
|
8,094 |
|
Code Linters
Code Analysis
Developer Tools
|
→ |
|
A tool designed to find common security issues in Python code.
|
|
|
|
| 28 |
sphinx
Developer Tools
|
7,878 |
|
Documentation
Developer Tools
|
→ |
|
Python Documentation generator.
|
|
|
|
| 29 |
isort
Code Formatters
|
6,947 |
|
Code Formatters
Code Analysis
Developer Tools
|
→ |
|
A Python utility / library to sort imports.
|
|
|
|
| 30 |
pyrefly
Type Checkers
|
6,657 |
|
Type Checkers
Code Analysis
Developer Tools
|
→ |
|
A fast type checker and language server for Python.
|
|
|
|
| 31 |
transitions
Design Patterns
|
6,547 |
|
Design Patterns
Algorithms and Design Patterns
Developer Tools
|
→ |
|
A lightweight, object-oriented finite state machine implementation.
|
|
|
|
| 32 |
pylint
Code Linters
|
5,685 |
|
Code Linters
Code Analysis
Developer Tools
|
→ |
|
A fully customizable source code analyzer.
|
|
|
|
| 33 |
ptpython
Developer Tools
|
5,440 |
|
Interactive Interpreter
Developer Tools
|
→ |
|
Advanced Python REPL built on top of the python-prompt-toolkit.
|
|
|
|
| 34 |
typeshed
Type Checkers
|
5,077 |
|
Type Checkers
Code Analysis
Developer Tools
|
→ |
|
Collection of library stubs for Python, with static types.
|
|
|
|
| 35 |
pytype
Type Annotations Generators
|
5,036 |
|
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,998 |
|
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,818 |
|
Fake Data
Testing
Developer Tools
|
→ |
|
is a Python library that help you generate fake data.
|
|
|
|
| 38 |
invoke
Developer Tools
|
4,760 |
|
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,658 |
|
Code Analysis
Code Analysis
Developer Tools
|
→ |
|
A tool for finding and analyzing dead Python code.
|
|
|
|
| 40 |
code2flow
Code Analysis
|
4,586 |
|
Code Analysis
Code Analysis
Developer Tools
|
→ |
|
Turn your Python and JavaScript code into DOT flowcharts.
|
|
|
|
| 41 |
freezegun
Mock
|
4,517 |
|
Mock
Testing
Developer Tools
|
→ |
|
Travel through time by mocking the datetime module.
|
|
|
|
| 42 |
responses
Mock
|
4,350 |
|
Mock
Testing
Developer Tools
|
→ |
|
A utility library for mocking out the requests Python library.
|
|
|
|
| 43 |
sortedcontainers
Algorithms
|
3,957 |
|
Algorithms
Algorithms and Design Patterns
Developer Tools
|
→ |
|
Fast and pure-Python implementation of sorted collections.
|
|
|
|
| 44 |
tox
Test Runners
|
3,916 |
|
Test Runners
Testing
Developer Tools
|
→ |
|
Auto builds and tests distributions in multiple Python versions
|
|
|
|
| 45 |
factory_boy
Object Factories
|
3,798 |
|
Object Factories
Testing
Developer Tools
|
→ |
|
A test fixtures replacement for Python.
|
|
|
|
| 46 |
flake8
Code Linters
|
3,798 |
|
Code Linters
Code Analysis
Developer Tools
|
→ |
|
A wrapper around pycodestyle, pyflakes and McCabe.
|
|
|
|
| 47 |
coverage
Code Coverage
|
3,387 |
|
Code Coverage
Testing
Developer Tools
|
→ |
|
Code coverage measurement.
|
|
|
|
| 48 |
schemathesis
GUI / Web Testing
|
3,383 |
|
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,243 |
|
pdb-like Debugger
Debugging Tools
Developer Tools
|
→ |
|
A full-screen, console-based Python debugger.
|
|
|
|
| 50 |
vcrpy
Mock
|
2,969 |
|
Mock
Testing
Developer Tools
|
→ |
|
Record and replay HTTP interactions on your tests.
|
|
|
|
| 51 |
pdoc
Developer Tools
|
2,512 |
|
Documentation
Developer Tools
|
→ |
|
Epydoc replacement to auto generate API documentation for Python libraries.
|
|
|
|
| 52 |
scons
Developer Tools
|
2,392 |
|
Build Tools
Developer Tools
|
→ |
|
A software construction tool.
|
|
|
|
| 53 |
repowise
Code Analysis
|
2,391 |
|
Code Analysis
Code Analysis
Developer Tools
|
→ |
|
Codebase intelligence that indexes repos into dependency graphs, git history, and auto-generated docs with dead code detection.
|
|
|
|
| 54 |
rope
Refactoring
|
2,223 |
|
Refactoring
Code Analysis
Developer Tools
|
→ |
|
Rope is a python refactoring library.
|
|
|
|
| 55 |
prospector
Code Analysis
|
2,085 |
|
Code Analysis
Code Analysis
Developer Tools
|
→ |
|
A tool to analyze Python code.
|
|
|
|
| 56 |
doit
Developer Tools
|
2,066 |
|
Build Tools
Developer Tools
|
→ |
|
A task runner and build tool.
|
|
|
|
| 57 |
pybuilder
Developer Tools
|
2,011 |
|
Build Tools
Developer Tools
|
→ |
|
A continuous build tool written in pure Python.
|
|
|
|
| 58 |
ipdb
pdb-like Debugger
|
1,975 |
|
pdb-like Debugger
Debugging Tools
Developer Tools
|
→ |
|
|
|
|
|
| 59 |
scanapi
Frameworks
|
1,565 |
|
Frameworks
Testing
Developer Tools
|
→ |
|
Automated Testing and Documentation for your REST API.
|
|
|
|
| 60 |
nox
Test Runners
|
1,528 |
|
Test Runners
Testing
Developer Tools
|
→ |
|
Flexible test automation for Python.
|
|
|
|
| 61 |
polyfactory
Object Factories
|
1,476 |
|
Object Factories
Testing
Developer Tools
|
→ |
|
mock data generation library with support to classes (continuation of pydantic-factories)
|
|
|
|
| 62 |
flask-debugtoolbar
Others
|
979 |
|
Others
Debugging Tools
Developer Tools
|
→ |
|
A port of the django-debug-toolbar to flask.
|
|
|
|
| 63 |
memory_graph
Others
|
957 |
|
Others
Debugging Tools
Developer Tools
|
→ |
|
Visualize Python data at runtime to debug references, mutability, and aliasing.
|
|
|
|
| 64 |
python-hunter
Tracing
|
869 |
|
Tracing
Debugging Tools
Developer Tools
|
→ |
|
A flexible code tracing toolkit.
|
|
|
|
| 65 |
respx
Mock
|
806 |
|
Mock
Testing
Developer Tools
|
→ |
|
Mock HTTPX with awesome request patterns and response side effects.
|
|
|
|
| 66 |
bitbake
Developer Tools
|
521 |
|
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
|
309 |
|
Mock
Testing
Developer Tools
|
→ |
|
A socket mock framework with gevent/asyncio/SSL support.
|
|
|
|