feat: add multiple link support, make slightly faster and more reliable, migrate to uv

This commit is contained in:
h
2026-02-17 01:28:10 +01:00
parent c4c8847686
commit ba0e23af4a
9 changed files with 831 additions and 128 deletions

View File

@@ -1,19 +1,39 @@
[tool.poetry]
[project]
name = "fastdownloader"
version = "0.1.0"
description = ""
authors = ["BarsTiger"]
version = "0.2.0"
description = "Simple parallel file downloader"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"aiohttp>=3.8.6",
"tqdm>=4.66.1",
]
[tool.poetry.dependencies]
python = "^3.11"
aiohttp = "^3.8.6"
aiofiles = "^23.2.1"
tqdm = "^4.66.1"
[tool.poetry.scripts]
[project.scripts]
fastdl = "fastdownloader:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["uv_build>=0.10.2,<0.11.0"]
build-backend = "uv_build"
[tool.ruff]
target-version = "py313"
[tool.ruff.lint]
select = ["ALL"]
ignore = ["CPY", "D1", "D203", "D212", "COM812", "RUF001", "RUF002", "RUF003"]
unfixable = ["F401"]
[tool.ruff.lint.per-file-ignores]
"*.lock" = ["ALL"]
"docs/*" = ["ALL"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
docstring-code-format = true
skip-magic-trailing-comma = true
[tool.ruff.lint.isort]
split-on-trailing-comma = false