Files
MediaCrawler/pyproject.toml
程序员阿江(Relakkes) 51d4853db5 fix: 放宽依赖版本以支持 Python 3.13
- 将 pydantic、playwright、pillow、wordcloud、matplotlib 从 == 改为 >=
- 统一 requirements.txt 与 pyproject.toml 中 pillow 的版本
- 使用 Python 3.13 重新生成 uv.lock
2026-07-01 22:40:33 +08:00

48 lines
1.2 KiB
TOML

[project]
name = "mediacrawler"
author = "程序员阿江-Relakkes <relakkes@gmail.com>"
version = "0.1.0"
description = "A social media crawler project, support Xiaohongshu, Weibo, Zhihu, Bilibili, Douyin, BaiduTieBa etc."
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"aiofiles~=23.2.1",
"aiomysql==0.2.0",
"aiosqlite>=0.21.0",
"alembic>=1.16.5",
"asyncmy>=0.2.10",
"cryptography>=45.0.7",
"fastapi==0.110.2",
"httpx==0.28.1",
"jieba==0.42.1",
"matplotlib>=3.11.0",
"motor>=3.3.0",
"opencv-python>=4.11.0.86",
"pandas==2.2.3",
"parsel==1.9.1",
"pillow>=12.2.0",
"playwright>=1.61.0",
"pydantic>=2.13.4",
"pyexecjs==1.5.1",
"pyhumps>=3.8.0",
"python-dotenv==1.0.1",
"redis~=4.6.0",
"requests==2.32.3",
"sqlalchemy>=2.0.43",
"tenacity==8.2.2",
"typer>=0.12.3",
"uvicorn==0.29.0",
"wordcloud>=1.9.6",
"pre-commit>=3.5.0",
"openpyxl>=3.1.2",
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"websockets>=15.0.1",
"asyncpg>=0.31.0",
"xhshow>=0.1.9",
]
[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true