Git Stars Git Stars

#pytest 仓库

探索 40 个标记为 #pytest 的活跃开源 GitHub 仓库,它们累计获得 110,452 个 Star(平均每个项目 2,761 个)。该主题的领先项目是 fastapi/full-stack-fastapi-template,拥有 46,302 个 Star。

40
仓库总数
110,452
总星标数
2,761
平均每个仓库星标数
1
fastapi/full-stack-fastapi-template

全栈 Web 应用程序模板,包含 FastAPI、React、SQLModel、PostgreSQL、Vite、Tailwind CSS、shadcn/ui、FastAPI Cloud 和 Docker Compose。

fastapi
⭐ 46,302 TypeScript 👤 fastapi Organization 🕐 已更新 2026-11-16 📅 创建时间 2019-02-23
2
seleniumbase/SeleniumBase

快速可靠的浏览器自动化,适用于端到端测试、网页抓取和隐身操作。通过 CDP 模式绕过机器人检测。支持与 pytest、Playwright 和 MCP 集成。

seleniumbase
⭐ 13,272 Python 👤 seleniumbase Organization 🕐 已更新 2026-11-21 📅 创建时间 2014-03-04
3
audreyfeldroy/cookiecutter-pypackage

Python 包的 Cookiecutter 模板。

audreyfeldroy
⭐ 4,605 Python 👤 audreyfeldroy User 🕐 已更新 2026-11-19 📅 创建时间 2013-07-14
4
spulec/freezegun

让你的 Python 测试穿越时间

spulec
⭐ 4,522 Python 👤 spulec User 🕐 已更新 2025-08-19 📅 创建时间 2012-12-11
5
schemathesis/schemathesis

在用户发现之前捕获 API 错误

schemathesis
⭐ 3,797 Python 👤 schemathesis Organization 🕐 已更新 2026-11-21 📅 创建时间 2019-08-19
6
inducer/pudb

Python 的全屏控制台调试器

inducer
⭐ 3,255 Python 👤 inducer User 🕐 已更新 2026-11-14 📅 创建时间 2011-05-13
7
wemake-services/wemake-django-template

注重代码质量和安全的尖端Django模板。

wemake-services
⭐ 2,279 Python 👤 wemake-services Organization 🕐 已更新 2026-11-20 📅 创建时间 2017-09-14
8
pytest-dev/pytest-cov

pytest 的覆盖率插件。

pytest-dev
⭐ 2,079 Python 👤 pytest-dev Organization 🕐 已更新 2026-10-18 📅 创建时间 2014-04-17
9
pytest-dev/pytest-mock

pytest 更易用的 mock 包的精简封装

pytest-dev
⭐ 2,044 Python 👤 pytest-dev Organization 🕐 已更新 2026-11-17 📅 创建时间 2014-07-17
10
pytest-dev/pytest-xdist

用于分布式测试和 loop-on-failures 测试模式的 pytest 插件。

pytest-dev
⭐ 1,934 Python 👤 pytest-dev Organization 🕐 已更新 2026-11-17 📅 创建时间 2015-09-01
11
kyclark/tiny_python_projects

Code for Tiny Python Projects (Manning, 2020, ISBN 1617297518)。通过游戏和谜题的测试驱动开发学习Python。

kyclark
⭐ 1,747 Python 👤 kyclark User 🕐 已更新 2024-07-22 📅 创建时间 2019-05-16
12
pytest-dev/pytest-django

一个用于 pytest 的 Django 插件。

pytest-dev
⭐ 1,549 Python 👤 pytest-dev Organization 🕐 已更新 2026-11-01 📅 创建时间 2011-09-29
13
Teemu/pytest-sugar

一个用于 py.test 的插件,它改变了 py.test 的默认外观和感觉(例如,进度条,立即显示失败的测试)

Teemu
⭐ 1,537 Python 👤 Teemu User 🕐 已更新 2025-12-12 📅 创建时间 2013-06-25
14
ionelmc/pytest-benchmark

用于代码基准测试的 pytest fixture

