pydata-google-auth
==================
|Build Status| |Version Status| |Coverage Status|
**pydata-google-auth** is a package providing helpers for authenticating to Google APIs.
Installation
------------
Install latest release version via conda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: shell
$ conda install pydata-google-auth --channel conda-forge
Install latest release version via pip
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: shell
$ pip install pydata-google-auth
Install latest development version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: shell
$ pip install git+https://github.com/pydata/pydata-google-auth.git
Usage
-----
Use the ``pydata_google_auth.get_user_credentials()`` function to
authenticate to Google APIs with user credentials.
.. code-block:: python
import pydata_google_auth
credentials = pydata_google_auth.get_user_credentials(
['https://www.googleapis.com/auth/cloud-platform'],
)
# Use the credentials in other libraries, such as the Google BigQuery
# client library.
from google.cloud import bigquery
client = bigquery.Client(project='YOUR-PROJECT-ID', credentials=credentials)
See the `pydata-google-auth documentation <https://pydata-google-auth.readthedocs.io/>`_ for more details.
.. |Build Status| image:: https://circleci.com/gh/pydata/pydata-google-auth/tree/master.svg?style=svg
:target: https://circleci.com/gh/pydata/pydata-google-auth/tree/master
.. |Version Status| image:: https://img.shields.io/pypi/v/pydata-google-auth.svg
:target: https://pypi.python.org/pypi/pydata-google-auth/
.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/pydata/pydata-google-auth.svg
:target: https://codecov.io/gh/pydata/pydata-google-auth/
Raw data
{
"_id": null,
"home_page": "https://github.com/pydata/pydata-google-auth",
"name": "pydata-google-auth",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "data",
"author": "The PyData Development Team",
"author_email": "pydata@googlegroups.com",
"download_url": "https://files.pythonhosted.org/packages/3f/0d/455cb39f0d5a914412b57c55c6b16977c61a5ac74b615eea4fb0dc54e329/pydata-google-auth-1.9.1.tar.gz",
"platform": null,
"description": "pydata-google-auth\n==================\n\n|Build Status| |Version Status| |Coverage Status|\n\n**pydata-google-auth** is a package providing helpers for authenticating to Google APIs.\n\n\nInstallation\n------------\n\n\nInstall latest release version via conda\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code-block:: shell\n\n $ conda install pydata-google-auth --channel conda-forge\n\nInstall latest release version via pip\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code-block:: shell\n\n $ pip install pydata-google-auth\n\nInstall latest development version\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n.. code-block:: shell\n\n $ pip install git+https://github.com/pydata/pydata-google-auth.git\n\n\nUsage\n-----\n\nUse the ``pydata_google_auth.get_user_credentials()`` function to\nauthenticate to Google APIs with user credentials.\n\n.. code-block:: python\n\n import pydata_google_auth\n credentials = pydata_google_auth.get_user_credentials(\n ['https://www.googleapis.com/auth/cloud-platform'],\n )\n\n # Use the credentials in other libraries, such as the Google BigQuery\n # client library.\n from google.cloud import bigquery\n client = bigquery.Client(project='YOUR-PROJECT-ID', credentials=credentials)\n\nSee the `pydata-google-auth documentation <https://pydata-google-auth.readthedocs.io/>`_ for more details.\n\n.. |Build Status| image:: https://circleci.com/gh/pydata/pydata-google-auth/tree/master.svg?style=svg\n :target: https://circleci.com/gh/pydata/pydata-google-auth/tree/master\n.. |Version Status| image:: https://img.shields.io/pypi/v/pydata-google-auth.svg\n :target: https://pypi.python.org/pypi/pydata-google-auth/\n.. |Coverage Status| image:: https://img.shields.io/codecov/c/github/pydata/pydata-google-auth.svg\n :target: https://codecov.io/gh/pydata/pydata-google-auth/\n",
"bugtrack_url": null,
"license": "BSD License",
"summary": "PyData helpers for authenticating to Google APIs",
"version": "1.9.1",
"project_urls": {
"Homepage": "https://github.com/pydata/pydata-google-auth"
},
"split_keywords": [
"data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cacbcdeaba62aa3c48f0d8834afb82b4a21463cd83df34fe01f9daa89a08ec6c",
"md5": "836ea37fddd14b0e2f65bd38754e8646",
"sha256": "75ffce5d106e34b717b31844c1639ea505b7d9550dc23b96fb6c20d086b53fa3"
},
"downloads": -1,
"filename": "pydata_google_auth-1.9.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "836ea37fddd14b0e2f65bd38754e8646",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.9",
"size": 15552,
"upload_time": "2025-01-23T21:04:38",
"upload_time_iso_8601": "2025-01-23T21:04:38.970118Z",
"url": "https://files.pythonhosted.org/packages/ca/cb/cdeaba62aa3c48f0d8834afb82b4a21463cd83df34fe01f9daa89a08ec6c/pydata_google_auth-1.9.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3f0d455cb39f0d5a914412b57c55c6b16977c61a5ac74b615eea4fb0dc54e329",
"md5": "942d756dccd4d0f02d66c298f2b1d976",
"sha256": "0a51ce41c601ca0bc69b8795bf58bedff74b4a6a007c9106c7cbcdec00eaced2"
},
"downloads": -1,
"filename": "pydata-google-auth-1.9.1.tar.gz",
"has_sig": false,
"md5_digest": "942d756dccd4d0f02d66c298f2b1d976",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 29814,
"upload_time": "2025-01-23T21:04:40",
"upload_time_iso_8601": "2025-01-23T21:04:40.875134Z",
"url": "https://files.pythonhosted.org/packages/3f/0d/455cb39f0d5a914412b57c55c6b16977c61a5ac74b615eea4fb0dc54e329/pydata-google-auth-1.9.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-23 21:04:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pydata",
"github_project": "pydata-google-auth",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"circle": true,
"requirements": [
{
"name": "google-auth",
"specs": []
},
{
"name": "google-auth-oauthlib",
"specs": []
}
],
"lcname": "pydata-google-auth"
}