earthaccess-auth
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)
| File | Size | Uploaded | |
|---|---|---|---|
| earthaccess_auth-0.3.1.tar.gz | 165.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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