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.1.tar.gz (4.8 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.1-py3-none-any.whl (176.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: portolan_cli-0.4.1.tar.gz
  • Upload date:
  • Size: 4.8 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.1.tar.gz
Algorithm Hash digest
SHA256 771152b537c4ff60956dfeed0bb98e8ab40778d324658d2cc74897397d20b135
MD5 d2513d22d578d4ca4cd661780d69421d
BLAKE2b-256 a45db1d0ad3df533153e8523178ba0c4cbec0c7a288b11609a5b80c195b5c638

See more details on using hashes here.

Provenance

The following attestation bundles were made for portolan_cli-0.4.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: portolan_cli-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 176.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77cc86bf75b903d07bd283748a9a381973dbaa5e2e6cd892111db2d818b22bb1
MD5 e4acb78df59971fd194c9f55bb857c5f
BLAKE2b-256 077f318948e02e08a48b4fc950628a49bffcd956341f953b6d612b8560c47c05

See more details on using hashes here.

Provenance

The following attestation bundles were made for portolan_cli-0.4.1-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