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.

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 development main-3.0-dev Planet Labs Python Client on ReadTheDocs.io Targeting August 2025 TBD TBD See 3.0.0 Release Milestone.
2.x active main Planet Labs Python Client v2 on ReadTheDocs.io April 2023 TBD 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 get started you need to Get a Planet Account.

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.0.0b2.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.0.0b2-py3-none-any.whl (125.6 kB view details)

Uploaded Python 3

File details

Details for the file planet-3.0.0b2.tar.gz.

File metadata

  • Download URL: planet-3.0.0b2.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for planet-3.0.0b2.tar.gz
Algorithm Hash digest
SHA256 fb034b56d0e146b762d7355bf90919b0d4717b3e93b395d63e3d582a39336770
MD5 5f4889170094c6b7e4dea4586291f554
BLAKE2b-256 e9b84db436df0adb4b187a21020ddc751181e9b50e42597831b1a164cdc6c1d2

See more details on using hashes here.

File details

Details for the file planet-3.0.0b2-py3-none-any.whl.

File metadata

  • Download URL: planet-3.0.0b2-py3-none-any.whl
  • Upload date:
  • Size: 125.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for planet-3.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 fc660e1267bff52f8654e5db58dc0e5b4fb54975a48266b304ee5cd00e6aa6d3
MD5 fc8d67724f16533b56e8fb0746fd6d87
BLAKE2b-256 d4d32e9561000a68de6202aaeb464f56f6f8a446eb03260a84d3fd3b3fc352c8

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