diff --git a/examples/complex_project/core/__init__.py b/examples/complex_project/core/__init__.py new file mode 100644 index 0000000..4b3da1d --- /dev/null +++ b/examples/complex_project/core/__init__.py @@ -0,0 +1,25 @@ +"""Core application module.""" + +from typing import Dict, Any +from .config import AppConfig +from .processor import DataProcessor + + +class Application: + """Main application class.""" + + def __init__(self, config: AppConfig): + self.config = config + self.processor = DataProcessor(config) + + def run(self) -> None: + """Run the application.""" + self._log("Application starting...") + + result = self.processor.process_data({"key": "value"}) + + self._log(f"Processing result: {result}") + + def _log(self, message: str) -> None: + """Log a message.""" + print(f"[App] {message}")