-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (56 loc) · 1.27 KB
/
pyproject.toml
File metadata and controls
68 lines (56 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[project]
name = "unstructured-api"
version = "1.0.0"
description = "Document processing API using unstructured.io"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
# Web framework
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
"python-multipart>=0.0.9",
# Database
"sqlalchemy>=2.0.25",
"psycopg2-binary>=2.9.9",
"alembic>=1.13.1",
# Task queue
"celery[redis]>=5.3.6",
"redis>=5.0.1",
# Document processing
"unstructured[all-docs]>=0.12.0",
"python-magic>=0.4.27",
# Security & validation
"pydantic>=2.5.3",
"pydantic-settings>=2.1.0",
# Rate limiting
"slowapi>=0.1.9",
# HTTP client (for webhooks)
"httpx>=0.26.0",
# Utilities
"python-dateutil>=2.8.2",
"structlog>=24.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.4",
"pytest-asyncio>=0.23.3",
"pytest-cov>=4.1.0",
"black>=24.1.1",
"ruff>=0.1.14",
"mypy>=1.8.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "W"]
target-version = "py311"
[tool.mypy]
python_version = "3.11"
strict = false
warn_return_any = true
warn_unused_ignores = true