[project]
name = "ai-compliance-hub"
version = "0.1.0"
description = "AI+合规智能中枢 - 法律法规文档解析入库功能"
authors = [
    {name = "T-systems AI Regulations Team"}
]
readme = "README.md"
requires-python = ">=3.10"
license = {text = "MIT"}

dependencies = [
    "pymilvus>=2.4.0",
    "fastapi>=0.100.0",
    "uvicorn[standard]>=0.23.0",
    "python-multipart>=0.0.6",
    "langchain>=0.1.0",
    "langchain-milvus>=0.1.0",
    "pymupdf>=1.24.0",
    "python-docx>=1.1.0",
    "pydantic>=2.0.0",
    "pydantic-settings>=2.0.0",
    "python-dotenv>=1.0.0",
    "loguru>=0.7.0",
    "tenacity>=8.2.0",
    "httpx>=0.24.0",
    "beautifulsoup4>=4.12.0",
    "lxml>=5.0.0",
    "alibabacloud-docmind-api20220711>=1.0.6",
    "alibabacloud-tea-openapi>=0.3.11",
    "alibabacloud-tea-util>=0.3.13",
    "celery>=5.3.0",
    "redis>=4.5.0",
    "minio>=7.1.0",
    "psycopg2-binary>=2.9.0",
    "python-jose[cryptography]>=3.3.0",
    "passlib[bcrypt]>=1.7.4",
    "bcrypt>=3.2.0,<4.0.0",
]

[dependency-groups]
dev = ["pytest>=7.0.0", "pytest-asyncio>=0.21.0", "isort>=8.0.1", "fakeredis>=2.0.0"]

[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
where = ["backend"]
include = ["app*"]

[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
