-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (62 loc) · 2 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (62 loc) · 2 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
70
71
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "transcriptfetch-sdk"
dynamic = ["version"]
description = "Official Python SDK for the TranscriptFetch API: a production transcript API for YouTube, TikTok, Instagram and direct media URLs, as clean, typed data."
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [{ name = "TranscriptFetch", email = "support@transcriptfetch.com" }]
keywords = ["youtube", "tiktok", "instagram", "transcript", "captions", "subtitles", "api", "sdk", "rag", "llm"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.24",
"pydantic>=2",
]
[project.urls]
Homepage = "https://transcriptfetch.com"
Documentation = "https://transcriptfetch.com/docs"
Source = "https://github.com/TranscriptFetch/python-sdk"
Issues = "https://github.com/TranscriptFetch/python-sdk/issues"
[project.optional-dependencies]
dev = [
"pytest>=7",
"pytest-asyncio>=0.23",
"respx>=0.20",
"ruff>=0.5",
"mypy>=1.8",
]
[tool.hatch.version]
path = "src/transcriptfetch/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/transcriptfetch"]
[tool.ruff]
line-length = 100
target-version = "py39"
src = ["src", "tests"]
[tool.ruff.lint]
# No "UP" (pyupgrade): we target 3.9 and Pydantic evaluates annotations at
# runtime, where PEP 604 (X | None) unions are invalid on <3.10.
select = ["E", "F", "I", "B", "W"]
[tool.mypy]
# Analysis target (min this mypy supports); the package itself still runs on 3.9.
python_version = "3.10"
strict = true
files = ["src"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
pythonpath = ["."]