ionelmc
⭐ 1,459 Python 👤 ionelmc User 🕐 已更新 2026-11-01 📅 创建时间 2014-10-10
15
ml-tooling/best-of-python-dev

精选的酷炫 Python 开发工具和库的排名列表。每周更新。

ml-tooling
⭐ 1,320 Python 👤 ml-tooling Organization 🕐 已更新 2026-11-20 📅 创建时间 2021-01-08
16
42school/norminette

官方 42 norminette

42school
⭐ 1,257 Python 👤 42school Organization 🕐 已更新 2026-10-12 📅 创建时间 2020-05-14
17
taverntesting/tavern

用于 RESTful API 自动化测试的命令行工具、Python 库和 Pytest 插件,具有简单、简洁且灵活的基于 YAML 的语法

taverntesting
⭐ 1,168 Python 👤 taverntesting Organization 🕐 已更新 2026-11-20 📅 创建时间 2017-11-01
18
samuelcolvin/dirty-equals

用等号做一些肮脏的(但极其有用的)事情。

samuelcolvin
⭐ 1,015 Python 👤 samuelcolvin User 🕐 已更新 2026-08-10 📅 创建时间 2022-01-26
19
syrupy-project/syrupy

:pancakes: 最受欢迎的 pytest 快照插件

syrupy-project
⭐ 907 Python 👤 syrupy-project Organization 🕐 已更新 2026-11-20 📅 创建时间 2019-10-20
20
cle-b/httpdbg

一个供 Python 开发者使用的工具,可轻松调试 Python 程序中的 HTTP(S) 客户端和服务器请求。

cle-b
⭐ 906 Python 👤 cle-b User 🕐 已更新 2026-11-14 📅 创建时间 2020-06-21
21
callmesora/llmops-python-package

使用灵活、健壮且高效的 Python 包启动您的 LLMOps 项目。

callmesora
⭐ 897 Python 👤 callmesora User 🕐 已更新 2025-02-13 📅 创建时间 2024-12-10
22
Aeternalis-Ingenium/FastAPI-Backend-Template

一个后端项目模板,集成了FastAPI、PostgreSQL(支持异步SQLAlchemy 2.0)、 Alembic(用于异步数据库迁移)和Docker。

Aeternalis-Ingenium
⭐ 885 Python 👤 Aeternalis-Ingenium User 🕐 已更新 2026-11-16 📅 创建时间 2022-12-05
23
lundberg/respx

使用精彩的请求模式和响应副作用模拟 HTTPX 🦋

lundberg
⭐ 846 Python 👤 lundberg User 🕐 已更新 2026-07-21 📅 创建时间 2019-11-13
24
tradingstrategy-ai/web3-ethereum-defi

用于DeFi交易自动化、数据研究和集成的Python库。支持Uniswap、Aave、Chainlink、USDC等协议。

tradingstrategy-ai
⭐ 833 Python 👤 tradingstrategy-ai Organization 🕐 已更新 2026-11-21 📅 创建时间 2022-01-30
25
allure-framework/allure-python

Python 测试框架的 Allure 集成

allure-framework
⭐ 820 Python 👤 allure-framework Organization 🕐 已更新 2026-11-20 📅 创建时间 2017-01-18
26
pytest-dev/pytest-html

用于生成 pytest 结果的 HTML 报告的插件

pytest-dev
⭐ 779 Python 👤 pytest-dev Organization 🕐 已更新 2026-10-26 📅 创建时间 2015-04-14
27
johnthagen/python-blueprint

🗺️ 使用最佳实践的 Python 项目示例 🐍 https://github.com/johnthagen/python-blueprint

johnthagen
⭐ 745 Python 👤 johnthagen User 🕐 已更新 2026-11-13 📅 创建时间 2018-11-10
28
maelstrom-software/maelstrom

Maelstrom 是一个快速的 Rust、Go 和 Python 测试运行器,它会在自己的容器中运行每个测试。测试将在本地运行或分发到集群作业运行器。

maelstrom-software
⭐ 739 Rust 👤 maelstrom-software Organization 🕐 已更新 2026-09-26 📅 创建时间 2023-05-01
29
pytest-dev/pytest-randomly

