Catalog PyPI
PACKAGE EXPLORERView in registry

aeidon

PyPI

Reading, writing and manipulating text-based subtitle files

Versions collected1
Direct dependencies1From release 2.0.1
Last observed20 Oct, 20:20 UTC

README

Version 2.0.1 documentation

Python Package Aeidon for Subtitles

PyPI Downloads

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.115 Sept 20261

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
otsaloma/gaupol

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:20 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6ed615396bc1537c267e3665dec96a93e719a6eba9b7d558cb6c9930b86c1e42