2018-10-31 16:08:29 +00:00
|
|
|
from .ssafile import SSAFile
|
|
|
|
from .ssaevent import SSAEvent
|
|
|
|
from .ssastyle import SSAStyle
|
2024-06-08 10:40:00 +00:00
|
|
|
from . import time, formats, cli, exceptions
|
|
|
|
from .formats import whisper
|
|
|
|
from .exceptions import * # noqa: F403
|
2024-03-03 17:15:23 +00:00
|
|
|
from .common import Color, Alignment, VERSION
|
2018-10-31 16:08:29 +00:00
|
|
|
|
2024-06-08 10:40:00 +00:00
|
|
|
__all__ = [
|
|
|
|
"SSAFile",
|
|
|
|
"SSAEvent",
|
|
|
|
"SSAStyle",
|
|
|
|
"time",
|
|
|
|
"formats",
|
|
|
|
"cli",
|
|
|
|
"whisper",
|
|
|
|
"exceptions",
|
|
|
|
"Color",
|
|
|
|
"Alignment",
|
|
|
|
"VERSION",
|
|
|
|
"load",
|
|
|
|
"load_from_whisper",
|
|
|
|
"make_time",
|
|
|
|
]
|
|
|
|
|
2018-10-31 16:08:29 +00:00
|
|
|
#: Alias for :meth:`SSAFile.load()`.
|
|
|
|
load = SSAFile.load
|
|
|
|
|
2024-03-03 17:15:23 +00:00
|
|
|
#: Alias for :meth:`pysubs2.whisper.load_from_whisper()`.
|
|
|
|
load_from_whisper = whisper.load_from_whisper
|
|
|
|
|
2018-10-31 16:08:29 +00:00
|
|
|
#: Alias for :meth:`pysubs2.time.make_time()`.
|
|
|
|
make_time = time.make_time
|
2021-07-14 23:13:28 +00:00
|
|
|
|
|
|
|
#: Alias for `pysubs2.common.VERSION`.
|
|
|
|
__version__ = VERSION
|