Skip to main content

geodeploy

Command-line client and Python API for GeoDeploy — the self-hosted spatial data platform and geoportal builder.

Upload data, style it, build a portal and publish it, without opening a browser:

pip install geodeploy

geodeploy login https://geodeploy.example.org --token gdp_…
geodeploy upload roads.gpkg sites.csv dem.tif --wait
geodeploy portals create "Field sites 2026" --publish

No dependencies. Python 3.9+. Every request goes through the standard library, so installing this pulls in nothing else — and a QGIS plugin can vendor the same client without asking anyone to pip-install into QGIS.

If your shell cannot find geodeploy after installing, pip's scripts directory is not on your PATHpython -m geodeploy works regardless, and pipx install geodeploy or a virtual environment avoids it.

What it covers

  • Uploads — shapefile, GeoPackage, GeoJSON, CSV (X/Y or WKT), GeoParquet, GeoTIFF. Many files in one command; the route is chosen per file, and anything over 48 MB goes direct to object storage in parallel presigned parts, so a multi-gigabyte upload survives a proxy that caps request bodies.
  • Layers — list, inspect, rename, share (STAC / OGC API - Features opt-in), share links per tool, download, delete, restart a stalled ingest.
  • Symbology — colour, opacity, outlines, dashes, markers, raster colormaps and stretches, plus data-driven styling: --color-field pop --classify jenks --classes 6 --ramp magma, proportional size, and attribute-driven 3D. Classification is computed by the instance, with the same code the portal editor uses, so the CLI and the editor can never disagree about a class.
  • Portals — create (web map, story map or catalog), arrange and style layers, folders, About page, assets, access tiers, publish, and a whole-configuration JSON round trip for version control.
  • Everything else — external WMS/XYZ/WFS services, registering data already in PostGIS or the bucket, the public STAC and OGC API - Features catalog, ingest jobs, users, and instance administration (health, services, updates, backups, activity log).

Every command takes --json, where stdout is exactly one JSON document, and exit codes distinguish authentication (3) from network (4) from server (5) so a scheduled job can alert on the right thing.

As a library

from geodeploy import Client

gd = Client("https://geodeploy.example.org", token="gdp_…")
result = gd.uploads.upload("roads.gpkg", wait=True)
portal = gd.portals.create("Roads")
gd.portals.add_layer(portal["id"], result.layer_id, "vector", {"color": "#e11d48"})
gd.portals.publish(portal["id"])

Typed exceptions (AuthError, PermissionError_, NotFoundError, ValidationError, ServerError, TransportError, JobFailed), progress callbacks and cancellation on uploads, and a swappable transport so a desktop application can route requests through its own network stack.

Documentation

Full guide: https://docs-geodeploy.kndev.org/cli/

Source and issues: https://github.com/bravemaster3/GeoDeploy

Licensed under the Apache License 2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geodeploy-1.5.0.tar.gz (133.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geodeploy-1.5.0-py3-none-any.whl (112.5 kB view details)

Uploaded Python 3

File details

Details for the file geodeploy-1.5.0.tar.gz.

File metadata

  • Download URL: geodeploy-1.5.0.tar.gz
  • Upload date:
  • Size: 133.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for geodeploy-1.5.0.tar.gz
Algorithm Hash digest
SHA256 093d635d7a37a911ed099b0303c79ded024fd58ff3dde37c45422fb61cd5162a
MD5 c24838c6cd400df579891a3d08f43920
BLAKE2b-256 503461f9688fc965489bf6e05579d0bd299b89f49fac6a3526f222fc7fb374f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for geodeploy-1.5.0.tar.gz:

Publisher: publish-cli.yml on bravemaster3/GeoDeploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geodeploy-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: geodeploy-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 112.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for geodeploy-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3467a00d4bfcbc78965c7ac77d285e866ed58fda9705eb8ff4587c15cbc58ee5
MD5 376b45e983791bb202a016ffd7a757b6
BLAKE2b-256 3fc81aa20ef7d65f60f64119afd460cdbdd4d4c4aeeaa8155ad0cc94d0886cef

See more details on using hashes here.

Provenance

The following attestation bundles were made for geodeploy-1.5.0-py3-none-any.whl:

Publisher: publish-cli.yml on bravemaster3/GeoDeploy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.5.0 This release

2 files

1.4.0

2 files

1.3.0

2 files

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