1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 00:03:33 +00:00
bazarr/libs/pysubs2/__init__.py

37 lines
783 B
Python
Raw Normal View History

2018-10-31 16:08:29 +00:00
from .ssafile import SSAFile
from .ssaevent import SSAEvent
from .ssastyle import SSAStyle
from . import time, formats, cli, exceptions
from .formats import whisper
from .exceptions import * # noqa: F403
from .common import Color, Alignment, VERSION
2018-10-31 16:08:29 +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
#: 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
#: Alias for `pysubs2.common.VERSION`.
__version__ = VERSION