Releases: planetlabs/planet-client-python
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
2.14.0
What's Changed
- Upgrade httpx to >= 0.28.0 by @asonnenschein in #1089
- Add group_by to composite tool function (#1053) by @ormaq in #1088
- refactor sdk and cli guides by @stephenhillier in #1087
- Housekeeping: Add GEE delivery option for Subscription, OCS delivery option for Orders, remove PS2 target sensor for harmonize tool by @charcey in #1092
- add str to geometry type hints by @stephenhillier in #1090
- add "create configuration" support for SH hosting in orders and subs by @charcey in #1095
- Add page_size arg to list_subscriptions() by @asonnenschein in #1096
- remove product bundles json from repo, and fetch it dynamically, add helper function to get valid item types and bundles in cli by @charcey in #1094