| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- # -*- coding: utf-8 -*-
- """
- Trixy Core - Kernkomponenten des Trixy Voice Assistant Systems.
- Dieses Modul stellt alle grundlegenden Klassen und Funktionen bereit,
- die für den Betrieb von Trixy in allen Modi erforderlich sind.
- """
- from trixy_core.utils.version import VERSION, VERSION_STRING, PROTOCOL_VERSION
- from trixy_core.utils.debug import pinfo, pdebug, perror, pwarn, set_debug_mode
- from trixy_core.service.enums import ServicePriority, ServiceGroup, ServiceState
- from trixy_core.service.iservice import IService
- from trixy_core.service.service_container import ServiceContainer
- from trixy_core.events.enums import EventPriority
- from trixy_core.events.decorators import TrixyEvent
- from trixy_core.events.eventmanager import EventManager
- from trixy_core.application import IApplication
- from trixy_core.server import ServerApplication
- from trixy_core.client import ClientApplication
- from trixy_core.standalone import StandaloneApplication
- from trixy_core.trainer import TrainerApplication
- from trixy_core.arbitration import (
- WakewordArbitrator,
- ArbitrationConfig,
- ArbitrationResult,
- ArbitrationCandidate,
- ArbitrationStrategy,
- LoudestStrategy,
- CombinedStrategy,
- )
- from trixy_core.assets import (
- AssetManager,
- AssetService,
- AssetType,
- AssetInfo,
- AssetNotFoundError,
- )
- __all__ = [
- # Version
- "VERSION",
- "VERSION_STRING",
- "PROTOCOL_VERSION",
- # Debug
- "pinfo",
- "pdebug",
- "perror",
- "pwarn",
- "set_debug_mode",
- # Service
- "ServicePriority",
- "ServiceGroup",
- "ServiceState",
- "IService",
- "ServiceContainer",
- # Events
- "EventPriority",
- "TrixyEvent",
- "EventManager",
- # Applications
- "IApplication",
- "ServerApplication",
- "ClientApplication",
- "StandaloneApplication",
- "TrainerApplication",
- # Arbitration
- "WakewordArbitrator",
- "ArbitrationConfig",
- "ArbitrationResult",
- "ArbitrationCandidate",
- "ArbitrationStrategy",
- "LoudestStrategy",
- "CombinedStrategy",
- # Assets
- "AssetManager",
- "AssetService",
- "AssetType",
- "AssetInfo",
- "AssetNotFoundError",
- ]
|