Subclean
Simple CLI to instantly enhance your movie & TV show subtitles.
Installation
pip install subclean
Example
$ subclean subtitle.srt
12:35:30.337 | INFO | Importing subtitle subtitle.srt
12:35:30.344 | INFO | BlacklistProcessor running
12:35:30.397 | INFO | SDHProcessor running
12:35:30.421 | INFO | DialogProcessor running
12:35:30.426 | INFO | ErrorProcessor running
12:35:30.458 | INFO | LineLengthProcessor running
12:35:30.466 | INFO | Saving subtitle subtitle_clean.srt
Usage
usage: subclean [-h] [-v] [-V] [-o OUTPUT | --overwrite] [--processors NAME [NAME ...]] [--regex REGEX] [--line-length LINE_LENGTH] FILE [FILE ...]
positional arguments:
FILE subtitle file to process
options:
-h, --help show this help message and exit
-v, --verbose increase output verbosity
-V, --version show program's version number and exit
-o, --output OUTPUT output file (single input only)
--overwrite overwrite input file
--processors NAME [NAME ...]
processors to run, in order (default: Blacklist SDH Dialog Error LineLength Style)
--regex REGEX additional blacklist regex, can be repeated
--line-length LINE_LENGTH
maximum length when merging short lines (default: 50)
Metadata
Release files for subclean 0.6.0
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 |
|---|---|---|---|---|
| subclean-0.6.0.tar.gz | 21.6 kB | Without provenance | Details for subclean-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| subclean-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for subclean-0.6.0-py3-none-any.whl |
Total release size: 46.2 kB
Release files / subclean-0.6.0.tar.gz
| Download URL | subclean-0.6.0.tar.gz |
|---|---|
| Size | 21.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
590433cd1a0e903a61a94e3bab88dcab1ec6f5893a3ba41bd748e05caa5df3c4
|
|
BLAKE2b-256 checksum How to use checksums |
3825a46fe26e83e319c2c07490e3eef596d0c64115c3ba553d5944b285eb3c1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / subclean-0.6.0-py3-none-any.whl
| Download URL | subclean-0.6.0-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa31072f9842e0b09694cfdc252d6a3aa1a4f3e656237c0cbb7bdb2c0fe87a58
|
|
BLAKE2b-256 checksum How to use checksums |
8b674266eee2266b64f902caac3225f4237b397ac7b00f3de02ddae085fea1a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for subclean 0.6.0
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.