From 7534e03c2700a4b07b59e427943605ae4432d880 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 23:47:37 +0000 Subject: [PATCH] Add example projects --- examples/complex_project/core/__init__.py | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 examples/complex_project/core/__init__.py 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}")