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.2.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.2.0
File Size Uploaded
earthaccess_auth-0.2.0.tar.gz 162.1 kB Details

Built distribution (wheel)

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

Total release size: 183.8 kB

Release files / earthaccess_auth-0.2.0.tar.gz

Download URL earthaccess_auth-0.2.0.tar.gz
Size 162.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c09a389d42cff335ca0441974058d5ebbea435418d12ffbadef5c40de0ad2f9c
BLAKE2b-256 checksum
How to use checksums
afcbb59032a4a4f69fa204ccbef79581ea9f72ad1df381769963e7e4ea81f7e2
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 25, 2026.

Transparency log

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

Download URL earthaccess_auth-0.2.0-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
def389d5990c4ff9ddadc15b72789f2a987b50696954fc0bc950d3bfadc89b4a
BLAKE2b-256 checksum
How to use checksums
b54c677c0ed9420ff1f2da13edfe99d62db77eabf5e53a08abf0597ea34d0190
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 25, 2026.

Transparency log

Release history Release notifications | RSS feed

0.3.1

2 release files

0.3.0

2 release files

This release

0.2.0 This release

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