Releases: planetlabs/planet-client-python
2.21.0
What's Changed
- docs: minor improvements by @wiki0831 in #1120
- migrate static doc ref by @wiki0831 in #1114
- versioning guidance by @carl-adams-planet in #1118
- prerelease pipeline work by @carl-adams-planet in #1123
- add branch query on test badge in README.md by @ischneider in #1112
- Support bulk subs creation in client and add --bulk to CLI to invoke it by @goldenberg in #1119
Full Changelog: 2.20.0...2.21.0
3.0.0a2
More release and document pipeline testing.
3.0.0a1.dev1
Testing pipeline for pre-release build 3.0.0a1.dev1 on the 3.0 development branch.
The contents of this build should not be published to production PyPi.
The code in this branch should not current be different from the main branch.
3.0.0a1
more dev pipeline testing for doc publishing.
2.20.0
2.19.0
2.18.0
What's Changed
- Increase default read timeout to 125s
- Make read timeout configurable per
Session
Full Changelog: 2.17.0...2.18.0
2.17.0
2.16.0
Subscriptions API Summary Endpoints Support
We're excited to announce the support of two new Subscriptions API endpoints in v2.16! You can now summarize subscription statuses and subscription result statuses to better track all your subscriptions or a single subscription.
Using the CLI:
planet subscriptions summarize // to summarize the status of all subs the requester has created
planet subscriptions summarize --subscription-id={SUB_ID} // to summarize the status of _results_ for the provided subscription
Python SDK:
from planet import Planet
pl = Planet()
# to summarize the status of all subs the requester has created
summary = pl.subscriptions.get_summary()
# to summarize the status of _results_ for the provided subscription
subscription_summary = pl.subscriptions.get_subscription_summary(SUB_ID)
The follow docs are available:
Please open an issue to report bugs or provide feedback.
What's Changed
- Add support for new subscriptions summary endpoints by @charcey in #1098
- fix notes for features api docs by @stephenhillier in #1099
- fix docstring in get_subscription_summary client function by @charcey in #1100
Full Changelog: 2.15.0...2.16.0
Features API support
We're excited to announce Features API support in v2.15! You can now create Features API collections and items using both the CLI and SDK.
Using the command line client:
planet features collections list
planet features collections create --title "my new collection" // returns collection ID
planet features items add $COLLECTION_ID ./my-feature.geojson
Python SDK:
from planet import Planet
def main():
pl = Planet()
# list items in a collection
items = pl.features.list_items(collection_id=collection_id)
for item in items:
# use items/AOIs directly in other Planet APIs
results = pl.data.search(["PSScene"], geometry=item)
See the docs for more SDK examples. Please open an issue to report bugs or provide feedback.
What's Changed
- Features client by @tbarsballe in #1073
- add info about features support by @stephenhillier in #1097
Full Changelog: 2.14.0...2.15.0