Initial GeoIntel V1 foundation
GeoIntel CI / docs-smoke (push) Has been cancelled
GeoIntel CI / contract-smoke (push) Has been cancelled

This commit is contained in:
Codex
2026-06-16 23:36:32 +02:00
commit 6ea3586a3e
605 changed files with 45284 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
from __future__ import annotations
import importlib
import json
from typing import Any
REQUIRED_MODULES = ("rasterio", "geopandas", "pyogrio")
def _module_version(module_name: str) -> str | None:
module = importlib.import_module(module_name)
version = getattr(module, "__version__", None)
return str(version) if version is not None else None
def main() -> int:
versions: dict[str, Any] = {}
for module_name in REQUIRED_MODULES:
versions[module_name] = _module_version(module_name)
print(
json.dumps(
{
"status": "ok",
"gis_imports": versions,
},
sort_keys=True,
)
)
return 0
if __name__ == "__main__":
raise SystemExit(main())