Skip to main content

Planet SDK for Python

Project description

Planet SDK for Python

Build Status PyPI Downloads

The Planet Software Development Kit (SDK) for Python provides both a Python API and a command-line interface (CLI) to make use of the Planet APIs. Everything you need to get started is found in our online documentation.

Version 2.0 includes support for the core workflows of the following APIs:

  • Data - Search for imagery from Planet's data catalog.
  • Orders - Process and download or deliver imagery.
  • Subscriptions - Set up a search to auto-process and deliver imagery.
  • Features - Upload areas of interest to the Planet platform.
  • Destinations - Create destinations to securely store cloud credentials.

After the initial 2.0 release there will be additional work to support the remaining Planet APIs: basemaps, tasking and analytics.

Versions and Stability

The SDK follows Semantic Versioning and therefore only major releases should break compatibility. Minor versions may include new functionality and patch versions address bugs or trivial changes (like documentation).

Packages will be released to PyPi / Planet with semantic version identifiers that comply with PEP 440.

The Semantic Versioning stability scheme only applies to APIs that are considered part of the public API. This includes library APIs exported from the planet package and documented in our SDK developer documentation, and the planet CLI interface used for scripts. It does not include library interfaces below the top level planet Python package which are considered internal and subject to change without notice.

SDK semantic versioning does not apply to the underlying Planet APIs, which follow their own independent version and release lifecycles.

If depending upon official packages from PyPI, a developer should feel comfortable specifying planet == 2.* unless depending on a specific feature introduced at a minor version, in which case planet == 2.x.* (where x is the minor version of the new feature) should suffice.

Versions and Support Status

Major versions are supported according to their designated support status, as defined below. Planet Labs PBC makes no formal commitment to a specific schedule, but will make every effort to provide reasonable notice of upcoming changes to the support status of major versions.

  • development - Unstable. Under active development. Not recommended for production use. API stability not guaranteed. New features from active versions will be ported forward to the extent allowed by the scope of the new major version under development.
  • active - Actively maintained and supported. New features and bug fixes. Suitable for production use. API stability guaranteed according to semantic versioning, but subject to changes in the underlying Planet APIs.
  • maintenance - Critical bug fixes only.
  • end-of-life - No longer supported. Software packages will remain available.
  • removed - No longer available. Removed from distribution channels.

Python Version Support

Active minor versions will support Python versions that have not reached end-of-life at the time of release.

See https://devguide.python.org/versions/ for current Python versions.

Branches

The default branch is always main, and will correspond to the current stable major release version. This branch should be considered in-development but with tests and other build steps kept in a passing state.

See CONTRIBUTING.md for more information on branches.

Current Mainline Versions and Branches
Version Status Branch Documentation Initial Release End of Active Development End of Maintenance Notes
3.x active main Planet Labs Python Client on Readthedocs.io August 2025 TBD TBD
2.x maintenance maint-2.x Planet Labs Python Client 2.23.1 on Readthedocs.io April 2023 August 2025 TBD
1.x end-of-life v1 Planet Labs Python Client v1 on Github.io April 2017 April 2023 TBD

Installation and Quick Start

The Planet SDK for Python is hosted on PyPI and can simply be installed via:

pip install planet

To install from source, first clone this repository, then navigate to the root directory (where setup.py lives) and run:

pip install .

Note that the above commands will install the Planet SDK into the global system Python unless a virtual environment is enabled. For more information on configuring a virtual environment from system Python, see the official Python venv documentation. For users who are running multiple versions of Python via pyenv, see the pyenv-virtualenv extension documentation.

Detailed installation instructions for the Planet SDK can be found in the Quick Start Guide of the documentation.

Contributing and Development

To contribute or develop with this library, see CONTRIBUTING.md.

Documentation

Documentation is currently hosted online It should be considered 'in progress', with many updates to come. It can also be built and hosted locally (see CONTRIBUTING.md) or can be read from source in the docs directory.

Authentication

Planet's APIs require an account for use. To learn how to authenticate, see the client authentication overview

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

planet-3.4.0.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

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

planet-3.4.0-py3-none-any.whl (135.5 kB view details)

Uploaded Python 3

File details

Details for the file planet-3.4.0.tar.gz.

File metadata

  • Download URL: planet-3.4.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for planet-3.4.0.tar.gz
Algorithm Hash digest
SHA256 50d27209eea7cafeedbbe2d8950b77893fdf862ad61e71ed431655c65d1ba156
MD5 f6050b24026285ea0dd745f62158c66a
BLAKE2b-256 8354814589e920d52c43a6053274772e1a2df6949d93b2c36d175a7b74c98cb0

See more details on using hashes here.

File details

Details for the file planet-3.4.0-py3-none-any.whl.

File metadata

  • Download URL: planet-3.4.0-py3-none-any.whl
  • Upload date:
  • Size: 135.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for planet-3.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b53d118edb5d20662abf0e9f7a41295fb6f1b0352b0b79b4ab18ce89424e0bf7
MD5 023bbee4d4f8ac72c36d1300bfc3dd09
BLAKE2b-256 1bcd93ba0371dd3196864be1c408acf8ecf9aecc7f77694db27cc110fe0f0671

See more details on using hashes here.

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