Files
privatestudio/pyproject.toml
T
Shaun KrugerandCopilot e59a622c1e Add FastAPI web service for video transcoding management
Implements a complete video transcoding web service with:
- FastAPI framework for REST API
- SQLAlchemy ORM with SQLite database
- API key authentication using SHA256 hashing
- Per-user resource isolation for all assets and jobs
- S3-compatible file upload/download/delete/list interface
- YAML-based API for transcode job requests
- Transcode profile management (stored and inline)
- Database models for Users, APIKeys, Assets, Jobs, and Profiles
- CLI entry point for database initialization and server startup
- Comprehensive integration tests with 100% pass rate
- Deployment documentation with examples

New files:
- privatestudio/web/: Web service package
- privatestudio/web/models.py: SQLAlchemy ORM models
- privatestudio/web/auth.py: API key authentication
- privatestudio/web/database.py: Database configuration
- privatestudio/web/app.py: FastAPI application
- privatestudio/web/s3_interface.py: File storage backend
- privatestudio/web/cli.py: CLI commands
- privatestudio/web/routes/: API endpoint handlers
- tests/test_web.py: Integration tests
- DEPLOYMENT.md: Deployment guide

Updated files:
- pyproject.toml: Added dependencies and CLI entry point

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-22 15:22:01 -07:00

36 lines
808 B
TOML

[build-system]
requires = ["setuptools>=68", "setuptools_scm[toml]>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "privatestudio"
description = "Video transcoding tools with multi-profile H.264 encoding support"
readme = "notes.md"
requires-python = ">=3.8"
dependencies = [
"PyYAML>=6.0",
"FastAPI>=0.100.0",
"uvicorn[standard]>=0.23.0",
"SQLAlchemy>=2.0.0",
"python-multipart>=0.0.5",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"httpx>=0.27.0",
]
[project.scripts]
ps-transcode = "privatestudio.transcode:main"
ps-serve = "privatestudio.web.cli:main"
[tool.setuptools]
packages = ["privatestudio"]
[tool.setuptools_scm]
write_to = "privatestudio/_version.py"
fallback_version = "0.1.0-dev"