content: [project]
  name = "pdf-craft"
  version = "0.2.8"
  description = "PDF craft can convert PDF files into various other formats. This project will focus on processing PDF files of scanned books."
  keywords=["pdf", "epub", "markdown"]
  authors = [
      {name = "Tao Zeyu", email = "i@taozeyu.com"}
  ]
  maintainers = [
      {name = "Tao Zeyu", email = "i@taozeyu.com"}
  ]
  license = {text = "AGPL-3.0"}
  readme = "README.md"
  requires-python = ">=3.10,<3.13"
  
  [build-system]
  requires = ["poetry-core>=2.0.0,<3.0.0"]
  build-backend = "poetry.core.masonry.api"
  
  [tool.poetry]
  license = "AGPL-3.0"
  readme = "README.md"
  homepage = "https://hub.oomol.com/package/pdf-craft"
  repository = "https://github.com/oomol-lab/pdf-craft"
  packages = [
      {include = "pdf_craft" }
  ]
  classifiers=[
      "Development Status :: 2 - Pre-Alpha",
      "Intended Audience :: Developers",
      "License :: OSI Approved :: GNU Affero General Public License v3",
      "Programming Language :: Python",
      "Programming Language :: Python :: 3.10",
  ]
  
  [tool.poetry.dependencies]
  strenum = ">=0.4.15,<0.5.0"
  jinja2 = ">=3.1.5,<4.0.0"
  pymupdf = ">=1.25.3,<2.0.0"
  alphabet-detector = ">=0.0.7,<1.0.0"
  shapely = ">=2.0.6,<3.0.0"
  pyyaml = ">=6.0,<7.0"
  latex2mathml = ">=3.77.0,<4.0.0"
  matplotlib = ">=3.10.1,<3.11.0"
  tiktoken = ">=0.9.0,<1.0.0"
  doc-page-extractor = "==0.2.4"
  resource-segmentation = "==0.0.5"
  langchain = { version = ">=0.3.21,<0.4.0", extras = ["openai"] }
  epub-generator = "==0.0.3"
  
  onnxruntime = { version = "1.21.0", optional = true }
  onnxruntime-gpu = { version = "1.21.0", optional = true }
  
  [tool.poetry.extras]
  cpu = ["onnxruntime"]
  cuda = ["onnxruntime-gpu"]
  
  [tool.poetry.group.dev.dependencies]
  pylint = "^3.3.7"
  
  