srt
library to edit or create SubRip files (Python 2)
Install
- All systems
-
curl cmd.cat/srt.sh
- Debian
-
apt-get install python-pysrt
- Ubuntu
-
apt-get install python-pysrt
- Arch Linux
-
pacman -S python-pysrt
- Kali Linux
-
apt-get install python-pysrt
- Fedora
-
dnf install python-pysrt
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install python-pysrt
- Raspbian
-
apt-get install python-pysrt
- Dockerfile
- dockerfile.run/srt
python-pysrt
library to edit or create SubRip files (Python 2)
pysrt can be used to edit or create SubRip (.srt) subtitle files from Python. It supports parsing, shifting, removing, slicing, spliting and rescaling of these files. This is the Python 2 version of the package. It also contains the "srt" binary to interact with this library.
python3-pysrt
library to edit or create SubRip files (Python 3)
pysrt can be used to edit or create SubRip (.srt) subtitle files from Python. It supports parsing, shifting, removing, slicing, spliting and rescaling of these files. This is the Python 3 version of the package.