This release is a pre-release and may not be stable for production use.
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 + 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa9f730a4c70c72eb74edb85bdb02230c3c57e6cf71ebf492af6fd04b804940d
|
|
| MD5 |
7e59b7db94d737f9c542099fb48181af
|
|
| BLAKE2b-256 |
cb76f9df617ab4c6172b666afe4f34286d01763cbb560a88956a1daabff6a7da
|
Provenance
The following attestation bundles were made for earthaccess_auth-0.1.0b2.tar.gz:
Publisher:
publish.yml on earthaccess-dev/earthaccess-auth
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
earthaccess_auth-0.1.0b2.tar.gz -
Subject digest:
aa9f730a4c70c72eb74edb85bdb02230c3c57e6cf71ebf492af6fd04b804940d - Sigstore transparency entry: 2512159735
- Sigstore integration time:
-
Permalink:
earthaccess-dev/earthaccess-auth@cea00ccb6787e86e2d99db08feee487f4808c146 -
Branch / Tag:
refs/tags/v0.1.0b2 - Owner: https://github.com/earthaccess-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cea00ccb6787e86e2d99db08feee487f4808c146 -
Trigger Event:
release
-
Statement type:
File details
Details for the file earthaccess_auth-0.1.0b2-py3-none-any.whl.
File metadata
- Download URL: earthaccess_auth-0.1.0b2-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cee07a4b01c0d41000851dc38a591770e06443eb82a8a3d5c5c358aa747b6a3
|
|
| MD5 |
d602e290c6ef1e2140399108d3db3818
|
|
| BLAKE2b-256 |
acc0bbcd563cd7eb6239df4583afaa75550d4f386e5893bb77a1c85183258ef2
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
earthaccess_auth-0.1.0b2-py3-none-any.whl -
Subject digest:
0cee07a4b01c0d41000851dc38a591770e06443eb82a8a3d5c5c358aa747b6a3 - Sigstore transparency entry: 2512159798
- Sigstore integration time:
-
Permalink:
earthaccess-dev/earthaccess-auth@cea00ccb6787e86e2d99db08feee487f4808c146 -
Branch / Tag:
refs/tags/v0.1.0b2 - Owner: https://github.com/earthaccess-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@cea00ccb6787e86e2d99db08feee487f4808c146 -
Trigger Event:
release
-
Statement type: