Coverage for src / ezcompiler / interfaces / __init__.py: 100.00%

4 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-03-27 06:49 +0000

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

2# INTERFACES - Public interfaces layer 

3# Project: ezcompiler 

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

5 

6""" 

7Interfaces module - Public interfaces for EzCompiler. 

8 

9This module provides the top-level interfaces that users interact with: 

10- CLI interface for command-line operations 

11- Python API interface for programmatic usage 

12 

13Interfaces can call services but not utils directly. 

14 

15Logging follows the lib_mode pattern: get_logger and get_printer return 

16passive proxies that are silent by default and become active once the 

17host application initializes Ezpl. No Ezpl() init or configure() calls 

18belong here — those are application-level responsibilities. 

19""" 

20 

21from __future__ import annotations 

22 

23# /////////////////////////////////////////////////////////////// 

24# IMPORTS 

25# /////////////////////////////////////////////////////////////// 

26# Local imports 

27from .cli_interface import main as cli_main 

28from .python_api import EzCompiler 

29 

30# /////////////////////////////////////////////////////////////// 

31# PUBLIC API 

32# /////////////////////////////////////////////////////////////// 

33 

34__all__ = [ 

35 # Main interfaces 

36 "EzCompiler", 

37 "cli_main", 

38]