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.28.0.tar.gz (58.2 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.28.0-py3-none-any.whl (76.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: up42-py-0.28.0.tar.gz
  • Upload date:
  • Size: 58.2 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.28.0.tar.gz
Algorithm Hash digest
SHA256 6ac1bc2fae35e96c231a4bfa5f5812ebda0cde5cd966befac955b407db3e64d7
MD5 41f231fa4f49eca9ed2aafad3ca65b13
BLAKE2b-256 8e774780fdc5fa960920c4242c6f770778dadd5216fa459fa35ffb7dc48b8262

See more details on using hashes here.

File details

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

File metadata

  • Download URL: up42_py-0.28.0-py3-none-any.whl
  • Upload date:
  • Size: 76.5 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.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15c35f8589a13c18f5302e9d3e0184eba15b3f1a686edecdc4a0082857b44c76
MD5 dfe6b81da73173f69ca9166d66e624a0
BLAKE2b-256 7fac3c2c429579516034ea68be99f4ddf3186055ac256513a8bf806b8a3b004b

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