Docling-UI / pyproject.toml
vishnoianil's picture
Publish docling-serve images to ghcr and quay container repositories (#1)
6237d61 unverified
raw
history blame
3.25 kB
[tool.poetry]
name = "docling-serve"
version = "0.1.0"
description = "Running Docling as a service"
license = "MIT"
authors = [
"Michele Dolfi <[email protected]>",
"Christoph Auer <[email protected]>",
"Panos Vagenas <[email protected]>",
"Cesar Berrospi Ramis <[email protected]>",
"Peter Staar <[email protected]>",
]
maintainers = [
"Peter Staar <[email protected]>",
"Christoph Auer <[email protected]>",
"Michele Dolfi <[email protected]>",
"Cesar Berrospi Ramis <[email protected]>",
"Panos Vagenas <[email protected]>",
]
readme = "README.md"
repository = "https://github.com/DS4SD/docling-serve"
homepage = "https://github.com/DS4SD/docling-serve"
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
# "Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Typing :: Typed",
"Programming Language :: Python :: 3"
]
[tool.poetry.dependencies]
python = "^3.10"
docling = "^1.11.0"
fastapi = {version = "^0.110.2", extras = ["standard"]}
uvicorn = "^0.30.6"
pydantic-settings = "^2.4.0"
httpx = "^0.27.2"
[tool.poetry.group.pypi-torch]
optional = false
[tool.poetry.group.pypi-torch.dependencies]
torch = [
{version = "!=2.4.1+cpu" },
]
torchvision = [
{version = "!=0.19.1+cpu" },
]
[tool.poetry.group.cpu]
optional = true
[tool.poetry.group.cpu.dependencies]
torch = [
{markers = 'platform_machine=="x86_64" and sys_platform=="linux" and python_version == "3.10"', url="https://download.pytorch.org/whl/cpu/torch-2.4.1%2Bcpu-cp310-cp310-linux_x86_64.whl"},
{markers = 'platform_machine=="x86_64" and sys_platform=="linux" and python_version == "3.11"', url="https://download.pytorch.org/whl/cpu/torch-2.4.1%2Bcpu-cp311-cp311-linux_x86_64.whl"},
{markers = 'platform_machine=="x86_64" and sys_platform=="linux" and python_version == "3.12"', url="https://download.pytorch.org/whl/cpu/torch-2.4.1%2Bcpu-cp312-cp312-linux_x86_64.whl"},
]
torchvision = [
{markers = 'platform_machine=="x86_64" and sys_platform=="linux" and python_version == "3.10"', url="https://download.pytorch.org/whl/cpu/torchvision-0.19.1%2Bcpu-cp310-cp310-linux_x86_64.whl"},
{markers = 'platform_machine=="x86_64" and sys_platform=="linux" and python_version == "3.11"', url="https://download.pytorch.org/whl/cpu/torchvision-0.19.1%2Bcpu-cp311-cp311-linux_x86_64.whl"},
{markers = 'platform_machine=="x86_64" and sys_platform=="linux" and python_version == "3.12"', url="https://download.pytorch.org/whl/cpu/torchvision-0.19.1%2Bcpu-cp312-cp312-linux_x86_64.whl"},
]
[tool.poetry.group.dev.dependencies]
black = "^24.8.0"
isort = "^5.13.2"
pre-commit = "^3.8.0"
autoflake = "^2.3.1"
flake8 = "^7.1.1"
pytest = "^8.3.2"
mypy = "^1.11.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ["py310"]
include = '\.pyi?$'
[tool.isort]
profile = "black"
line_length = 88
py_version=311
[tool.autoflake]
in-place = true
remove-all-unused-imports = true
remove-unused-variables = true
expand-star-imports = true
recursive = true
[[tool.mypy.overrides]]
module = [
"docling.*",
]
ignore_missing_imports = true