File size: 2,317 Bytes
c95ad37
 
 
 
 
6ddcf69
c95ad37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31636dd
 
 
 
c95ad37
 
 
 
 
 
 
 
 
 
 
 
65f52d6
c95ad37
 
6ddcf69
c95ad37
 
 
 
 
 
 
 
6ddcf69
c95ad37
 
 
 
 
cbd2116
c95ad37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "reachy_f1_commentator"
version = "1.0.0"
description = "An interactive F1 race commentary system for Reachy Mini"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "MIT"}
authors = [
    {name = "Dave Starling", email="dave@starling.email"}
]
keywords = ["reachy", "f1", "commentary", "robotics", "tts", "racing"]
classifiers = [
    "Development Status :: 4 - Beta",
    "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",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
]

dependencies = [
    "reachy-mini>=0.1.0",
    "elevenlabs>=1.0.0",
    "requests>=2.31.0",
    "python-dotenv>=1.0.0",
    "fastapi>=0.104.0",
    "uvicorn>=0.24.0",
    "pydantic>=2.0.0",
    "openai>=2.1.0",  # For Whisper API transcription
    "webrtcvad>=2.0.10",  # For voice activity detection
    "numpy>=1.24.0",  # For audio processing
    "setuptools>=61.0",  # Required by webrtcvad for pkg_resources
]

[project.optional-dependencies]
dev = [
    "pytest>=7.4.0",
    "pytest-asyncio>=0.21.0",
    "hypothesis>=6.88.0",
    "black>=23.0.0",
    "ruff>=0.1.0",
]

[project.scripts]
reachy_f1_commentator = "reachy_f1_commentator.main:main"

[project.entry-points."reachy_mini_apps"]
reachy_f1_commentator = "reachy_f1_commentator.main:ReachyF1Commentator"

[project.urls]
Homepage = "https://huggingface.co/spaces/d10g/reachy-f1-commentator"
Repository = "https://huggingface.co/spaces/d10g/reachy-f1-commentator"
Documentation = "https://huggingface.co/spaces/d10g/reachy-f1-commentator"

[tool.setuptools]
packages = ["reachy_f1_commentator"]
include-package-data = true

[tool.setuptools.package-data]
reachy_f1_commentator = [
    "static/*",
    "config/*",
    "src/*"
]

[tool.pytest.ini_options]
testpaths = ["reachy_f1_commentator/tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"

[tool.black]
line-length = 100
target-version = ['py39']

[tool.ruff]
line-length = 100
target-version = "py39"