[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pandoc-bridge"
version = "1.0.0"
description = "Document format conversion service using Pandoc with REST and MCP support"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.12"
authors = [
{name = "Jeff", email = "jeff@example.com"}
]
keywords = ["pandoc", "document-conversion", "fastapi", "mcp", "fastmcp"]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"fastapi>=0.115.0",
"fastmcp>=2.14.0",
"uvicorn[standard]>=0.32.0",
"python-jose[cryptography]>=3.4.0",
"python-multipart>=0.0.18",
"pydantic>=2.9.0",
"pydantic-settings>=2.5.0",
"sse-starlette>=2.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"pytest-cov>=4.0.0",
"httpx>=0.27.0",
"ruff>=0.6.0",
"mypy>=1.11.0",
"types-python-jose>=3.3.0",
]
[project.scripts]
pandoc-bridge = "src.main:run"
[tool.setuptools.packages.find]
where = ["."]
include = ["src*"]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM"]
ignore = ["E501"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_ignores = true