-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
87 lines (76 loc) · 1.88 KB
/
pyproject.toml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[project]
name = "unstructured_platform_plugins"
description = "Wrapper to convert arbitrary code into a uvicorn/fastapi implementation for Unstructured Platform"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
readme = "README.md"
dependencies = [
"requests",
"click",
"uvicorn",
"fastapi",
"click",
"unstructured-ingest",
"opentelemetry-instrumentation-fastapi",
"opentelemetry-exporter-otlp-proto-grpc",
]
dynamic = [
"version",
]
[tool.hatch.version]
path = "unstructured_platform_plugins/__version__.py"
[dependency-groups]
release = [
"twine",
"wheel",
"build"
]
lint = [
"ruff",
]
test = [
"pytest",
"httpx",
"pytest-cov"
]
[project.scripts]
etl-uvicorn = "unstructured_platform_plugins.etl_uvicorn.main:cmd"
etl-validate = "unstructured_platform_plugins.validate_api:validate_api"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# flake8-simplify
"SIM",
# isort
"I",
]
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.coverage.report]
# TODO: improve this
fail_under = 15
[tool.hatch.build.targets.wheel]
packages = ["/unstructured_platform_plugins"]
[tool.hatch.build.targets.sdist]
packages = ["/unstructured_platform_plugins"]