Unified Governance, Telemetry & Interactive Portfolio Studio for 80 Pure-Python Spatial Intelligence Packages.
This repository is the single source of truth for a portfolio of eighty pure-Python geospatial and GeoAI SDKs. A single generator script turns a hand-maintained registry plus live PyPI / GitHub / GitLab telemetry into a static, self-contained governance dashboard.
The generated page is a zero-backend HTML application that ships with:
| Dashboard tab | What it shows |
|---|---|
| Executive Cockpit | KPI cards (LOC, downloads, algorithms, wheel size, releases) and four Chart.js visualizations. |
| Portfolio Telemetry | Sortable, searchable package table with per-package drill-down, license, version and action links. |
| Econometric Forecasting | Bass diffusion and Gompertz S-curve projections of ecosystem adoption through 2027. |
| Quality & Benchmarks | Coverage, memory, throughput, CI status and security audit matrix. |
| Neural Architecture | Interactive HTML5 Canvas topology of the ecosystem data flow. |
| Developer REPL Studio | Copy-ready, syntax-checked code samples for every SDK. |
| Cite & DOI | Zenodo DOI badges plus APA and BibTeX citations for every SDK. |
Everything is emitted to docs/, which is deployed directly by GitHub Pages. No
database, server, or client-side build step is involved.
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
geoai2analytics-sdk |
MIT | 81 spatial statistics & econometrics algorithms, Moran's I, LISA, GWR/MGWR, Spatial SHAP. | |
multilayer-sdk |
MIT | Synchronized 2β8 panel map grids, real-time laser crosshairs, curtain swipe changer. | |
myface2city |
MIT | Optical urban portrait engine, variable-radius vector stippling, OSM client, SVG exporter. | |
NCZ2Geo |
GPL-2.0-or-later | Proprietary Netcad NCZ/NCA parser, PlanGML zoning identity, official e-Plan symbology. | |
cad2geo |
GPL-2.0-or-later | High-speed binary CAD block decompressor, coordinate reprojector, and GeoJSON engine. | |
osm2threejs |
MIT | Headless 3D procedural city generation into Three.js WebGL scenes, glTF/GLB & OBJ. | |
zero2route3d-sdk |
MIT | 3D DEM slope kinematics, Minetti metabolic energy routing, HMM Viterbi map-matching. | |
planx-sdk |
MIT | Spatial planning MCDA (AHP/TOPSIS/ARAS/COPRAS), 28 urban resilience indices, cellular automata. | |
planx-3d-city |
MIT | Headless Three.js 3D city builder: GeoJSON, GeoDataFrames and DEMs into a portable browser viewer. | |
zero2geospatial3d-sdk |
MIT | Sun hours, shadows, sky view factor, UTCI/PET comfort, noise, flooding and cut/fill on 3D terrain. | |
nkde |
MIT | Network kernel density estimation (NKDE / TNKDE) along street networks, with network K-function and hot spots. | |
arealinterp |
MIT | Areal interpolation between incompatible zone systems: areal weighting, dasymetric and pycnophylactic methods with volume checks. | |
isolines |
MIT | Contour lines and filled contours (isobands) from grids and scattered points: marching squares, valid polygons with holes and GeoJSON output. | |
segstats |
MIT | Residential segregation and diversity indices: the five Massey-Denton dimensions, multigroup and spatial indices, local measures and Monte Carlo inference. |
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
tr-deprem |
MIT | Turkish earthquake data in Python: AFAD, Kandilli, USGS and EMSC through one interface. | |
tr-adres |
MIT | Parse and normalise free-text Turkish postal addresses, dependency-free. | |
turkgrid |
MIT | Zero-dependency coordinate conversion for Turkey: TUREF/ED50 3-degree TM, UTM and EPSG:1784. | |
tr-imar |
MIT | Turkish zoning (imar) calculations: TAKS/KAKS, the 30% emsal-disi cap, setbacks, building height, parking and compliance. | |
tr-donati |
MIT | Social-infrastructure (donati) area standards for Turkish plans: Mekansal Planlar Yapim Yonetmeligi EK-2. | |
tr-tbdy |
MIT | TBDY 2018 seismic design spectra: site coefficients, SDS/SD1, elastic, vertical, displacement and reduced spectra. | |
tr-acikveri |
MIT | One client for Turkish CKAN open-data portals: multi-portal search, polite downloads and cp1254 CSV/GeoJSON reading. | |
tr-nufus |
MIT | Population projection methods for Turkish plan reports: Iller Bankasi, logistic, cohort-component and MAPE back-testing. | |
tr-dop |
MIT | Turkish land readjustment (Zoning Law 3194, Article 18): DOP ratio under the 45% cap, DOP/KOP deductions and new-parcel shares. | |
tr-yangin |
MIT | Early-design fire-safety checks under the Turkish fire protection regulation: occupant load, exits, travel distances and stairs. | |
tr-arsapayi |
MIT | Value-proportional arsa payi (condominium land share, Law 634 Art. 3) with illustrative, replaceable coefficients and exact integer shares. | |
tr-gurultu |
MIT | Turkish environmental noise regulation (2022) helpers: Lgunduz/Laksam/Lgece/Lgag (Lden) indicators, limit checks, construction hours and exposure bands. | |
tr-bohhbuy |
MIT | Surveying accuracy checks of the Turkish large-scale mapping regulation (BOHHBUY 2018): traverses, leveling, KOH position tests and area tolerances. |
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
urban-mcp |
MIT | Model Context Protocol server with 24 urban planning, mobility and spatial-statistics tools. | |
openwalkscore |
MIT | Open, transparent, API-key-free 0-100 walkability scores computed from OpenStreetMap. | |
sdg11 |
MIT | UN SDG 11 urban indicators from open data, following UN-Habitat / WHO methodology. | |
landmix |
MIT | Land-use mix and diversity indices: entropy, HHI, Simpson, Hill numbers, jobs-housing balance and dissimilarity. | |
spacematrix |
MIT | Spacematrix urban density (FSI, GSI, OSR, L, N, T) at lot, island, fabric and district level, with TAKS/KAKS comparison. | |
isovist |
MIT | Exact 2D isovists and visibility graph analysis for urban design: isovist measures, intervisibility and VGA. | |
streetform |
MIT | Street-network form and connectivity metrics from GeoJSON lines: intersection density, Kansky indices, orientation order and blocks. | |
parcelform |
MIT | Parcel and lot geometry metrics from GeoJSON polygons: shape indices, frontage and lot type, depth and width, setback envelopes and subdivision checks. | |
sprawlmetrics |
MIT | Urban expansion and sprawl metrics from multi-date built-up rasters: growth rates, Landscape Expansion Index, patch metrics, entropy and SDG 11.3.1. | |
todindex |
MIT | Transit-oriented development assessment of station areas: catchments, 3D/5D built-environment indicators, the node-place model and a composite TOD index. |
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
geofix |
MIT | Fast, dependency-light GeoJSON validator and repairer for the CLI, pre-commit and CI. | |
gtfslint-cli |
MIT | Fast, pure-Python GTFS Schedule validator and quality report that runs in CI. | |
geojson-diff |
MIT | Feature-level diffs of GeoJSON datasets for git, pull requests and data pipelines. | |
whatcrs |
MIT | Guess the coordinate reference system of mystery coordinates, with ranked EPSG candidates. | |
trackclean |
MIT | Clean, smooth, segment and measure raw GPS trajectories in pure Python + NumPy. | |
poi-dedupe |
MIT | Deduplicate and conflate points of interest from several sources into golden records. |
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
tilefetch |
MIT | Download XYZ/TMS/WMTS tiles for an area into a GeoTIFF/PNG, MBTiles, PMTiles or z/x/y folder. | |
bboxkit |
MIT | Parse, convert and compute bounding boxes in every common convention, antimeridian-safe. | |
gpkglite |
MIT | Read, write and validate OGC GeoPackage files in pure Python, without GDAL. | |
geocsv |
MIT | Turn any CSV or spreadsheet of places into GeoJSON, GeoPackage, KML or GPX without GDAL. | |
geoparquet-lite |
MIT | Read, write and validate GeoParquet 1.0/1.1 with only pyarrow: WKB and native GeoArrow encodings. | |
coglite |
MIT | Read windows, pixels and overviews from Cloud-Optimized GeoTIFFs over HTTP(S) or local files with numpy only. | |
geobatch |
MIT | Polite, resumable batch geocoding of spreadsheets over Nominatim, Photon, Pelias and API-key providers. |
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
spatialcv |
MIT | Spatial cross-validation splitters for scikit-learn: blocks, buffers, NNDM and kNNDM. | |
spatialsample |
MIT | Design-based spatial sampling: GRTS, BAS, LPM, stratified designs and Horvitz-Thompson estimation. | |
geomask |
MIT | Geographic masking of confidential point data, with privacy and utility metrics. | |
mockgeo |
MIT | Deterministic synthetic geospatial test data: cities, GPS tracks, transit feeds and rasters. |
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
routematrix |
MIT | Large origin-destination travel-time and distance matrices from OSRM, Valhalla, GraphHopper and openrouteservice. | |
crashmap |
MIT | Road-safety network screening: HSM crash frequency, rate, EPDO, Empirical Bayes, negative binomial SPFs and hotspots. | |
geofencing |
MIT | Fast, dependency-free geofencing: point-in-fence checks, an R-tree over thousands of fences and enter/exit/dwell events. | |
bikelts |
MIT | Bicycle Level of Traffic Stress (LTS 1-4) from OpenStreetMap tags or tables, with low-stress connectivity analysis. | |
transitfreq |
MIT | Transit service frequency from a GTFS Schedule feed: trips per hour, headways, span, frequent network and TCQSM bands. | |
mnlite |
MIT | Lightweight discrete choice modelling for travel mode choice: multinomial and nested logit by maximum likelihood, elasticities and value of travel time. | |
aadtkit |
MIT | Traffic count processing and AADT estimation following the FHWA Traffic Monitoring Guide: AASHTO and hour-based AADT, expansion factors and K/D factors. | |
streetlos |
MIT | Multimodal street level-of-service screening: walkway LOS (average and platoon-adjusted), corner and crosswalk circulation, NCHRP 616 pedestrian and bicycle scores. | |
parkingstudy |
MIT | Parking occupancy and turnover survey analysis: inventory, occupancy by beat, effective capacity, plate-survey turnover with salted hashing and pricing rules. |
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
roadnoise |
MIT | Screening-level road traffic noise: CNOSSOS-EU source model, ISO 9613 propagation, Lden/Lnight and END exposure. | |
heatstress |
MIT | Vectorised heat-stress indices: Heat Index, Humidex, wet bulb, WBGT (Liljegren), UTCI, risk categories and heatwaves. | |
urbanshadow |
MIT | Building shadows and sun hours from 2D footprints and heights, with the BRE 209 two-hours-on-21-March test. | |
lstcalc |
MIT | Land surface temperature and urban heat island metrics from Landsat 8/9 on NumPy arrays: LST, SUHI and UTFVI. | |
skyview |
MIT | Sky view factor and street-canyon geometry: SVF from DSMs or footprints, openness, Oke's canyon formulas and H/W ratios. | |
depthdamage |
MIT | Flood damage and risk from depth-damage curves: first-floor heights, return-period event sets, expected annual damage and Monte Carlo uncertainty. | |
lczlite |
MIT | Local Climate Zone (Stewart & Oke 2012) classification from urban canopy parameters, with fuzzy range scoring, confidence and mixed-class flags. | |
greenrule |
MIT | Urban green space provision and exposure: the 3-30-300 rule, the WHO Europe 300 m indicator, green space per capita, NDVI exposure and equity. |
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
retailgravity |
MIT | Retail catchment and spatial interaction models: Huff, MCI, Reilly/Converse and Wilson's constrained gravity models. | |
odflows |
MIT | Origin-destination flow toolkit: OD tables, desire lines, zone re-aggregation, flow clustering and Intramax regions. | |
facloc |
MIT | Facility location-allocation for public services: p-median, p-center, MCLP, LSCP and capacitated p-median. | |
tripdist |
MIT | Trip generation and distribution for the four-step model: regression and cross-classification, growth factors, gravity models and Hyman calibration. |
| SDK Package | PyPI Project | License | Primary Capabilities |
|---|---|---|---|
urbanscaling |
MIT | Urban scaling laws Y = Y0 N^beta: OLS, RMA, Huber and NLS fits, bootstrap intervals, linearity tests, SAMIs and panel scaling. | |
ranksize |
MIT | City-size distributions: Zipf rank-size regression with the Gabaix-Ibragimov correction, power-law tails, primacy indices and rank clocks. | |
shiftshare |
MIT | Regional economic analysis on region x sector tables: location quotients, shift-share decompositions, specialisation indices and economic base multipliers. | |
homeafford |
MIT | Housing affordability metrics: price- and rent-to-income, cost burden, residual income, mortgage affordability, a NAR-style index and H+T share. | |
cohortproj |
MIT | Cohort-component population projection: life tables, survival ratios, fertility measures, migration, Leslie matrices and the stable population. |
pip install geoai2analytics-sdk multilayer-sdk myface2city NCZ2Geo cad2geo osm2threejs zero2route3d-sdk planx-sdk planx-3d-city zero2geospatial3d-sdk tr-deprem tr-adres turkgrid urban-mcp openwalkscore sdg11 geofix gtfslint-cli geojson-diff whatcrs trackclean poi-dedupe tilefetch bboxkit gpkglite geocsv spatialcv spatialsample geomask mockgeo routematrix nkde roadnoise geoparquet-lite crashmap heatstress coglite geofencing bikelts geobatch tr-imar tr-donati tr-tbdy tr-acikveri tr-nufus landmix urbanshadow spacematrix retailgravity odflows tr-dop transitfreq isovist lstcalc tr-yangin facloc streetform skyview tr-arsapayi arealinterp urbanscaling ranksize shiftshare homeafford depthdamage lczlite tripdist cohortproj parcelform greenrule sprawlmetrics isolines tr-gurultu mnlite segstats todindex tr-bohhbuy aadtkit streetlos parkingstudyEach package can also be installed on its own, for example:
pip install cad2geo- Python 3.12+ (the generator uses nested f-strings with escapes).
- Network access is optional but recommended; it enables live PyPI and download statistics.
- The GitHub CLI (
gh) is optional; when authenticated it adds star, fork and issue counts.
git clone https://github.com/YusufEminoglu/python-sdk-governance.git pypi_sdk_governance
cd pypi_sdk_governance
# Regenerate docs/index.html and append today's telemetry snapshot
python generate_pypi_hub.pyThe command is idempotent per day: an existing snapshot for the current UTC date is replaced rather than duplicated. The script always exits successfully β a failed network call falls back to safe defaults and is reported in the console.
python -m http.server 8000 --directory docs
# then open http://localhost:8000/You can also open docs/index.html directly in a browser; assets are either inline
or referenced from CDNs.
pypi_sdk_governance/
βββ generate_pypi_hub.py # Registry + telemetry collector + HTML generator
βββ sdk_history.json # Rolling 90-day telemetry snapshots
βββ docs/
β βββ index.html # Generated dashboard (do not edit by hand)
β βββ .nojekyll # Disable Jekyll processing on Pages
β βββ icons/ # Favicon and logo
βββ tests/
β βββ test_registry.py # Static registry & telemetry integrity tests
βββ .github/workflows/
β βββ daily_sync.yml # Nightly regenerate + GitHub Pages deploy
βββ pyproject.toml # Ruff and pytest configuration
βββ README.md
βββ LICENSE
Note:
docs/index.htmlis generated output. Editgenerate_pypi_hub.pyand re-run it instead of patching the HTML directly.
SDK_REGISTRY in generate_pypi_hub.py is the only hand-maintained source of package
metadata. Each entry must provide:
| Field | Purpose |
|---|---|
id |
Stable slug used by the dashboard and modal lookups. |
name, pypi, gh_repo |
Display name, canonical PyPI project, repository name (GitHub or GitLab). |
category, tagline |
Grouping and one-line description. |
color, color_glow, gradient |
Per-package visual identity. |
license |
SPDX-style license identifier (must match the SDK's pyproject.toml). |
docs_url, pypi_url, github_url |
Outbound links; github_url holds the repository URL on github.com or gitlab.com. |
pip |
Copy-ready install command (pip install <pypi>). |
algorithms_count |
Number of documented algorithms/engines. |
pure_python, ci_status, coverage, benchmark_speed, memory_overhead |
Quality and benchmark claims. |
bass_m, bass_p, bass_q |
Bass diffusion parameters used by the forecast tab. |
highlights |
Bullet list shown in the detail modal. |
repl_example |
Valid Python snippet rendered in the REPL tab. |
To add a new SDK:
- Append a complete entry to
SDK_REGISTRY. - Add the repository to
local_dir_mappingso source LOC can be scanned. - Add any new category filter to the
filter-pillsmarkup. - Run
python -m pytest -qβ the registry tests will flag missing keys or duplicate identifiers.
sdk_history.json is a list of daily snapshots:
[
{
"date": "2026-09-06",
"timestamp": "2026-09-06T17:10:43.924042+00:00",
"packages": {
"cad2geo": {
"version": "0.12.1",
"downloads_month": 0,
"stars": 0,
"releases": 4,
"pypi_size_kb": 76.1,
"real_loc": 5507
}
}
}
]Snapshots are ordered chronologically and capped at 90 entries.
.github/workflows/daily_sync.yml runs every day at 00:00 UTC (and on pushes to
main):
- Checks out the repository and installs Python 3.13.
- Installs the pinned
ruffandpytestversions and runs the lint/format/test gate. - Runs
python generate_pypi_hub.py. - Commits
docs/index.htmlwhen telemetry changed. - Uploads
docs/as a GitHub Pages artifact and deploys it.
No secrets are required. GitHub statistics rely on the workflow token; local runs can
use the gh CLI for richer data. GitLab-hosted packages skip the GitHub CLI and read
stars, forks and activity dates from the public GitLab API; the dashboard labels their
repository links "GitLab".
python -m pip install pytest ruff
# Static integrity tests for the registry and telemetry log
python -m pytest -q
# Lint and formatting
python -m ruff check .
python -m ruff format --check .The test suite deliberately does not execute generate_pypi_hub.py; it parses the
module with ast so tests remain fast and work offline. It verifies:
- exactly eighty packages and unique identifiers;
- required registry fields, install commands and URL conventions (GitHub or GitLab repositories);
- registry licenses against the expected upstream values;
- that every REPL snippet is syntactically valid Python;
sdk_history.jsonstructure, ordering and retention limit.
The governance hub, documentation, and generator are released under the MIT
License (see LICENSE). Individual SDK packages retain their own
licenses, as listed in the table above.