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()

# Search in the catalog with your search parameters
aoi = up42.read_vector_file("data/aoi_washington.geojson")
search_parameters = catalog.construct_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
catalog.estimate_order(geometry=aoi, scene=search_results.loc[0])
order = catalog.place_order(geometry=aoi, scene=search_results.loc[0])

# 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.22.0.tar.gz (44.1 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.22.0-py3-none-any.whl (55.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: up42-py-0.22.0.tar.gz
  • Upload date:
  • Size: 44.1 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.22.0.tar.gz
Algorithm Hash digest
SHA256 deb8d026dbb9dedbf41d30dde43a5bdc1a5574d4c6ac01f4d3a80635cb959ecc
MD5 772c958a750138b82c9be55c74e37dae
BLAKE2b-256 1e84c9a91e9a3cc6ab98305b90862d05c42e99ed74ac1791ee47d58c011813fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: up42_py-0.22.0-py3-none-any.whl
  • Upload date:
  • Size: 55.0 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.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c23f94bf009d10db7be536e1fb31dd5a82d03b1a42ca017fa5ce7370d326cba
MD5 7c646fd2ce035833ab1d423f6855b003
BLAKE2b-256 b1a51ac11b2863994e0df4eeaaa3000dbe376d28e490355dd74b4289e1964399

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