Skip to main content

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

Metadata

Release files for earthaccess-auth 0.3.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 earthaccess-auth 0.3.0
File Size Uploaded
earthaccess_auth-0.3.0.tar.gz 165.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for earthaccess-auth 0.3.0
File Interpreter ABI Platform
earthaccess_auth-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 187.8 kB

Release files / earthaccess_auth-0.3.0.tar.gz

Download URL earthaccess_auth-0.3.0.tar.gz
Size 165.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0a0abb1e5b3cea1be3d55559c99b439bd568d5e28f9fd3e32ff75c816486bc91
BLAKE2b-256 checksum
How to use checksums
7b75e12d0abede478a86e9fc03c4dac8be6fc4819d43f7177ddd01bcc288c34d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.

Transparency log

Release files / earthaccess_auth-0.3.0-py3-none-any.whl

Download URL earthaccess_auth-0.3.0-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
428f6c5609da981b2a78eff49f16e3f9d5e965866e52c0c23835c16491d6e2ce
BLAKE2b-256 checksum
How to use checksums
71452d7a270febdcb542f2135f4bca07eb19c9f848eb391e1e9813869a30696a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 26, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

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