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.2.tar.gz (4.9 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.2-py3-none-any.whl (204.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: portolan_cli-0.4.2.tar.gz
  • Upload date:
  • Size: 4.9 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.2.tar.gz
Algorithm Hash digest
SHA256 c282f5fe4b6475782f97e9f4e3ab207dac2183c2e3625c12d947820f30f11c67
MD5 3126215a7d54c9328f5bb47464a330e6
BLAKE2b-256 2e9b03c28614abf8e8dae9459175942c27b0ec4732ea08c7442476c673528681

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: portolan_cli-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 204.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 572d110204923db4ecdd0a1ed3f2391972885cd660d76d85751e7b343cb0ca1e
MD5 e22c50e30ed07fda77228134d5e1a60c
BLAKE2b-256 2145310a60bf2cf22e02c6f349c3dfea40fddeddec348a9c1db41d90d0321ddc

See more details on using hashes here.

Provenance

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