Skip to main content

stac-nb

STAC in Jupyter Notebooks

Documentation Status PyPI Status https://coveralls.io/repos/github/darrenwiens/stac-nb/badge.svg?branch=main Build Status

Install

pip install stac-nb

Usage

To use stac-nb in a project, start Jupyter Lab (jupyter lab), create a new notebook, then:

from stac_nb import STAC_Query_UI

Display the UI for a STAC API:

ui = STAC_Query_UI("https://earth-search.aws.element84.com/v0")
ui.display()

After you have run the query, retrieve the results from ui.query_results:

ui.query_results

The statement above will render a visual list component, including an interactive map and a multitude of other richly stylized elements.

The list of pystac.Items returned from the query may be used further in Python, like:

list(ui.query_results)

History

0.1.0 (2021-10-02)

  • First release on PyPI.

0.2.0 (2021-10-04)

  • Added: optional filter by ids

  • Added: optional print STAC query

  • Updated: docs

0.3.0 (2021-10-06)

  • Breaking Change: ui.query_results is now a list of pystac.item.Item

  • Added: automate builds and tests

0.4.0 (2021-10-08)

  • Breaking Change: ui.query_results is now a VisualList

Metadata

Release files for stac-nb 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stac-nb 0.4.0
File Size Uploaded Provenance Actions
stac_nb-0.4.0.tar.gz 19.0 kB Without provenance Details for stac_nb-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stac-nb 0.4.0
File Interpreter ABI Platform Actions
stac_nb-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for stac_nb-0.4.0-py2.py3-none-any.whl

Total release size: 23.9 kB

Release files / stac_nb-0.4.0.tar.gz

Download URL stac_nb-0.4.0.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f009220e8b041bf6df4cb9cc09cf3c10c9ef578a2872f3dbec03572f211b646a
BLAKE2b-256 checksum
How to use checksums
624211a39e5e4b1aea3a72766945654b946fbf22cf082835fed987c94be8cc62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.7.1 requests/2.26.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / stac_nb-0.4.0-py2.py3-none-any.whl

Download URL stac_nb-0.4.0-py2.py3-none-any.whl
Size 4.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
116e203be6466d9d8ddd0261dc7ee17c10d4a4f2f78aa6a14f2b4c7c3e89fc04
BLAKE2b-256 checksum
How to use checksums
5a6ebf98b808941d58bbdc447aea6c768be8cfa29f9b9d5545def5771db0db65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.14.0 pkginfo/1.7.1 requests/2.26.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for stac-nb 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page