-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (79 loc) · 2 KB
/
pyproject.toml
File metadata and controls
89 lines (79 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gladia"
version = "0.1.0"
description = "Python SDK for Gladia: batch and real-time audio transcription"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "PolyForm Noncommercial 1.0.0 (see LICENSE)" }
authors = [
{ name = "Gladia Python SDK Authors" }
]
keywords = ["gladia", "speech-to-text", "transcription", "asr", "realtime", "sdk"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: Other/Proprietary License",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
dependencies = [
"httpx>=0.24",
"anyio>=3.6",
"typer>=0.9",
"rich>=13.3",
"python-dotenv>=1.0",
]
[project.optional-dependencies]
realtime = [
"websockets>=12.0",
]
audio = [
"sounddevice>=0.4",
"numpy>=1.23",
"webrtcvad>=2.0.10",
"soundfile>=0.12",
]
dev = [
"pytest>=7.3",
"pytest-asyncio>=0.21",
"mypy>=1.3",
"ruff>=0.3",
"black>=23.3",
"types-requests",
]
[project.scripts]
gladia = "gladia.cli:app"
[tool.setuptools.packages.find]
where = ["."]
include = ["gladia*"]
exclude = ["tests*", "examples*"]
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311", "py312"]
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "B", "UP", "ANN", "C4"]
ignore = ["ANN101", "ANN102", "ANN401"]
[tool.mypy]
python_version = "3.9"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_optional = true
warn_return_any = true
show_error_codes = true
strict_optional = true
disallow_untyped_defs = true
plugins = []
[tool.pytest.ini_options]
addopts = "-q"
asyncio_mode = "auto"