planetary-computer
Planetary Computer SDK for Python
What it is and what it does
The Planetary Computer SDK is a Python library for accessing Microsoft's Planetary Computer geospatial data service. It specializes in signing Azure Blob Storage URLs and STAC (SpatioTemporal Asset Catalog) objects to grant read access to satellite imagery and related datasets. The library works with pystac objects (Asset, Item, ItemCollection) and pystac-client's ItemSearch, allowing you to either manually sign individual items or automatically sign all results from a client query.
The package depends on click, pydantic, pystac, pystac-client, pytz, requests, packaging, and python-dotenv. It requires Python 3.7 or later. While installation is straightforward, the package has been abandoned since July 2023, meaning no active maintenance or updates are being applied—a significant consideration if you rely on it for production geospatial workflows.
Use it for:
- Automatically sign STAC search results from Planetary Computer when using pystac-client to access satellite imagery.
- Manually sign individual STAC Items or Assets before downloading or processing Planetary Computer datasets.
- Sign raw Azure Blob Storage URLs to grant temporary read access to geospatial data without managing credentials directly.
- Integrate Planetary Computer data access into geospatial analysis pipelines that already use pystac and pystac-client.
- Access Planetary Computer's Blob Storage container directly via ContainerClient or adlfs filesystem abstractions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Signs Azure Blob Storage URLs and STAC objects to grant read access to Planetary Computer datasets, with optional automatic integration into pystac-client workflows.
Yes, but with caution. The package is well-designed for its narrow purpose—signing Planetary Computer assets—and has low install friction. However, it is abandoned (last release July 2023, 1136 days ago), so there will be no bug fixes or compatibility updates. Install it only if you are committed to using Planetary Computer data and can accept the risk of eventual incompatibility with newer dependency versions. For new projects, verify that the signing mechanism and API endpoint remain stable.
Install
planetary-computer on PyPI
pip
pip install planetary-computeruv
uv add planetary-computerpoetry
poetry add planetary-computerInstalling planetary-computer
Before you install
Low install friction with eight well-established dependencies. However, the package is abandoned—last release was 2023-07-05, over 1136 days ago. No active maintenance means bug fixes or compatibility updates with newer dependency versions are unlikely.
License in practice
MIT License permits free use, modification, and redistribution with minimal restrictions, making it safe to adopt from a licensing perspective.
Quickstart
pip install planetary-computer
import planetary_computer
from pystac_client import Client
api = Client.open(
'https://planetarycomputer.microsoft.com/api/stac/v1',
modifier=planetary_computer.sign_inplace,
)
# Results from api are now automatically signed
Requires a Planetary Computer API subscription key (optional but recommended for better rate limits); set via PC_SDK_SUBSCRIPTION_KEY environment variable or planetarycomputer configure CLI.
Verify before relying
- Whether the package remains compatible with current versions of pystac, pystac-client, and requests given its abandoned status.
- Whether Azure Blob Storage signing behavior has changed since the last release in July 2023.
- Whether the Planetary Computer API endpoint remains stable and unchanged.
Package facts
| License | MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — click, pydantic, pystac, pystac-client, pytz, requests, packaging, python-dotenv |
| Maintenance | abandoned — 1,136 days since the last release |
| First released | |
| Downloads | 272,043/month — #8,213 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: planetary_computer-1.0.0-py3-none-any.whl
Tags
More Information Analysis packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyarrowpyarrow provides Python bindings to Apache…
permissive · top 100 on PyPI
networkxNetworkX provides data structures and…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI
snowflake-snowpark-pythonSnowpark Python provides APIs to query and…
permissive · top 1,000 on PyPI
pystac-clientPySTAC Client is a Python library for querying…
permissive · top 15,000 on PyPI
pystac-corePySTAC Core provides the foundational API for…
permissive · top 5,000 on PyPI
pystacPySTAC is a Python library for reading,…
permissive · top 5,000 on PyPI
pystac-ext-storageExtends PySTAC to add cloud storage metadata…
permissive · top 5,000 on PyPI
stac-fastapi-pgstacProvides a FastAPI-based HTTP interface to…
permissive · top 15,000 on PyPI
pystac-ext-eoExtends PySTAC to add Electro-Optical extension…
permissive · top 5,000 on PyPI
pystac-ext-satExtends PySTAC to handle satellite-specific…
permissive · top 5,000 on PyPI
pystac-ext-xarray-assetsExtends PySTAC to support the Xarray Assets…
permissive · top 5,000 on PyPI
azure-storage-blobClient library for uploading, downloading, and…
permissive · top 1,000 on PyPI
pystac-ext-viewExtends PySTAC with the View Geometry…
permissive · top 5,000 on PyPI