Skip to main content

Create OAuth2 key file from OAuth2 client id file

Simple wrapper for oauth2client.tools module.

Build status Latest PyPI version Download format License

Installation

PIP

You can install the latest stable package running this command:

$ pip install google_oauth2_tool

Also you can install the development version running this command:

$ pip install git+http://github.com/dlancer/google_oauth2_tool.git@dev

Usage

Before you start you should:

  1. Create Google OAuth2 client id key in the Google Developers console.

  2. Create file with required Google API scopes.

From command line:

$ oauth2_tool --help

$ oauth2_tool --source=client_id.json --scope=scopes.txt --destination=oauth2_key.json [--strip=true]

Release files for google-oauth2-tool 0.0.3

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-oauth2-tool 0.0.3
File Size Uploaded
google-oauth2-tool-0.0.3.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for google-oauth2-tool 0.0.3
File Interpreter ABI Platform
google_oauth2_tool-0.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 14.5 kB

Release files / google-oauth2-tool-0.0.3.tar.gz

Download URL google-oauth2-tool-0.0.3.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b20cb27825f569a0f6bf267cbd3cd7e5224640003fd0c3d4aa0a7d48bfcbe791
BLAKE2b-256 checksum
How to use checksums
3f8dee42602edb49872ced3a50b55fc649d74ab1661ade923b677c101c63bb31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release files / google_oauth2_tool-0.0.3-py2.py3-none-any.whl

Download URL google_oauth2_tool-0.0.3-py2.py3-none-any.whl
Size 4.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
05d813d55d7a8bc0ab0da11ad3a634760f35cfaad4dd6d92c5f9926cbb1239ee
BLAKE2b-256 checksum
How to use checksums
956605d010ccc419aa63cb69023476ec99a0ed19848cecd6c839c375f9255fd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.1

2 release files

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