• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

planet/H30-Nov-2021-4,2973,223

planet.egg-info/H03-May-2022-9459

LICENSEH A D12-Aug-202111.1 KiB202169

PKG-INFOH A D30-Nov-20212.4 KiB9459

README.rstH A D30-Nov-20211.7 KiB6937

setup.cfgH A D30-Nov-2021102 117

setup.pyH A D30-Nov-20212.6 KiB9368

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