feat: scaffold project structure
Add pyproject.toml, pytest.ini, .env.example, app package layout (shared/pipeline/api/cron), and test skeleton. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
DB_PATH=/data/linkedstorm.db
|
||||||
|
CLIPS_DIR=/data/clips
|
||||||
|
SPEACHES_URL=http://192.168.86.150:8000
|
||||||
|
OLLAMA_URL=http://192.168.86.150:11434
|
||||||
|
OLLAMA_MODEL=qwen2.5:14b
|
||||||
|
LIVEKIT_URL=ws://192.168.86.150:7880
|
||||||
|
LIVEKIT_API_KEY=devkey
|
||||||
|
LIVEKIT_API_SECRET=devsecret
|
||||||
|
PIPELINE_INTERNAL_URL=http://linkedstorm-pipeline:8300
|
||||||
|
CLIP_RETENTION_DAYS=30
|
||||||
|
SPEAKER_KNOWN_THRESHOLD=0.85
|
||||||
|
SPEAKER_AMBIGUOUS_THRESHOLD=0.60
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["setuptools>=68"]
|
||||||
|
build-backend = "setuptools.backends.legacy:build"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "linkedstorm"
|
||||||
|
version = "0.1.0"
|
||||||
|
requires-python = ">=3.12"
|
||||||
|
dependencies = [
|
||||||
|
"fastapi==0.115.0",
|
||||||
|
"uvicorn[standard]==0.30.6",
|
||||||
|
"pydantic-settings==2.4.0",
|
||||||
|
"httpx==0.27.2",
|
||||||
|
"websockets==13.1",
|
||||||
|
"resemblyzer==0.1.1.dev0",
|
||||||
|
"silero-vad==5.1.2",
|
||||||
|
"torch==2.4.1",
|
||||||
|
"numpy==1.26.4",
|
||||||
|
"livekit-api==0.7.2",
|
||||||
|
"scipy==1.14.1",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
dev = [
|
||||||
|
"pytest==8.3.3",
|
||||||
|
"pytest-asyncio==0.24.0",
|
||||||
|
"pytest-mock==3.14.0",
|
||||||
|
"httpx==0.27.2",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
where = ["."]
|
||||||
|
include = ["app*"]
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
[pytest]
|
||||||
|
asyncio_mode = auto
|
||||||
|
testpaths = tests
|
||||||
Reference in New Issue
Block a user