Livrare LOT 1 - Didi
This commit is contained in:
commit
5380c3fc63
990 changed files with 133308 additions and 0 deletions
67
ai_platform/modules/web/pyproject.toml
Normal file
67
ai_platform/modules/web/pyproject.toml
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
[project]
|
||||
name = "web"
|
||||
version = "0.1.0"
|
||||
description = "Web module - search, fetch, browse, vision, evidence for ml-projects"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"fastapi>=0.115.0,<1.0",
|
||||
"uvicorn[standard]>=0.32.0",
|
||||
"pydantic>=2.0,<3.0",
|
||||
"pydantic-settings>=2.0,<3.0",
|
||||
"httpx[http2]>=0.27.0,<1.0",
|
||||
"prometheus-fastapi-instrumentator>=7.0.0",
|
||||
"opentelemetry-instrumentation-fastapi>=0.50b0",
|
||||
"opentelemetry-instrumentation-httpx>=0.50b0",
|
||||
"opentelemetry-exporter-otlp-proto-grpc>=1.30.0",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
"pytest-cov>=4.0",
|
||||
"pytest-asyncio>=0.24.0",
|
||||
"ruff>=0.8",
|
||||
"respx>=0.21.0",
|
||||
]
|
||||
browse = [
|
||||
"playwright>=1.40.0",
|
||||
"readability-lxml>=0.8.0",
|
||||
"lxml>=5.0.0",
|
||||
]
|
||||
vision = [
|
||||
"openai>=1.0.0",
|
||||
"anthropic>=0.25.0",
|
||||
]
|
||||
fetch = [
|
||||
"readability-lxml>=0.8.0",
|
||||
"beautifulsoup4>=4.12.0",
|
||||
"lxml>=5.0.0",
|
||||
]
|
||||
all = [
|
||||
"playwright>=1.40.0",
|
||||
"openai>=1.0.0",
|
||||
"anthropic>=0.25.0",
|
||||
"readability-lxml>=0.8.0",
|
||||
"beautifulsoup4>=4.12.0",
|
||||
"lxml>=5.0.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
web = "web.cli:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/web"]
|
||||
|
||||
[tool.ruff]
|
||||
extend = "../../ruff.toml"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
testpaths = ["tests"]
|
||||
addopts = "-v --tb=short"
|
||||
Loading…
Add table
Add a link
Reference in a new issue