2023-01-30 09:16:43 +02:00
|
|
|
[tool.poetry]
|
2023-09-14 11:50:09 +02:00
|
|
|
name = "stark"
|
2023-01-30 09:16:43 +02:00
|
|
|
version = "0.1.0"
|
|
|
|
description = ""
|
|
|
|
authors = ["MarkParker5 <markparker.it@gmail.com>"]
|
2023-05-11 22:20:59 +02:00
|
|
|
license = "CC BY-NC-ND 4.0"
|
2023-01-30 09:16:43 +02:00
|
|
|
readme = "README.md"
|
2023-09-14 11:50:09 +02:00
|
|
|
packages = [{include = "stark"}]
|
2023-01-30 09:16:43 +02:00
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.10"
|
2023-02-12 19:33:23 +02:00
|
|
|
pydantic = "^1.10.4"
|
2023-09-15 13:08:14 +02:00
|
|
|
asyncer = "^0.0.2"
|
|
|
|
|
|
|
|
# Optional dependencies
|
|
|
|
numpy = { version = "^1.24.1", optional = true }
|
|
|
|
sounddevice = { version = "^0.4.5", optional = true }
|
|
|
|
soundfile = { version = "^0.11.0", optional = true }
|
2023-09-15 13:29:13 +02:00
|
|
|
vosk = { version = "0.3.44", optional = true }
|
2023-09-15 13:08:14 +02:00
|
|
|
google-cloud-texttospeech = { version = "^2.14.1", optional = true }
|
|
|
|
torch = { version = "^1.13.1", optional = true }
|
|
|
|
|
|
|
|
[tool.poetry.extras]
|
|
|
|
gcloud = ["google-cloud-texttospeech", "sounddevice", "soundfile"]
|
|
|
|
vosk = ["vosk", "sounddevice"]
|
|
|
|
silero = ["torch", "numpy", "sounddevice"]
|
|
|
|
sound = ["sounddevice", "soundfile"]
|
2023-01-30 09:16:43 +02:00
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
2023-09-15 13:08:14 +02:00
|
|
|
# tests and static validation
|
2023-01-30 09:16:43 +02:00
|
|
|
pytest = "^7.2.1"
|
2023-03-16 19:23:29 +02:00
|
|
|
mypy = "^1.1.1"
|
2023-09-15 13:08:14 +02:00
|
|
|
# docs generation
|
|
|
|
mkdocs-material = { version = "^9.2.8", optional = true }
|
|
|
|
mkdocs-git-revision-date-localized-plugin = { version = "^1.2.0", optional = true }
|
|
|
|
mkdocs-swagger-ui-tag = { version = "^0.6.4", optional = true }
|
2023-09-15 15:30:16 +02:00
|
|
|
pytest-anyio = "^0.0.0"
|
2023-06-28 18:19:19 +02:00
|
|
|
|
2023-01-30 09:16:43 +02:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
pythonpath = [
|
2023-09-14 11:50:09 +02:00
|
|
|
"stark",
|
2023-03-16 19:23:29 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
ignore_missing_imports = true
|
|
|
|
exclude = [
|
2023-09-15 13:08:14 +02:00
|
|
|
"stark/core/types/Time.*",
|
|
|
|
"stark/core/types/Number.*",
|
2023-05-11 22:20:59 +02:00
|
|
|
]
|