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

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.1
File Size Uploaded
earthaccess_auth-0.3.1.tar.gz 165.8 kB Details

Built distribution (wheel)

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

Total release size: 188.3 kB

Release files / earthaccess_auth-0.3.1.tar.gz

Download URL earthaccess_auth-0.3.1.tar.gz
Size 165.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5e4ce029063a6ba2820063cfc6f991979e04a508e29503a26086c3ebd2f9860a
BLAKE2b-256 checksum
How to use checksums
3859885ebca39738c2f7f79ed7b61dc9e9778e0b46ee7bb527950ba8813cbb6e
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 31, 2026.

Transparency log

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

Download URL earthaccess_auth-0.3.1-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
468ecef3704611b2194ddb611aaa18abd4d50993d424981c135efad1251c2e74
BLAKE2b-256 checksum
How to use checksums
3c4945436a1c18b44f0f07dcc1250dc6b450b182d3281e767a76b71fa54906d2
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 31, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

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