|
AQIT 0.1.0
|
Go to the source code of this file.
Namespaces | |
| namespace | aquin |
| namespace | aquin.compute |
| namespace | aquin.compute.hf_auth |
Functions | |
| dict[str, str] | aquin.compute.hf_auth._read_json (Path path) |
| str | aquin.compute.hf_auth._local_hf_token () |
| str | aquin.compute.hf_auth._cached_hf_token () |
| str | aquin.compute.hf_auth._aquin_api_key () |
| str | aquin.compute.hf_auth._aquin_base_url () |
| bool | aquin.compute.hf_auth._aquin_logged_in () |
| None | aquin.compute.hf_auth._apply_hf_token (str token) |
| str | aquin.compute.hf_auth._fetch_proxy_token () |
| str | aquin.compute.hf_auth.resolve_hf_token () |
| dict[str, Any] | aquin.compute.hf_auth.hf_hub_kwargs () |
| bool | aquin.compute.hf_auth.ensure_hf_login (*, bool quiet=False) |
| str | aquin.compute.hf_auth._proxy_unavailable_hint () |
| None | aquin.compute.hf_auth.require_hf_hub_auth (*, str hf_repo) |
| str | aquin.compute.hf_auth.gated_repo_hint (str hf_repo) |
Variables | |
| str | aquin.compute.hf_auth._CONFIG_PATH = Path.home() / ".aquin" / "config.json" |
| str | aquin.compute.hf_auth._ENGINE_STATE = Path.home() / ".aquin" / "engine.json" |
| str | aquin.compute.hf_auth._HF_CACHE_TOKEN = Path.home() / ".cache" / "huggingface" / "token" |
| str | aquin.compute.hf_auth._proxy_token = None |
| str | aquin.compute.hf_auth._last_proxy_error = None |