Skip to main content

subtitle-translator

How to Use:

usage: translate-subtitle [-h] [-o OUTPUT_FILE] [-l TARGET_LANG] [--apikey APIKEY] [-b BATCH_SIZE]
                          input_file

Translate Subtitle to Target Language

> translate-subtitle subtitle.srt
> translate-subtitle -l zh-CN subtitle.srt
> translate-subtitle -l zh-CN -o translated.srt subtitle.srt
> translate-subtitle --apikey=<YOUR_APIKEY> subtitle.srt

Or you can put APIKEY in environment variable:

export DEEPSEEK_API_KEY=<YOUR_APIKEY>    # for linux
# set DEEPSEEK_API_KEY=<YOUR_APIKEY>     # for windows
translate-subtitle -l zh-CN  subtitle.srt

How to Install:

Use pip install subtitle-translator Install the package.

Metadata

Release files for translate-subtitle 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for translate-subtitle 0.1.3
File Interpreter ABI Platform Actions
translate_subtitle-0.1.3-py3-none-any.whl Python 3 none any Details for translate_subtitle-0.1.3-py3-none-any.whl

Release files / translate_subtitle-0.1.3-py3-none-any.whl

Download URL translate_subtitle-0.1.3-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1460a69f680dbea1beb914e34b4936859adf724981a6733b590ca451799e9bf
BLAKE2b-256 checksum
How to use checksums
ad88c13fbc8250acb37de6966d4a0ecb5827c4e20bc3781d3c66f16b92aa77cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Security for translate-subtitle 0.1.3

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page