|
1 | | -# API and Module Reference |
2 | | - |
3 | | -GCBM Assistant is primarily a desktop UI application, but its internal module |
4 | | -structure is stable enough for extension workflows. |
5 | | - |
6 | | -## Document Control |
7 | | - |
8 | | -| Field | Value | |
9 | | -| --- | --- | |
10 | | -| Owner | GCBM Assistant maintainers | |
11 | | -| Audience | Developers and integrators | |
12 | | -| Last reviewed | 2026-03-27 | |
13 | | -| Review cadence | Monthly | |
14 | | - |
15 | | -## Entry Points |
16 | | - |
17 | | -- CLI script: `gcbm-assistant` |
18 | | -- Python module entry: `python -m gcbm_assistant.app` |
19 | | -- Script target: `gcbm_assistant.app:main` |
20 | | - |
21 | | -## Core Modules |
22 | | - |
23 | | -| Module | Responsibility | |
24 | | -| --- | --- | |
25 | | -| `gcbm_assistant.app` | App bootstrap, routing, global page registration | |
26 | | -| `gcbm_assistant.pages.simulation` | Simulation UI, config validation, run orchestration | |
27 | | -| `gcbm_assistant.pages.compile` | Compilation workflow UI and output generation | |
28 | | -| `gcbm_assistant.pages.visualize` | Chart and spatial visualization orchestration | |
29 | | -| `gcbm_assistant.pages.spatial` | Raster processing, map rendering helpers, spatial scanning | |
30 | | -| `gcbm_assistant.pages.data` | Database access helpers for visualization and reporting | |
31 | | -| `gcbm_assistant.pages.reports` | Report generation and export UI | |
32 | | - |
33 | | -## Stable Interface Expectations |
34 | | - |
35 | | -- Internal function signatures are not versioned as public SDK interfaces. |
36 | | -- Extensions should prefer page-level hooks and existing state access patterns. |
37 | | -- Any custom integration should pin to a release tag and re-validate on upgrade. |
38 | | - |
39 | | -## Repository and Contribution Context |
40 | | - |
41 | | -- Source root: `src/gcbm_assistant` |
42 | | -- Tests: `tests/` |
43 | | -- Packaging metadata: `pyproject.toml` |
44 | | -- Repository: <https://github.com/moja-global/gcbm_assistant> |
| 1 | +# API and Module Reference |
| 2 | + |
| 3 | +GCBM Assistant is primarily a desktop UI application, but its internal module |
| 4 | +structure is stable enough for extension workflows. |
| 5 | + |
| 6 | +## Document Control |
| 7 | + |
| 8 | +| Field | Value | |
| 9 | +| --- | --- | |
| 10 | +| Author | Geraldson Muluh | |
| 11 | +| Owner | GCBM Assistant maintainers | |
| 12 | +| Audience | Developers and integrators | |
| 13 | +| Last reviewed | 2026-03-27 | |
| 14 | +| Review cadence | Monthly | |
| 15 | + |
| 16 | +## Entry Points |
| 17 | + |
| 18 | +- CLI script: `gcbm-assistant` |
| 19 | +- Python module entry: `python -m gcbm_assistant.app` |
| 20 | +- Script target: `gcbm_assistant.app:main` |
| 21 | + |
| 22 | +## Core Modules |
| 23 | + |
| 24 | +| Module | Responsibility | |
| 25 | +| `gcbm_assistant.app` | App bootstrap, routing, global page registration | |
| 26 | +| `gcbm_assistant.pages.simulation` | Simulation UI, config validation, run orchestration | |
| 27 | +| `gcbm_assistant.pages.compile` | Compilation workflow UI and output generation | |
| 28 | +| `gcbm_assistant.pages.visualize` | Chart and spatial visualization orchestration | |
| 29 | +| `gcbm_assistant.pages.spatial` | Raster processing, map rendering helpers, spatial scanning | |
| 30 | +| `gcbm_assistant.pages.data` | Database access helpers for visualization and reporting | |
| 31 | +| `gcbm_assistant.pages.reports` | Report generation and export UI | |
| 32 | + |
| 33 | +## Stable Interface Expectations |
| 34 | + |
| 35 | +- Internal function signatures are not versioned as public SDK interfaces. |
| 36 | +- Extensions should prefer page-level hooks and existing state access patterns. |
| 37 | +- Any custom integration should pin to a release tag and re-validate on upgrade. |
| 38 | + |
| 39 | +## Repository and Contribution Context |
| 40 | + |
| 41 | +- Source root: `src/gcbm_assistant` |
| 42 | +- Tests: `tests/` |
| 43 | +- Packaging metadata: `pyproject.toml` |
| 44 | +- Repository: <https://github.com/moja-global/gcbm_assistant> |
0 commit comments