Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
planet/ | H | 30-Nov-2021 | - | 4,297 | 3,223 | |
planet.egg-info/ | H | 03-May-2022 | - | 94 | 59 | |
LICENSE | H A D | 12-Aug-2021 | 11.1 KiB | 202 | 169 | |
PKG-INFO | H A D | 30-Nov-2021 | 2.4 KiB | 94 | 59 | |
README.rst | H A D | 30-Nov-2021 | 1.7 KiB | 69 | 37 | |
setup.cfg | H A D | 30-Nov-2021 | 102 | 11 | 7 | |
setup.py | H A D | 30-Nov-2021 | 2.6 KiB | 93 | 68 |
README.rst
1================= 2Planet API Client 3================= 4 5Python client library and CLI for Planet's public API. 6 7.. image:: https://travis-ci.org/planetlabs/planet-client-python.svg?branch=master 8 :target: https://travis-ci.org/planetlabs/planet-client-python 9 10 11Installation 12------------ 13 14Via pip: 15 16.. code-block:: console 17 18 $ pip install planet 19 20The `--user <https://pip.pypa.io/en/stable/user_guide/#user-installs>`__ 21flag is highly recommended for those new to `pip <https://pip.pypa.io>`__. 22 23A PEX executable (Windows not supported) and source releases are 24`here <https://github.com/planetlabs/planet-client-python/releases/latest>`__. 25 26 27Documentation 28------------- 29 30Online documentation: `https://planetlabs.github.io/planet-client-python/index.html <https://planetlabs.github.io/planet-client-python/index.html>`__ 31 32Documentation is also provided for download `here <https://github.com/planetlabs/planet-client-python/releases/latest>`__. 33 34 35Development 36----------- 37 38To develop with or use the library in your own projects, see the `wiki <https://github.com/planetlabs/planet-client-python/wiki>`__. 39 40 41API Key 42------- 43 44The API requires an account for use. `Signup here <https://www.planet.com/explorer/?signup>`__. 45 46This can be provided via the environment variable `PL_API_KEY` or the flag `-k` or `--api-key`. 47 48Using `planet init` your account credentials (login/password) can be used to obtain the api key. 49 50 51Example CLI Usage 52----------------- 53 54**Hint: autocompletion can be enabled in some shells using**:: 55 56 eval "$(_PLANET_COMPLETE=source planet)" 57 58Basics and help:: 59 60 planet 61 62The CLI provides access to the `data API <https://developers.planet.com/docs/apis/data/>`__ :: 63 64 planet data 65 66OR specific command help:: 67 68 planet data download --help 69