$npx skillfedfor your agent

google-oauth

OAuth2 for Google APIs

SkipPyPI InternetReleased Mar 2016251.0K downloads / moMIT LicenseSource build

Decision gist · record as of 2026-08-14

sdist only — builds from source
v1.0.1 · released 2016-03-28

No. The package is abandoned (last release 2016-03-28, no commits since 2016-08-06) and will not receive security updates or compatibility fixes. High install friction from pyOpenSSL dependencies and lack of support for modern Python versions make it a poor choice for new projects. Use the official google-auth library instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires pyOpenSSL build dependencies; on Debian-based systems install libssl-dev.
  • Package supports Python 2.7 or 3.3+.
  • High install friction due to pyOpenSSL build dependency requiring system-level OpenSSL headers (libssl-dev on Debian).

License · maintenance · safety

MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it legally safe to adopt if you accept the maintenance risk.

last release 2016-03-28 (3791 days) · last repo commit 2016-08-06 · 4 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 250,965 downloads/mo, #8,607 on PyPI

Verify before relying

pip install google-oauth

import json
from google_oauth import ServiceAccount

key = json.load(open('/path/to/credentials.json'))
auth = ServiceAccount.from_json(key=key, scopes=['https://www.googleapis.com/auth/plus.login'])
token = auth.access_token
  • Whether the package works with current Google OAuth2 API endpoints and security standards
  • Compatibility with modern Python versions beyond 3.3+
  • Whether access tokens are properly refreshed or if manual refresh is required
Same gist for agents: .md · .json

What it is and what it does

google-oauth is a Python library that handles OAuth2 authentication for Google service accounts, allowing server-to-server communication with Google APIs. It supports creating service account objects from JSON or PKCS12 credentials and provides methods to obtain and use OAuth2 access tokens. The library wraps the requests library to automatically attach proper Authorization headers to API calls.

The package implements only the service account (two-legged) OAuth2 flow, not the three-legged flow for web applications. It caches access tokens to avoid unnecessary token requests and provides a convenient shortcut method for making authenticated API calls. However, the package has been abandoned since its initial release in March 2016 and receives no maintenance, meaning it may not work with current Google API changes or modern Python security practices.

Use it for

  • Authenticate a backend service to call Google APIs (e.g., Google+ search, Gmail) without user interaction
  • Automate Google API calls from a scheduled job or daemon using service account credentials
  • Build a microservice that needs to access Google APIs with a fixed set of scopes and permissions
  • Implement JWT-based authentication for Google service accounts in legacy Python 2/3 codebases

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (last release 2016-03-28, no commits since 2016-08-06) and will not receive security updates or compatibility fixes. High install friction from pyOpenSSL dependencies and lack of support for modern Python versions make it a poor choice for new projects. Use the official google-auth library instead.

Install

google-oauth on PyPI

Before you install

High install friction due to pyOpenSSL build dependency requiring system-level OpenSSL headers (libssl-dev on Debian). Package is abandoned as of 2016-08-06 with no maintenance since initial release.

Requires pyOpenSSL build dependencies; on Debian-based systems install libssl-dev. Package supports Python 2.7 or 3.3+.

License in practice

MIT License permits commercial and private use with minimal restrictions, making it legally safe to adopt if you accept the maintenance risk.

Quickstart

pip install google-oauth

import json
from google_oauth import ServiceAccount

key = json.load(open('/path/to/credentials.json'))
auth = ServiceAccount.from_json(key=key, scopes=['https://www.googleapis.com/auth/plus.login'])
token = auth.access_token

Verify before relying

  • Whether the package works with current Google OAuth2 API endpoints and security standards
  • Compatibility with modern Python versions beyond 3.3+
  • Whether access tokens are properly refreshed or if manual refresh is required

Package facts

LicenseMIT License permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 3,791 days since the last release
Last repo commit
First released
Downloads250,965 / month, #8,607 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Internet

Tags

Capabilities
google oauth2 service accountgoogle api authenticationserver to server oauthgoogle service account jwtgoogle api access tokenoauth2 google credentialsgoogle service authentication
Topics
oauth2google-apisabandoned
PyPI keywords
googleoauthoauth2apiservicejwt

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “google oauth2 service account”

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also gcs-oauth2-boto-plugin · pydata-google-auth · google-auth-oauthlib · google-oauth2-tool · google-auth · oauth2client · oauth2-client · oauth2 · cloudauthz · django-google-sso