chore: scaffold python project (requirements, gitignore, pytest, package skeleton)
Browse files- .gitignore +29 -0
- .python-version +1 -0
- pytest.ini +4 -0
- requirements.txt +12 -0
- server/__init__.py +0 -0
- server/models/__init__.py +0 -0
- tests/__init__.py +0 -0
.gitignore
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Python
|
| 2 |
+
__pycache__/
|
| 3 |
+
*.pyc
|
| 4 |
+
.venv/
|
| 5 |
+
.installed-marker
|
| 6 |
+
*.egg-info/
|
| 7 |
+
.pytest_cache/
|
| 8 |
+
|
| 9 |
+
# Node
|
| 10 |
+
node_modules/
|
| 11 |
+
web/dist/
|
| 12 |
+
*.log
|
| 13 |
+
|
| 14 |
+
# Server-served SPA build
|
| 15 |
+
server/static/
|
| 16 |
+
|
| 17 |
+
# OS
|
| 18 |
+
.DS_Store
|
| 19 |
+
Thumbs.db
|
| 20 |
+
|
| 21 |
+
# IDE
|
| 22 |
+
.idea/
|
| 23 |
+
.vscode/
|
| 24 |
+
|
| 25 |
+
# Misc
|
| 26 |
+
*.wav
|
| 27 |
+
*.mp3
|
| 28 |
+
!web/src/**/*.wav
|
| 29 |
+
.env
|
.python-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
3.11
|
pytest.ini
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[pytest]
|
| 2 |
+
testpaths = tests
|
| 3 |
+
asyncio_mode = auto
|
| 4 |
+
addopts = -ra -q
|
requirements.txt
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
chatterbox-tts==0.1.7
|
| 2 |
+
fastapi
|
| 3 |
+
uvicorn[standard]
|
| 4 |
+
pydantic>=2.9
|
| 5 |
+
python-multipart
|
| 6 |
+
soundfile==0.12.1
|
| 7 |
+
sse-starlette
|
| 8 |
+
|
| 9 |
+
# dev
|
| 10 |
+
pytest==8.3.3
|
| 11 |
+
pytest-asyncio==0.24.0
|
| 12 |
+
httpx==0.27.2
|
server/__init__.py
ADDED
|
File without changes
|
server/models/__init__.py
ADDED
|
File without changes
|
tests/__init__.py
ADDED
|
File without changes
|