Coverage for src / ezpl / types / __init__.py: 100.00%

4 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-03-13 19:35 +0000

1# /////////////////////////////////////////////////////////////// 

2# EZPL - Types Module 

3# Project: ezpl 

4# /////////////////////////////////////////////////////////////// 

5 

6""" 

7Types module for Ezpl logging framework. 

8 

9This module contains type definitions, enumerations, and protocols. 

10""" 

11 

12from __future__ import annotations 

13 

14# /////////////////////////////////////////////////////////////// 

15# IMPORTS 

16# /////////////////////////////////////////////////////////////// 

17# Local imports 

18from .enums import ( 

19 PATTERN_COLORS, 

20 LogLevel, 

21 Pattern, 

22 get_pattern_color, 

23 get_pattern_color_by_name, 

24) 

25from .protocols import LoggerProtocol, PrinterProtocol 

26 

27# /////////////////////////////////////////////////////////////// 

28# PUBLIC API 

29# /////////////////////////////////////////////////////////////// 

30 

31__all__ = [ 

32 # Log level exports 

33 "LogLevel", 

34 # Pattern exports 

35 "Pattern", 

36 "PATTERN_COLORS", 

37 "get_pattern_color", 

38 "get_pattern_color_by_name", 

39 # Protocol exports 

40 "PrinterProtocol", 

41 "LoggerProtocol", 

42]