This commit is contained in:
kstyagi23
2026-09-05 06:07:25 +05:30
commit 07b953fed2
22 changed files with 5899 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "siteharbor"
version = "0.1.0"
description = "A standalone, bounded web capture service for offline archives."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "SiteHarbor" }]
dependencies = [
"beautifulsoup4>=4.12,<5",
"fastapi>=0.115,<1",
"httpcore>=1,<2",
"httpx>=0.27,<1",
"jinja2>=3.1,<4",
"uvicorn[standard]>=0.30,<1",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3,<9",
"pytest-cov>=5,<7",
"ruff>=0.8,<1",
]
[project.scripts]
siteharbor = "app.main:run"
[tool.hatch.build.targets.wheel]
packages = ["app"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]