25 lines
1.2 KiB
Python
25 lines
1.2 KiB
Python
# Входная точка пакета protocan. Определяет доступные при импорте имена; подробные контракты
|
|
# находятся в специализированных модулях пакета. Изменение реэкспортов влияет на существующие
|
|
# import у потребителей.
|
|
|
|
"""Переносимые модули и тонкая Python-обёртка SETProtocol."""
|
|
|
|
# Consumers may supply additional platform ports from their pinned templates
|
|
# checkout. The selected primary checkout wins; missing modules can coexist.
|
|
from pkgutil import extend_path
|
|
__path__ = extend_path(__path__, __name__)
|
|
|
|
from .native import (
|
|
NativeCore, NativeCoreUnavailable, NativeFrame, NativeGuiFrame,
|
|
NativeGuiParser, NativeParser, NativeProtocol, NativeProtocolUnavailable,
|
|
get_native_core, get_native_protocol,
|
|
)
|
|
from .balsam import BalsamFrame, BalsamRegister, decode as decode_balsam
|
|
|
|
__all__ = [
|
|
"NativeCore", "NativeCoreUnavailable", "NativeFrame", "NativeGuiFrame",
|
|
"NativeGuiParser", "NativeParser", "NativeProtocol",
|
|
"NativeProtocolUnavailable", "get_native_core", "get_native_protocol",
|
|
"BalsamFrame", "BalsamRegister", "decode_balsam",
|
|
]
|