Credentials#
easysnowdata.auth#
Credentials: one Provider per credentialed service, used uniformly.
import easysnowdata as esd
esd.auth.status() # table: provider, configured?, how, needed by
esd.auth.login() # interactive, only for what is missing
esd.auth.login("earthengine", project="my-gcp-project")
Loaders call auth.ensure(*product.requires) before any network request and
wrap reads in auth.env(*product.requires). Missing credentials raise
CredentialError (with .provider) before any data is requested.
Raised when a data provider's credentials are missing or rejected. |
|
Result of a network-free credential check. |
|
One credentialed service. |
|
Return the provider called name ( |
|
Network-free credential check for one provider. |
|
Return a table of providers: configured?, how, needed by which products. |
|
Interactively set up credentials. |
|
Initialise the named providers once; raise |
|
Enter the named providers' read environments (GDAL options, headers…). |
|
Forget every provider's cached initialisation. |
|
The one-line credential summary shown on import (network-free). |