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 datasets & analytics workflows
  • Use UP42 functionality together with your preferred Python libraries!
  • Interactive maps & 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 us via Email support@up42.com

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.26.0.tar.gz (54.4 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.26.0-py3-none-any.whl (72.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for up42-py-0.26.0.tar.gz
Algorithm Hash digest
SHA256 6cc3c8dd34ce699347a17f5241492dd682a0b3dfb37d44aa23552b4745b9d949
MD5 b4e19d92e8415f1613f7671da181a266
BLAKE2b-256 87173cbf377509faf3f72fd2c8df283093094dff87b896a635514695cc782fad

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for up42_py-0.26.0-py3-none-any.whl
Algorithm Hash digest
SHA256 110f43635c963dafb5c64beadf09a5d2a87618817c0ef46cef2af199466bc11c
MD5 2b427f462517fb34d569e47cdb42edb9
BLAKE2b-256 4948870f66a3dcf3b7bc5529e740e81b83adbecf196a8e8a0f867e721ff3f90f

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