:game_die: 用于随机排序测试并控制 random.seed 的 Pytest 插件

pytest-dev
⭐ 724 Python 👤 pytest-dev Organization 🕐 已更新 2026-11-08 📅 创建时间 2016-04-08
30
wey-gu/py-pglite

用于测试的Python PGlite包装器。使用Postgres像SQLite一样轻松地测试您的应用程序。

wey-gu
⭐ 637 Python 👤 wey-gu User 🕐 已更新 2025-09-17 📅 创建时间 2025-06-05
31
kiwicom/pytest-recording

一个由 VCR.py 驱动的 pytest 插件,用于记录和重放 HTTP 流量。

kiwicom
⭐ 616 Python 👤 kiwicom Organization 🕐 已更新 2026-11-18 📅 创建时间 2019-07-16
32
man-group/pytest-plugins

各种实用的 pytest 插件

man-group
⭐ 601 Python 👤 man-group Organization 🕐 已更新 2026-01-28 📅 创建时间 2015-08-14
33
augustogoulart/awesome-pytest

精选的优秀 pytest 资源列表

augustogoulart
⭐ 581 👤 augustogoulart User 🕐 已更新 2026-06-24 📅 创建时间 2017-11-13
34
wemake-services/django-test-migrations

测试 Django 模式和数据迁移,包括迁移顺序和最佳实践。

wemake-services
⭐ 580 Python 👤 wemake-services Organization 🕐 已更新 2026-11-21 📅 创建时间 2019-11-21
35
TheKevJames/coveralls-python

通过 coveralls.io 在线显示覆盖率统计

TheKevJames
⭐ 573 Python 👤 TheKevJames User 🕐 已更新 2026-11-20 📅 创建时间 2013-02-06
36
syrusakbary/snapshottest

Python的快照测试工具 📸

syrusakbary
⭐ 550 Python 👤 syrusakbary User 🕐 已更新 2024-08-01 📅 创建时间 2017-04-10
37
Youngestdev/fastapi-mongo

使用MongoDB构建FastAPI应用程序的模板。

Youngestdev
⭐ 539 Python 👤 Youngestdev User 🕐 已更新 2024-08-07 📅 创建时间 2020-09-04
38
dbfixtures/pytest-postgresql

这是一个pytest插件,使您能够测试依赖于运行中PostgreSQL数据库的代码。它允许您为PostgreSQL进程和客户端指定fixture。

dbfixtures
⭐ 533 Python 👤 dbfixtures Organization 🕐 已更新 2026-11-18 📅 创建时间 2016-09-01
39
assertpy/assertpy

适用于 Python 的流畅、完全类型化断言库:类型检查器只会看到与值匹配的断言,每次失败都会附带结构化差异。软断言、轮询、内联快照、OpenAPI 契约

assertpy
⭐ 530 Python 👤 assertpy Organization 🕐 已更新 2026-11-16 📅 创建时间 2014-12-15
40
pytest-dev/pytest-flask

一组用于测试 Flask 应用程序的 pytest fixture

pytest-dev
⭐ 500 Python 👤 pytest-dev Organization 🕐 已更新 2026-05-25 📅 创建时间 2014-09-03

常见问题解答

1

GitHub 上最受欢迎的 #pytest 仓库是什么?

GitHub 上排名第一的开源 #pytest 项目是 fastapi/full-stack-fastapi-template,拥有 46,302 个 Star。全栈 Web 应用程序模板,包含 FastAPI、React、SQLModel、PostgreSQL、Vite、Tailwind CSS、shadcn/ui、FastAPI Cloud 和 Docker Compose。

2

#pytest 仓库中最常使用的编程语言有哪些?

在 GitHub 上排名靠前的 #pytest 项目中,最常见的编程语言是 Python, TypeScript, Rust。

3

#pytest 仓库的排名是如何计算的?

我们跟踪了 40 个标记为 #pytest 且拥有 500+ 个 Star 的活跃开源仓库,共计获得 110,452 个 Star,平均每个仓库拥有 2,761 个 Star。排名每日根据 GitHub API 更新。