| """ | |
| sen2sr — Sentinel-2 Super-Resolution pipeline. | |
| Torch is NOT imported at package level; it is loaded on first use of | |
| SEN2SRPipeline / build_model to keep test collection and type-checking fast. | |
| """ | |
| __version__ = "1.0.0" | |
| def __getattr__(name: str): | |
| """PEP 562 lazy attribute loader.""" | |
| if name in ("SEN2SRPipeline", "PipelineConfig"): | |
| from s2sr_pipe.pipeline import PipelineConfig, SEN2SRPipeline # noqa: F401 | |
| return {"SEN2SRPipeline": SEN2SRPipeline, "PipelineConfig": PipelineConfig}[name] | |
| raise AttributeError(f"module 's2sr_pipe' has no attribute {name!r}") | |