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.2.tar.gz (44.3 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.2-py3-none-any.whl (55.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: up42-py-0.22.2.tar.gz
  • Upload date:
  • Size: 44.3 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.2.tar.gz
Algorithm Hash digest
SHA256 58f724e55dafe336d7b680b9448eb6f4221e3a6d213c046421a77fe93a3cce21
MD5 1fe3893586fddc13fdc90d52bcc0df9b
BLAKE2b-256 51af59083c9c0e8641a202db963cfcdcd125380579ac4ce9c5407991857c4ba3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: up42_py-0.22.2-py3-none-any.whl
  • Upload date:
  • Size: 55.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a945f6fee5f72e4679dbbcce124a5502fcfb8f10ec50566174d0d9c192d9d42c
MD5 08bb76c08ded4e4f3de8528d31eacd45
BLAKE2b-256 1df093986ef3e269e4b150d78fd40ffe0b2303c879ad501426505928839595a5

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