Skip to main content

google-auth-core

Single source of truth for the ~/.google credential store, shared by the Google CLIs (gmail-cli, google-calendar-cli) and the Google Workspace MCP servers (gmail-mcp, gcal-mcp, gsheets-mcp, gdocs-mcp, gdrive-mcp).

What it provides

  • A unified per-account token store under ~/.google/tokens/google_<account>.json holding all scopes (Gmail + Calendar + Sheets + Docs + Drive), so one consent covers every service for both CLIs and MCP servers.
  • Account management: default account, aliases (work, personal), env and directory overrides.
  • get_service(api, version, account): an authorized googleapiclient service, cached per (account, api, version) for persistent, multi-account-safe use.
  • A consistent error taxonomy (AuthError, NotFoundError, RateLimitError, InvalidArgumentError, UpstreamError) and map_http_error.

CLI

google-auth login [account]        # one-time OAuth, writes a unified token
google-auth list                   # accounts, default, aliases
google-auth alias work you@work.com
google-auth status                 # token health per account
google-auth default you@work.com
google-auth logout you@work.com

Place your OAuth client (Desktop app) at ~/.google/credentials.json first.

Metadata

Release files for google-auth-core 0.2.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 google-auth-core 0.2.1
File Size Uploaded Provenance Actions
google_auth_core-0.2.1.tar.gz 23.1 kB Without provenance Details for google_auth_core-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for google-auth-core 0.2.1
File Interpreter ABI Platform Actions
google_auth_core-0.2.1-py3-none-any.whl Python 3 none any Details for google_auth_core-0.2.1-py3-none-any.whl

Total release size: 45.1 kB

Release files / google_auth_core-0.2.1.tar.gz

Download URL google_auth_core-0.2.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f70fba49eb889d15358f39852be347c931e367a9f63f35f810bc7989324104b8
BLAKE2b-256 checksum
How to use checksums
c1c0c52d2d618c0941b0072b1fab34e6502f57997331c40542eb3be069b933bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / google_auth_core-0.2.1-py3-none-any.whl

Download URL google_auth_core-0.2.1-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5eaeb284d2b72b86640ee4ce568b7d8b4f189f21bfd70eeade5903b52d44a387
BLAKE2b-256 checksum
How to use checksums
8b6ec6dd4aa3412717f1d74b8c649977c360724511d2c6c83c1daf44a05ce60e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for google-auth-core 0.2.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

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