GeoKernel Python
Official Python package for the GeoKernel GIS SDK.
The package name is geokernel:
pip install geokernel
Install extended GDAL formats, DuckDB and GeoParquet support when needed:
pip install "geokernel[formats]"
all is the forward-compatible option for installing every optional GeoKernel runtime:
pip install "geokernel[all]"
Usage
import sys
from PySide6.QtWidgets import QApplication, QMainWindow
from geokernel import Viewer, ViewerTool
app = QApplication(sys.argv)
window = QMainWindow()
window.setWindowTitle("HelloMap")
window.resize(1200, 800)
viewer = Viewer(width=1200, height=800)
viewer.set_tool(ViewerTool.PAN)
viewer.add_layer(r"D:\data\world_4326.shp")
window.setCentralWidget(viewer.qt_widget())
window.closeEvent = lambda event: (viewer.close(), event.accept())
window.show()
app.processEvents()
viewer.show()
viewer.resize(window.centralWidget().width(), window.centralWidget().height())
viewer.full_extent()
viewer.refresh_layers()
app.exec()
Development
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e .
Runtime Binaries
The PyPI package includes the universal, license-neutral GeoKernel runtime under:
src/geokernel/bin/
The runtime should include GeoKernel.Viewer.dll, GeoKernel DLLs, Qt DLLs, Skia/GDAL/PROJ dependencies, Qt plugins, GDAL plugins, gdal-data, and proj-data.
For development builds, copy the current local SDK runtime into the package with:
python tools\sync_runtime_binaries.py --source "D:\projects\GeoKernel\outputs\build\Release" --clean
If the package does not contain binaries yet, the wrapper also checks:
GEOKERNEL_BIN
D:\projects\GeoKernel\outputs\build\Release
Package Layout
src/
geokernel/
__init__.py
geometry.py
layer.py
dll.py
viewer.py
bin/
tools/
sync_runtime_binaries.py
Metadata
Release files for geokernel 1.5.33
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geokernel-1.5.33.tar.gz | 42.6 MB | Without provenance | Details for geokernel-1.5.33.tar.gz |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geokernel-1.5.33-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for geokernel-1.5.33-py3-none-win_amd64.whl |
| geokernel-1.5.33-py3-none-manylinux_2_35_x86_64.whl | Python 3 | none | Linux glibc 2.35+ x86-64 | Details for geokernel-1.5.33-py3-none-manylinux_2_35_x86_64.whl |
Total release size: 136.7 MB
Release files / geokernel-1.5.33.tar.gz
| Download URL | geokernel-1.5.33.tar.gz |
|---|---|
| Size | 42.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3eff88ba3b8a12e532841fd43d1a106313754ad243f6e717231436043cca4a75
|
|
BLAKE2b-256 checksum How to use checksums |
340dce30854823335a8c82a1a62fce5bf77786981329f70cbb9c25b567c7c45f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / geokernel-1.5.33-py3-none-win_amd64.whl
| Download URL | geokernel-1.5.33-py3-none-win_amd64.whl |
|---|---|
| Size | 42.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a020c9af9525398d9ced546666f09dc6c56d9bdac397194c79f0c890e007ea22
|
|
BLAKE2b-256 checksum How to use checksums |
13417c8ebf64bcfa367a7741b8f12926541f4b2e4a7715bb166c3ed806e0afc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Release files / geokernel-1.5.33-py3-none-manylinux_2_35_x86_64.whl
| Download URL | geokernel-1.5.33-py3-none-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 51.4 MB |
| Tags | Linux glibc 2.35+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
789b6f0072a7eda8c82806a80f17bf324c082cd4e23ee4389aa4496dea0936eb
|
|
BLAKE2b-256 checksum How to use checksums |
f7c7c35e74b08e56014cfb91875829732ab3497055ac7e319b688d93c0c97a39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.9
|
Security for geokernel 1.5.33
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.