-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (58 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (58 loc) · 1.85 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
69
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "hiapi"
description = "Zero-dependency Python client for the HiAPI unified async task API (/v1/tasks)."
readme = "README.md"
requires-python = ">=3.8"
license = { text = "MIT" }
authors = [{ name = "HiAPI", email = "support@hiapi.ai" }]
keywords = ["hiapi", "ai", "video generation", "image generation", "sdk", "async"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Typing :: Typed",
]
# Zero runtime dependencies — standard library only.
dependencies = []
dynamic = ["version"]
[project.urls]
Homepage = "https://hiapi.ai"
Documentation = "https://docs.hiapi.ai"
Source = "https://github.com/HiAPIAI/hiapi-python"
[project.optional-dependencies]
dev = [
"pytest>=7",
"mypy>=1.0",
"ruff>=0.1",
]
[tool.hatch.version]
path = "src/hiapi/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/hiapi"]
[tool.hatch.build.targets.sdist]
include = ["src/hiapi", "README.md", "LICENSE"]
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
[tool.ruff.lint.pyupgrade]
# Library supports Python 3.8 at runtime — keep typing.List/Optional rather than
# forcing PEP 585/604 syntax that only reads cleanly on newer interpreters.
keep-runtime-typing = true
[tool.mypy]
# Type-check target (runtime still supports 3.8; recent mypy only targets >=3.10).
python_version = "3.10"
strict = true
files = ["src/hiapi"]
[tool.pytest.ini_options]
testpaths = ["tests"]