movie-narrator-web
Web UI (FastAPI + React) for movie-narrator.
Versioning: This package uses an independent version line, separate from the core engine (
movie-narrator). Compatibility is guaranteed by theCONTRACT_VERSIONcheck at import time — you do not need to match version numbers between the two packages.
This is a separate package from the core engine. Install it only if you need the web interface:
pip install movie-narrator-web
This automatically pulls in movie-narrator (core engine) and all web
dependencies (FastAPI, uvicorn).
Prerequisites
- Python >= 3.10
- ffmpeg (required by the core engine for audio/video processing)
Usage
mn-web --host 127.0.0.1 --port 8760
For development with auto-reload:
mn-web --reload
CLI Options
| Option | Default | Description |
|---|---|---|
--host |
127.0.0.1 |
Bind address |
--port |
8760 |
Port to listen on |
--reload |
off | Enable auto-reload (development mode) |
Or programmatically:
from movie_narrator_web import launch_web_api
launch_web_api(host="127.0.0.1", port=8760)
Development
The frontend source is in webui/ (React + Vite + TypeScript + shadcn/ui).
Build the SPA before packaging:
cd webui
npm ci
npm run build
The build output lands in src/movie_narrator_web/static/ and is served
by FastAPI in production mode.
Internationalization
The Web UI is bilingual (Chinese / English). A language switcher in the header
lets you toggle between the two; the default follows your browser language and
your choice is remembered in localStorage. The selected language is also sent
to the backend as a lang (zh | en) form field and passed downstream to the
pipeline, so narration can be generated in the active language.
Architecture
This package depends on movie-narrator exclusively through the public
contract layer (movie_narrator.contract). No internal module imports.
Documentation
License
Licensed under the AGPL-3.0-or-later License.
Metadata
Release files for movie-narrator-web 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| movie_narrator_web-1.0.4.tar.gz | 129.8 kB | With provenance | Details for movie_narrator_web-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| movie_narrator_web-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for movie_narrator_web-1.0.4-py3-none-any.whl |
Total release size: 257.0 kB
Release files / movie_narrator_web-1.0.4.tar.gz
| Download URL | movie_narrator_web-1.0.4.tar.gz |
|---|---|
| Size | 129.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47772adb37928b5c75082812e68b10ee726dc2aaa72c5a3cc417d8ac95e710ee
|
|
BLAKE2b-256 checksum How to use checksums |
ebed6e89d8687ef81427658887909edb0f3630b65e747cf51defabbdc28b2e12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logRelease files / movie_narrator_web-1.0.4-py3-none-any.whl
| Download URL | movie_narrator_web-1.0.4-py3-none-any.whl |
|---|---|
| Size | 127.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
411a0f62d48dbdd0a127aea9e15a7ca236990200f05b47d4e26e2c4ff9ead98d
|
|
BLAKE2b-256 checksum How to use checksums |
d3659ba1b117a90d6bf118e0f3f7eb742702383e3a6c96bf6f1ed32df796d4f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logSecurity for movie-narrator-web 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for movie_narrator_web-1.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.