Skip to main content

A CLI tool for managing cloud-native geospatial data

Project description

Portolan

CI codecov Ruff PyPI version Python 3.10+


Portolan enables organizations to share geospatial data in a low-cost, accessible, sovereign, and reliable way. Built on cloud-native geospatial formats, a Portolan catalog is as interactive as any geospatial portal—but faster, more scalable, and much cheaper to run.

This CLI converts data to cloud-native formats (GeoParquet, COG), generates rich STAC metadata, and syncs to any object storage—no servers required.

Quick Start

# Initialize a catalog
portolan init

# Scan a directory for issues (optional but recommended)
portolan scan demographics/

# Add all files in a directory (creates a "demographics" collection)
portolan add demographics/

# notest - requires S3 credentials
# Push the collection to remote storage
portolan push s3://my-bucket/catalog --collection demographics

Other common commands:

portolan check                              # Validate catalog
portolan check --fix                        # Convert to cloud-native formats
portolan rm --keep demographics/old.parquet # Untrack without deleting
# notest - requires S3 credentials
portolan pull s3://my-bucket/catalog -c demographics  # Pull from remote
# notest - requires S3 credentials
portolan sync s3://my-bucket/catalog -c demographics  # Full workflow: pull → check → push
portolan config set remote s3://my-bucket/catalog     # Save remote URL
portolan config list                        # List all config settings

Installation

Recommended: pipx (for global use)

# notest - installation command
pipx install portolan-cli

This installs portolan in an isolated environment while making the command globally available.

If you don't have pipx installed:

# notest - installation commands
python3 -m pip install --user pipx
python3 -m pipx ensurepath

Alternative: pip

# notest - installation command
pip install portolan-cli

Note: This installs into your global or user site-packages and may conflict with other packages.

For Development

Use uv for local development:

# notest - development setup
git clone https://github.com/portolan-sdi/portolan-cli.git
cd portolan-cli
uv sync --all-extras
uv run portolan --help

See Contributing Guide for full development setup.

Documentation

License

Apache 2.0 — see LICENSE

Project details


Download files

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

Source Distribution

portolan_cli-0.4.4.tar.gz (5.0 MB view details)

Uploaded Source

Built Distribution

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

portolan_cli-0.4.4-py3-none-any.whl (218.8 kB view details)

Uploaded Python 3

File details

Details for the file portolan_cli-0.4.4.tar.gz.

File metadata

  • Download URL: portolan_cli-0.4.4.tar.gz
  • Upload date:
  • Size: 5.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for portolan_cli-0.4.4.tar.gz
Algorithm Hash digest
SHA256 9f8d25d7c24446069f981330e2ea97a9c5dc957e4310fbe9f511d2ab61609c8d
MD5 69e785136b07aa834eeb74a4cf0d82a8
BLAKE2b-256 a80a3822b6f1aa5150d7eaab336b1297418a9c7e558c921160443e5e4f3899a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for portolan_cli-0.4.4.tar.gz:

Publisher: release.yml on portolan-sdi/portolan-cli

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

File details

Details for the file portolan_cli-0.4.4-py3-none-any.whl.

File metadata

  • Download URL: portolan_cli-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 218.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for portolan_cli-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 14e6d0b65cde331c645f679b5c0299ae6dd6576c99df9950255977f08569103f
MD5 25228f4e5ee5d5d219c3cc5909bd3d7f
BLAKE2b-256 2bd7f3cc80d9e1a119431eb589f99fdfc54dcced955f362030f38aa06400e13e

See more details on using hashes here.

Provenance

The following attestation bundles were made for portolan_cli-0.4.4-py3-none-any.whl:

Publisher: release.yml on portolan-sdi/portolan-cli

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page