Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

earthaccess-auth

Tests Documentation PyPI OpenSSF Scorecard

A minimal-dependency distribution containing only the NASA Earthdata Login (EDL) authentication core of earthaccess: login strategies, token lifecycle, per-DAAC S3 credential exchange, and the redirect-safe requests session. Integrations with fsspec and obstore are optional extras, so auth-only consumers install none of the search/download stack.

Motivation

Downstream services and libraries commonly need EDL auth and nothing else from earthaccess. One concrete example from the titiler ecosystem is titiler-multidim, which needs a bearer token string to inject into icechunk virtual chunk container headers. It deploys as an AWS Lambda zip, where earthaccess's transitive dependencies (s3fs, fsspec, python-cmr, pqdm, tenacity, ...) count against the 250 MB unpacked limit for the sake of ~500 lines of auth logic.

Install matrix

pip install earthaccess-auth            # requests + tinynetrc + typing_extensions only
pip install earthaccess-auth[fsspec]    # + fsspec/aiohttp HTTPS session
pip install earthaccess-auth[obstore]   # + obstore credential provider bridge
pip install earthaccess                 # full stack (does not yet depend on this package)

Example: the titiler-multidim case

import earthaccess_auth

auth = earthaccess_auth.login(strategy="environment")
token = auth.token["access_token"]  # inject into icechunk http_store headers

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

earthaccess_auth-0.1.0b2.tar.gz (144.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

earthaccess_auth-0.1.0b2-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file earthaccess_auth-0.1.0b2.tar.gz.

File metadata

  • Download URL: earthaccess_auth-0.1.0b2.tar.gz
  • Upload date:
  • Size: 144.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for earthaccess_auth-0.1.0b2.tar.gz
Algorithm Hash digest
SHA256 aa9f730a4c70c72eb74edb85bdb02230c3c57e6cf71ebf492af6fd04b804940d
MD5 7e59b7db94d737f9c542099fb48181af
BLAKE2b-256 cb76f9df617ab4c6172b666afe4f34286d01763cbb560a88956a1daabff6a7da

See more details on using hashes here.

Provenance

The following attestation bundles were made for earthaccess_auth-0.1.0b2.tar.gz:

Publisher: publish.yml on earthaccess-dev/earthaccess-auth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file earthaccess_auth-0.1.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for earthaccess_auth-0.1.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 0cee07a4b01c0d41000851dc38a591770e06443eb82a8a3d5c5c358aa747b6a3
MD5 d602e290c6ef1e2140399108d3db3818
BLAKE2b-256 acc0bbcd563cd7eb6239df4583afaa75550d4f386e5893bb77a1c85183258ef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for earthaccess_auth-0.1.0b2-py3-none-any.whl:

Publisher: publish.yml on earthaccess-dev/earthaccess-auth

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page