Skip to content

Commit 96f57c1

Browse files
committed
doc updates
1 parent 32f826d commit 96f57c1

File tree

3 files changed

+29
-51
lines changed

3 files changed

+29
-51
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,17 @@ document explains how to contribute successfully.
99

1010
#### Development Branch
1111

12-
Implementation of new features will be tracked in the `main` branch, while bug
13-
fixes and doc changes for the latest release will be tracked in the maintenance
14-
branch, called `maint-RELEASE_VERSION`. All work will be performed in a
15-
new development branch starting with the appropriate base branch and merged
16-
back into that branch.
17-
18-
For new features:
12+
The default branch is always `main` and should be always considered in-development. Feature enhancements, bug fixes, and other maintenance should be performed in a development branch, starting with the appropriate base branch and merged back into that branch:
1913

2014
```console
2115
git checkout main
2216
git pull
2317
git checkout -b new-branch-name
2418
```
2519

26-
For example, for bug fixes and doc changes to release version 2.0:
27-
28-
```console
29-
git checkout maint-2.0
30-
git pull
31-
git checkout -b new-branch-name
32-
```
33-
3420
#### Branch Naming
3521

36-
Please use the following naming convention for development branches:
37-
38-
`{up to 3-word summary of topic, separated by a dash)-{ticket number}`
39-
40-
For example: `release-contributing-691` for [ticket 691](https://github.com/planetlabs/planet-client-python/issues/691).
22+
Branch names should describe the work performed within the branch, and include a ticket number if applicable. For example, a branch that corrects typos in documentation and is not ticketed could be named `fix-documentation-typos`, and a branch that adds a new feature and is ticketed could be named `new-feature-123` (where 'new-feature' is the name of the feature and '-123' is the ticket number).
4123

4224
### Pull Requests
4325

README.md

Lines changed: 26 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
The [Planet](https://planet.com) Software Development Kit (SDK) for Python
66
provides both a Python API and a command-line interface (CLI)
77
to make use of [the Planet APIs](https://developers.planet.com/docs/apis/).
8-
Everything you need to get started is found in our
8+
Everything you need to get started is found in our
99
[online documentation](https://planet-sdk-for-python-v2.readthedocs.io/en/latest/).
1010

1111
Version 2.0 includes support for the core workflows of the following APIs:
@@ -14,57 +14,54 @@ Version 2.0 includes support for the core workflows of the following APIs:
1414
* [Orders](https://developers.planet.com/docs/orders/) - Process and download or deliver imagery.
1515
* [Subscriptions](https://developers.planet.com/docs/subscriptions/) - Set up a search to auto-process and deliver imagery.
1616

17-
After the initial 2.0 release there will be additional work to support the
17+
After the initial 2.0 release there will be additional work to support the
1818
remaining Planet APIs: [basemaps](https://developers.planet.com/docs/basemaps/),
19-
[tasking](https://developers.planet.com/docs/tasking/)) and
19+
[tasking](https://developers.planet.com/docs/tasking/) and
2020
[analytics](https://developers.planet.com/docs/analytics/).
2121

2222
## Versions and Stability
2323

24-
The default branch (main) of this repo is for the [Planet SDK for
24+
The default branch (main) of this repo is for the [Planet SDK for
2525
Python](https://github.com/planetlabs/planet-client-python/projects/2),
26-
a complete rewrite and upgrade from the original [Planet Python
27-
Client](https://developers.planet.com/docs/pythonclient/). If you
28-
are looking for the source code to that library see the
26+
a complete rewrite and upgrade from the original [Planet Python
27+
Client](https://developers.planet.com/docs/pythonclient/). If you
28+
are looking for the source code to that library see the
2929
[v1](https://github.com/planetlabs/planet-client-python/tree/v1) branch.
3030

3131
The Planet SDK for Python is in 'pre-release' stages, working towards a solid
32-
beta release in December. Upcoming milestones are tracked in the [Planet SDK
33-
for Python Milestones](https://github.com/planetlabs/planet-client-python/milestones).
32+
beta release in December. Upcoming milestones are tracked in the [Planet SDK
33+
for Python Milestones](https://github.com/planetlabs/planet-client-python/milestones).
3434

3535
## Installation and Quick Start
3636

37-
The main installation path and first steps are found in the
38-
[Quick Start Guide](https://planet-sdk-for-python-v2.readthedocs.io/en/latest/get-started/quick-start-guide/)
39-
of the documentation.
37+
The Planet SDK for Python is [hosted on PyPI](https://pypi.org/project/planet/) and can simply be installed via:
4038

41-
### Installing from source
42-
43-
This option enables you to get all the latest changes, but things might also be a bit less stable.
44-
To install you must [clone](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)
45-
the [planet-client-python](https://github.com/planetlabs/planet-client-python) repository
46-
to your local computer. After you have the repo local just navigate to the root
47-
directory, where this readme lives.
39+
```console
40+
pip install planet
41+
```
4842

49-
Then you can install locally with pip:
43+
To install from source, first clone this repository, then navigate to the root directory (where `setup.py` lives) and run:
5044

5145
```console
52-
$ pip install .
46+
pip install .
5347
```
5448

49+
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](https://docs.python.org/3/library/venv.html) documentation. For users who are running multiple versions of Python via [pyenv](https://github.com/pyenv/pyenv), see the [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv) extension documentation.
50+
51+
Detailed installation instructions for the Planet SDK can be found in the [Quick Start Guide](https://planet-sdk-for-python-v2.readthedocs.io/en/latest/get-started/quick-start-guide/) of the documentation.
52+
53+
## Contributing and Development
54+
55+
To contribute or develop with this library, see [CONTRIBUTING.md](CONTRIBUTING.md).
56+
5557
## Documentation
5658

5759
Documentation is currently [hosted online](https://planet-sdk-for-python-v2.readthedocs.io/en/latest/)
5860
It should be considered 'in progress', with many updates to come. It can also
59-
be built and hosted locally (see [CONTRIBUTING.md](CONTRIBUTING.md)) or can be
61+
be built and hosted locally (see [CONTRIBUTING.md](CONTRIBUTING.md)) or can be
6062
read from source in the [docs](/docs) directory.
6163

6264
## Authentication
6365

64-
Planet's APIs require an account for use. To get started you need to
65-
[Get a Planet Account](https://planet-sdk-for-python-v2.readthedocs.io/en/latest/get-started/get-your-planet-account/).
66-
67-
## Development
68-
69-
To contribute or develop with this library, see
70-
[CONTRIBUTING.md](CONTRIBUTING.md).
66+
Planet's APIs require an account for use. To get started you need to
67+
[Get a Planet Account](https://planet-sdk-for-python-v2.readthedocs.io/en/latest/get-started/get-your-planet-account/).

docs/cli/cli-subscriptions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ You can also filter by status:
171171
planet subscriptions results SUBSCRIPTION_ID --status processing
172172
```
173173

174-
The available statuses are `created`, `queued`, `processing`, `failed`, and `success`. Note it’s quite useful
175-
to use `jq` to help filter out results as well.
174+
See the Subscriptions API documentation for the [official list of available statuses](https://developers.planet.com/docs/subscriptions/#subscription-status).
176175

177176
#### Results as comma-separated values (CSV)
178177

0 commit comments

Comments
 (0)