Skip to content

Module Map

Last reviewed: 2026-07-05

Module/path Status Responsibility
src/anuva_python_server/__init__.py Implemented Package metadata/version.
src/anuva_python_server/cli.py Implemented/Partial Typer CLI for worker, jobs, Unity, servers, simulator, certs, service helper.
src/anuva_python_server/config/settings.py Implemented Pydantic settings, YAML loading, defaults, secret-key rejection, validation.
src/anuva_python_server/webapp/models.py Implemented Worker-facing render job, package, asset, summary, heartbeat, media models.
src/anuva_python_server/webapp/client.py Implemented Synchronous HTTP client and configurable endpoint map.
src/anuva_python_server/webapp/uploads.py Implemented Direct Payload and signed S3 upload strategies.
src/anuva_python_server/jobs/workspace.py Implemented Worker and per-job directory layouts.
src/anuva_python_server/jobs/assets.py Implemented Asset download, retries, checksum validation, local content URL construction.
src/anuva_python_server/jobs/config_writer.py Implemented Original/local config writing and asset URL rewriting.
src/anuva_python_server/jobs/manifest.py Implemented Deterministic job_manifest.json creation.
src/anuva_python_server/jobs/output.py Implemented MP4 validation, optional ffprobe, thumbnail generation.
src/anuva_python_server/jobs/runner.py Implemented/Partial Poll/manual claim, prepare, render, completion, failure, cancellation.
src/anuva_python_server/unity/protocol.py Implemented Typed ZeroMQ JSON envelope, command/event enums, encoders/decoders.
src/anuva_python_server/unity/zmq_client.py Implemented REQ/PULL ZeroMQ client and per-job message logging.
src/anuva_python_server/unity/process.py Implemented/Partial EXE process launch/stop/snapshot and stable command-line args.
src/anuva_python_server/unity/supervisor.py Implemented/Partial Readiness, heartbeat, restart policy, stop, status.
src/anuva_python_server/servers/content.py Implemented Read-only local content server with path safety.
src/anuva_python_server/servers/dashboard.py Partial Dashboard UI/API for status, manual jobs, Unity controls, logs, simulator.
src/anuva_python_server/simulator/models.py Implemented Simulator models and status enums.
src/anuva_python_server/simulator/state.py Implemented In-memory fake Web App state machine.
src/anuva_python_server/simulator/app.py Implemented/Partial FastAPI simulator endpoints.
src/anuva_python_server/simulator/scenarios.py Partial Built-in and disk-loaded simulator scenarios.
src/anuva_python_server/simulator/fake_client.py Implemented In-process fake client using simulator state.
src/anuva_python_server/simulator/uploads.py Implemented Safe asset path resolution and upload storage.
src/anuva_python_server/monitoring/health.py Implemented Health snapshot models and persistence.
src/anuva_python_server/monitoring/system_metrics.py Implemented CPU/RAM/disk/OS metrics.
src/anuva_python_server/monitoring/gpu_metrics.py Implemented GPUtil GPU metrics with unavailable state.
src/anuva_python_server/utils/logging.py Implemented Redacting log setup and log pruning.
src/anuva_python_server/utils/security.py Implemented Secret and signed URL redaction.

Related core doc: SystemArchitecture.