Init
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[project]
|
||||
name = "rakuten-scraper-service"
|
||||
version = "0.1.0"
|
||||
description = "API service for Rakuten Ichiba scraping tasks"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"fastapi>=0.115.0,<1.0.0",
|
||||
"httpx[http2]>=0.27.0,<1.0.0",
|
||||
"loguru>=0.7.0,<1.0.0",
|
||||
"pydantic>=2.0.0,<3.0.0",
|
||||
"pydantic-settings>=2.4.0,<3.0.0",
|
||||
"selectolax>=0.3.21,<1.0.0",
|
||||
"uvicorn[standard]>=0.30.0,<1.0.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
# 浏览器兜底:仅在纯 HTTP 被 Akamai 拦截时使用,日常运行不需要
|
||||
browser = [
|
||||
"playwright>=1.47.0,<2.0.0",
|
||||
]
|
||||
dev = [
|
||||
"pytest>=8.3.0,<9.0.0",
|
||||
"pytest-asyncio>=0.24.0,<1.0.0",
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
testpaths = ["tests"]
|
||||
|
||||
[tool.uv]
|
||||
package = false
|
||||
Reference in New Issue
Block a user