__init__.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # -*- coding: utf-8 -*-
  2. """
  3. Trixy Service-Container und Basisklassen.
  4. """
  5. from trixy_core.service.enums import ServicePriority, ServiceGroup, ServiceState
  6. from trixy_core.service.iservice import IService
  7. from trixy_core.service.service_container import ServiceContainer
  8. from trixy_core.service.lazy import LazyService, LazyProxy
  9. from trixy_core.service.shutdown import (
  10. GracefulShutdownManager,
  11. ShutdownConfig,
  12. ShutdownPhase,
  13. ShutdownReason,
  14. ShutdownResult,
  15. ShutdownReport,
  16. )
  17. from trixy_core.service.graph import (
  18. DependencyGraph,
  19. GraphFormat,
  20. GraphNode,
  21. GraphEdge,
  22. GraphStyle,
  23. )
  24. __all__ = [
  25. # Enums
  26. "ServicePriority",
  27. "ServiceGroup",
  28. "ServiceState",
  29. # Basis
  30. "IService",
  31. "ServiceContainer",
  32. # Lazy
  33. "LazyService",
  34. "LazyProxy",
  35. # Shutdown
  36. "GracefulShutdownManager",
  37. "ShutdownConfig",
  38. "ShutdownPhase",
  39. "ShutdownReason",
  40. "ShutdownResult",
  41. "ShutdownReport",
  42. # Graph
  43. "DependencyGraph",
  44. "GraphFormat",
  45. "GraphNode",
  46. "GraphEdge",
  47. "GraphStyle",
  48. ]