LLM-Driven Extraction of Unstructured Data — Built for API Deployments & ETL Pipeline Workflows
Python ai-agentsdata-engineeringdocument-aigenerative-aiidpjson-extractionllmmcp-serverocrpdf-extractionprompt-engineeringstructured-output
[project]
name = "unstract-platform-service"
version = "0.0.1"
description = "Helps tools interact and retrieve details from the Unstract platform through the Unstract SDK"
authors = [{ name = "Zipstack Inc.", email = "[email protected]" }]
requires-python = ">=3.12,<3.13"
readme = "README.md"
license = { text = "MIT" }
dependencies = [
"flask~=3.1.3",
"peewee~=3.16",
"psycopg2-binary~=2.9",
"python-dotenv~=1.2.2",
"redis~=5.2.1",
"cryptography>=48.0.1",
"requests>=2.33.0",
"unstract-flags",
"unstract-core[flask]",
"unstract-sdk1[gcs, azure, aws]"
]
[tool.uv.sources]
unstract-flags = { path = "../unstract/flags", editable = true }
unstract-core = { path = "../unstract/core", editable = true }
unstract-sdk1 = { path = "../unstract/sdk1", editable = true }
[dependency-groups]
test = ["pytest>=9.0.3"]
deploy = [
"gunicorn[gevent]~=23.0",
# OpenTelemetry for tracing and profiling
"opentelemetry-distro",
"opentelemetry-exporter-otlp",
]
dev = ["poethepoet>=0.33.1", "debugpy>=1.8.14"]
# [project.scripts]
# platform_service = "./entrypoint.sh"
# uv run flask --app unstract.platform_service.run:app run --port 3001
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/unstract"]
[tool.poe]
envfile = ".env"
[tool.poe.tasks.platform-service]
cmd = "./entrypoint.sh"
help = "Runs the Unstract platform service (Gunicorn)"
[tool.poe.tasks.platform-service-flask]
cmd = "uv run flask --app unstract.platform_service.run:app run --port 3001"
help = "Runs the Unstract platform service (Flask)"