Skip to main content

Portolan CLI

PyPI version CI codecov Python 3.11+ License

Portolan is an opinionated specification for serverless spatial data infrastructures. It defines how publishers store, organize, document, and serve geospatial data as static files in their own storage. Every Portolan catalog should offer a predictable, high-quality experience for publishers, people, and agents.

Portolan builds on existing standards instead of replacing them. GeoParquet and PMTiles serve vector data, while COG serves raster data. STAC provides a consistent catalog structure and index. Required README and AGENTS.md files explain each catalog to people and agents. The specification also covers operational details such as spatial ordering, bounding boxes, and CORS.

This repository contains the Portolan CLI, an implementation of the specification. It helps publishers:

  • Build STAC catalogs with GeoParquet and COG assets.
  • Extract ArcGIS, WFS, and Carto sources.
  • Generate thumbnails, PMTiles, MapLibre styles, and STAC GeoParquet indexes.
  • Track collection versions and checksums without a database.
  • Validate catalog metadata, structure, and assets against the Portolan specification.
  • Push, pull, sync, and clone catalogs through S3, GCS, Azure, or S3-compatible storage.
  • Use structured JSON output, a typed Python API, or backend plugins.

Installation

Portolan CLI is pre-1.0 software, as breaking changes are expected for the time being.

uv tool install portolan-cli

Or with pip:

pip install portolan-cli

Documentation

Start with the end-to-end publishing example. We plan to add more tutorials over time.

See the full documentation. It includes an auto-generated CLI reference and Python API reference.

Development

git clone https://github.com/portolan-sdi/portolan-cli.git
cd portolan-cli
uv sync --all-extras
uv run pytest

See the contributing guide for details.

License

Apache 2.0

Metadata

Release files for portolan-cli 0.9.0

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

Source distribution (sdist)

Source distribution for portolan-cli 0.9.0
File Size Uploaded Provenance Actions
portolan_cli-0.9.0.tar.gz 7.3 MB With provenance Details for portolan_cli-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for portolan-cli 0.9.0
File Interpreter ABI Platform Actions
portolan_cli-0.9.0-py3-none-any.whl Python 3 none any Details for portolan_cli-0.9.0-py3-none-any.whl

Total release size: 8.2 MB

Release files / portolan_cli-0.9.0.tar.gz

Download URL portolan_cli-0.9.0.tar.gz
Size 7.3 MB
Tags Source
SHA-256 checksum
How to use checksums
934b74cb00aa9fe8f1c6f2719f095f416f61a3c94002dbf02d15d9d16d268742
BLAKE2b-256 checksum
How to use checksums
c3ca9c884ed67846ad3d4b2e8f47d1bc8a4b46963e3766f2e6c1485fa124e2a1
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 3, 2026.

Transparency log

Release files / portolan_cli-0.9.0-py3-none-any.whl

Download URL portolan_cli-0.9.0-py3-none-any.whl
Size 934.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f84404b6b0fac819e654a0a3398c51f2dc946a0cad424690478af3beca73aa24
BLAKE2b-256 checksum
How to use checksums
62edbb4a73c2213fdd9fa840070320f83aafbcebd8732fb1f4d2e940fdbc0509
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 3, 2026.

Transparency log

Security for portolan-cli 0.9.0

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 portolan_cli-0.9.0.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 3, 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