--- id: google-oauth2-tool version: "0.0.3" license: BSD license_treatment: permissive maintenance: abandoned --- # google-oauth2-tool — Create OAuth2 key file from OAuth2 client id file License: permissive · Maintenance: abandoned · Downloads: 286.6K/mo ## What it is and what it does google-oauth2-tool is a lightweight command-line wrapper around the oauth2client.tools module that automates the conversion of a Google OAuth2 client ID file into an OAuth2 key file. It takes a client ID JSON file and a scopes file as input and generates the corresponding OAuth2 credentials file, optionally stripping unnecessary fields. The tool is designed for developers setting up Google API authentication locally. The package depends on 11 runtime libraries including google-auth, oauth2client, httplib2, and cryptographic utilities (rsa, pyasn1). It was last updated in May 2019 and is no longer maintained, so it may not reflect current Google API authentication practices or security standards. Use it for: - Automating OAuth2 credential generation during local development setup for Google API integrations. - Converting Google OAuth2 client credentials into a format compatible with oauth2client-based applications. - Batch processing multiple client ID files to generate corresponding OAuth2 key files with specified scopes. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Generates an OAuth2 key file from a Google OAuth2 client ID file, wrapping the oauth2client.tools module for command-line use. No. The package is abandoned (last commit April 2021, no updates since May 2019) and oauth2client itself is deprecated by Google in favor of google-auth. Unless you are maintaining legacy code that specifically depends on oauth2client, you should use google-auth directly or Google's current authentication libraries. The risk of incompatibility with modern Google API versions is high. ## Install pip install google-oauth2-tool uv add google-oauth2-tool poetry add google-oauth2-tool ## Installing google-oauth2-tool Before you install: Low install friction with a pure-Python wheel, but the package is abandoned as of 2021 with no maintenance since its last release in May 2019. The 11 runtime dependencies include google-auth, oauth2client, and cryptographic libraries, which may themselves require updates for current Google API compatibility. License in practice: BSD license is permissive and poses no restrictions on use or redistribution in most contexts. Quickstart: pip install google-oauth2-tool oauth2_tool --source=client_id.json --scope=scopes.txt --destination=oauth2_key.json Requires a Google OAuth2 client ID JSON file and a scopes file; Google API credentials must be set up in the Google Developers console beforehand. Verify before relying: - Whether oauth2client and google-auth dependencies remain compatible with current Google API versions despite the package's abandonment. - Whether the tool works with modern Google OAuth2 flows or if Google's authentication requirements have changed since 2019. ## Package facts - License: BSD (permissive) - Python support: supports_current - Install friction: low - Maintenance: abandoned - Downloads: 286.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags google oauth2 key generation, oauth2 client credentials converter, google api authentication setup, oauth2 key file from client id, google oauth2 command line tool, oauth2, google-api, credentials [View on SkillFed](https://skillfed.io/packages/google-oauth2-tool) · [View on PyPI](https://pypi.org/project/google-oauth2-tool/)