Newer
Older
thu-learn-downloader-optimized / pyproject.toml
@github-actions[bot] github-actions[bot] on 13 Oct 2024 1 KB chore(main): release 0.3.1 (#119)
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]

[tool.poetry]
authors = ["liblaf <[email protected]>"]
description = "Download everything from Web Learning of Tsinghua University"
license = "MIT"
name = "thu-learn-downloader"
readme = "README.md"
repository = "https://github.com/liblaf/thu-learn-downloader"
version = "0.3.1"

[tool.poetry.dependencies]
beautifulsoup4 = "^4.12.2"
pydantic = "^2.4.2"
python = "^3.10"
python-dateutil = "^2.8.2"
requests = "^2.31.0"
rich = "^13.6.0"
tenacity = "^8.5.0"
typer = "^0.12.0"

[tool.poetry.group.dev.dependencies]
nuitka = ">=1.8.5,<3.0.0"
pyinstaller = { python = ">=3.10,<3.13", version = "^6.1.0" }
ruff = ">=0.6.0,<0.7.0"
typer-cli = { git = "https://github.com/Patarimi/typer-cli.git" }

[tool.poetry.scripts]
thu-learn-downloader = "thu_learn_downloader.main:app"
tld = "thu_learn_downloader.main:app"

[[tool.poetry.source]]
name = "mirrors"
priority = "default"
url = "https://pypi.tuna.tsinghua.edu.cn/simple"

[tool.ruff.lint]
select = ["B", "E", "F", "I", "SIM", "UP"]