Skip to main content

Python SDK for UP42

Project description

Python SDK for UP42, the geospatial marketplace and developer platform.

Documentation   •   UP42.com   •   Support

Highlights

  • Python package for easy access to UP42's geospatial collections and analytics workflows
  • Use UP42 functionality together with your preferred Python libraries!
  • Interactive maps and visualizations of your UP42 assets


Installation & Documentation

See the documentation for getting started guides, examples and the code reference.

Install via pip or conda. The package requires Python > 3.6.

pip install up42-py
conda install -c conda-forge up42-py

30-second Example

Search & order satellite images from the UP42 catalog.

import up42

up42.authenticate(project_id="your project ID", project_api_key="your-project-API-key")
catalog = up42.initialize_catalog()

# See the available data products and collections
catalog.get_data_products(basic=True)

# Search in the catalog with your search parameters
aoi = up42.read_vector_file("data/aoi_washington.geojson")
search_parameters = catalog.construct_search_parameters(geometry=aoi,
                                                        start_date="2019-01-01",
                                                        end_date="2021-12-31",
                                                        collections=["phr"],
                                                        max_cloudcover=20,
                                                        limit=10)
search_results = catalog.search(search_parameters=search_parameters)

# Estimate the order price and place the order
order_parameters = catalog.construct_order_parameters(data_product_id='647780db-5a06-4b61-b525-577a8b68bb54',
                                                      image_id='6434e7af-2d41-4ded-a789-fb1b2447ac92',
                                                      aoi=aoi)

catalog.estimate_order(order_parameters)
order = catalog.place_order(order_parameters)

# Download the finished order
assets = order.get_assets()
assets[0].download()

Support

For any kind of issues or suggestions please see the documentation, open a GitHub issue or contact support.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

up42-py-0.30.0.tar.gz (60.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

up42_py-0.30.0-py3-none-any.whl (79.2 kB view details)

Uploaded Python 3

File details

Details for the file up42-py-0.30.0.tar.gz.

File metadata

  • Download URL: up42-py-0.30.0.tar.gz
  • Upload date:
  • Size: 60.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.12

File hashes

Hashes for up42-py-0.30.0.tar.gz
Algorithm Hash digest
SHA256 3146cf7b89dd61765e65d011c1033a2a0d41b85dc73fa8cbd6ecf3a8e33b900c
MD5 42b5d0cb3bab6e75a5f0dcd9ab30f3b7
BLAKE2b-256 69bce1ac4c17b7c312f22ce81a60a407d888d8b65d702ff87922dd1471f0de44

See more details on using hashes here.

File details

Details for the file up42_py-0.30.0-py3-none-any.whl.

File metadata

  • Download URL: up42_py-0.30.0-py3-none-any.whl
  • Upload date:
  • Size: 79.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.12

File hashes

Hashes for up42_py-0.30.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a5d1addb07b4165c66df5c554071db4266a340eee9cd1f4476e28f7cb0df19e
MD5 00d40203c1d2da31cfa8405d2c9136da
BLAKE2b-256 593b2f73ecb54f539ffacb12f9df9485f938a6d827566f8d6c99a723200e36bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page