docs | |
---|---|
tests | |
package |
Apply smart punctuation to subtitles.
- Free software: BSD 3-Clause License
You can install the in-development version with:
$ pip install -e git://github.com/jpenney/smartass.git#egg=smartass
https://smartass.readthedocs.io/
Smarten punctuation:
$ smartass --skip-actor sign subs1.ass
Unsmarted punctuation:
$ dumbass subs2.ass
See usage:
$ smartass --help
Usage: smartass [OPTIONS] FILE
Smarten punctionation on ass subtitle files.
Options:
--log-level [debug|info|warning|error|critical]
log level displayed [default: info]
--no-backup / --backup enable/disable creation of backup files
[default: True]
--process-comments / --no-process-comments
enable/disable processing of comment events
[default: False]
--skip-name ACTOR_NAME lines by this actor (case insensitive) will
be skipped. May be passed multiple times.
--version Show the version and exit.
--help Show this message and exit.
To run all the tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows | set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other | PYTEST_ADDOPTS=--cov-append tox |