Newer
Older
thu-learn-downloader-optimized / pyproject.toml
@liblaf liblaf on 11 Oct 2023 1018 bytes build(pip): add typer-cli
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]

[tool.isort]
profile = "black"

[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.1.20"

[tool.poetry.dependencies]
beautifulsoup4 = "^4.12.2"
pydantic = "^2.4.2"
python = ">=3.11,<3.13"
python-dateutil = "^2.8.2"
requests = "^2.31.0"
rich = "^13.6.0"
tenacity = "^8.2.3"
typer = "^0.9.0"

[tool.poetry.group.dev.dependencies]
black = "^23.9.1"
icecream = "^2.1.3"
isort = "^5.12.0"
nuitka = "^1.8.4"
pyinstaller = "^6.0.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"