Python Package Aeidon for Subtitles
aeidon is a Python package that provides classes and functions for dealing with text-based subtitle files of many different formats. Functions exist for reading and writing subtitle files as well as manipulating subtitle data, i.e. positions (times or frames) and texts.
Examples
Converting a file from the SubRip format to the MicroDVD format:
project = aeidon.Project()
project.open_main("/path/to/file.srt", "utf_8")
project.set_framerate(aeidon.framerates.FPS_23_976)
project.save_main(aeidon.files.new(aeidon.formats.MICRODVD,
"/path/to/file.sub",
"utf_8"))
Making all subtitles in a file appear two seconds earlier:
project = aeidon.Project()
project.open_main("/path/to/file.srt", "utf_8")
project.shift_positions(None, aeidon.as_seconds(-2))
project.save_main()
Installation
pip install -U aeidon
Documentation
https://otsaloma.io/gaupol/doc/api/aeidon.html
The API documentation is for an older version, but it applies 99% to the latest version as well. There's currently no build mechanism for up-to-date API documentation. Restoring that is a known low-priority issue.
History
aeidon is part of the Gaupol subtitle editor, where the other package, gaupol, provides the GTK user interface.
Release files for aeidon 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aeidon-2.0.1.tar.gz | 102.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aeidon-2.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 266.6 kB
Release files / aeidon-2.0.1.tar.gz
| Download URL | aeidon-2.0.1.tar.gz |
|---|---|
| Size | 102.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a58ac0b505a13ab0da17b2e838aabf93cc39be20b284ece57c1eb3c440c34d4
|
|
BLAKE2b-256 checksum How to use checksums |
b7ef15fc4937946b7735c13358e65acfbc02c0c38237bc09de6916c5d90eaaf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|
Release files / aeidon-2.0.1-py3-none-any.whl
| Download URL | aeidon-2.0.1-py3-none-any.whl |
|---|---|
| Size | 164.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a62c139e5bf6aaf67e50f28acd03e9ab3e199e4bda923987c47fc8db9e73acaa
|
|
BLAKE2b-256 checksum How to use checksums |
69bc01a779b978387d03c2e4dde015b2b4b5cf1e6101abaae8f22b9f56920c69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.7
|