Skip to main content

honua-gp

Native application path: gRPC for live data and edits; PMTiles, GeoParquet and COG through the CDN. Start there for browser gRPC-Web setup, signed private URLs and regeneration after changes. OGC API and GeoServices REST examples below are compatibility workflows.

honua-gp is an Apache-2.0 package for running supported geoprocessing operations against a Honua deployment. Its implementation uses the honua-sdk, honua-admin, and OGC API Processes clients.

Quick start

import honua_gp as gp

gp.configure(base_url="https://honua.example.com", api_key="...")
gp.env.overwriteOutput = True

gp.management.MakeFeatureLayer("honua://services/transport/1", "roads_lyr", where_clause="STATUS = 'OPEN'")
count = int(gp.management.GetCount("roads_lyr"))

Replace transport and 1 with the Service name and layerId returned when you publish your Layer. Use the complete honua://services/<service>/<layerId> URI: a Dataset name inside gp.env.workspace does not look up the published Layer and defaults to Layer 0. Replace the filter with one valid for your data.

The supported operations and their current limitations are listed in the compatibility matrix. Unsupported operations raise a clear error. Every invocation writes a JSONL audit record under ${HONUA_GP_AUDIT_DIR:-./.honua-gp/audit}; paths and credentials are redacted before the record is written.

The honua-gp matrix command renders or checks the compatibility matrix.

Buffer_analysis end-to-end

Process-backed tools submit asynchronous OGC API Processes jobs, wait for completion, and bind their outputs so downstream tools and cursors chain directly:

import honua_gp as gp

gp.configure(base_url="https://honua.example.com", api_key="...")
gp.env.overwriteOutput = True

buffered = gp.Buffer_analysis(
    "honua://services/transport/0",
    "roads_buffer",
    "25 Meters",
    dissolve_option="NONE",
)
clipped = gp.analysis.Clip(
    buffered[0],
    "honua://services/transport/1",
    "roads_clipped",
)
dissolved = gp.management.Dissolve(clipped[0], "roads_dissolved")

print("result:", dissolved[0], "job:", dissolved.job_id, "count:", gp.management.GetCount(dissolved[0]))
with gp.da.SearchCursor(dissolved[0], ["SHAPE@JSON"]) as cursor:
    for (shape_json,) in cursor:
        print(shape_json)

Status

The manifest contains 13 supported entries and 27 partial entries (40 supported/partial) + 24 stubs.

Distribution

Releases use the repository's trusted-publishing workflow with build provenance and a wheel SBOM. Install a published version from PyPI:

pip install honua-gp

The Apache-2.0 license matches honua-sdk and honua-admin.

Metadata

Release files for honua-gp 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for honua-gp 0.1.5
File Size Uploaded Provenance Actions
honua_gp-0.1.5.tar.gz 110.6 kB With provenance Details for honua_gp-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for honua-gp 0.1.5
File Interpreter ABI Platform Actions
honua_gp-0.1.5-py3-none-any.whl Python 3 none any Details for honua_gp-0.1.5-py3-none-any.whl

Total release size: 220.9 kB

Release files / honua_gp-0.1.5.tar.gz

Download URL honua_gp-0.1.5.tar.gz
Size 110.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8afa5c00083acc3bc5d260f39fb38263607b448d942a4e4337381471ee3a2ff4
BLAKE2b-256 checksum
How to use checksums
387402b890f5edac57efd1b9e5916e89c7f0899c12a6399b992b54ee6fc7afd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / honua_gp-0.1.5-py3-none-any.whl

Download URL honua_gp-0.1.5-py3-none-any.whl
Size 110.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2a5841cfbe5321f96d62baf3704b8be2c027ecbd3cbacc01eac24646786e18f
BLAKE2b-256 checksum
How to use checksums
1bfa34ca4e10b003384711799ffdb5d63ae926f3ff22b9a2b4e42604f0800dcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for honua-gp 0.1.5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for honua_gp-0.1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page