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/96/92/51140850fa44d33f41a393df4767d3f7bd63169e1edc2358397f2a5b57bb/pydata-google-auth-1.9.0.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.0",
"project_urls": {
"Homepage": "https://github.com/pydata/pydata-google-auth"
},
"split_keywords": [
"data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "073491cf24101f7c456c0d9be43b975396772481c26e4b218c78f71769ee0555",
"md5": "b852248684c9a9d044431d5ee7007652",
"sha256": "e17a44ce8de5b48883667357c03595b85d80938bf1fb714d65bfac9a9f9c8add"
},
"downloads": -1,
"filename": "pydata_google_auth-1.9.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b852248684c9a9d044431d5ee7007652",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.9",
"size": 15552,
"upload_time": "2024-11-21T20:24:05",
"upload_time_iso_8601": "2024-11-21T20:24:05.711543Z",
"url": "https://files.pythonhosted.org/packages/07/34/91cf24101f7c456c0d9be43b975396772481c26e4b218c78f71769ee0555/pydata_google_auth-1.9.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "969251140850fa44d33f41a393df4767d3f7bd63169e1edc2358397f2a5b57bb",
"md5": "2f33c13c3ab535da877816e804821d4d",
"sha256": "2f546e88f007dfdb050087556eb46d6008e351386a7b368096797fae5df374f2"
},
"downloads": -1,
"filename": "pydata-google-auth-1.9.0.tar.gz",
"has_sig": false,
"md5_digest": "2f33c13c3ab535da877816e804821d4d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 29791,
"upload_time": "2024-11-21T20:24:07",
"upload_time_iso_8601": "2024-11-21T20:24:07.326631Z",
"url": "https://files.pythonhosted.org/packages/96/92/51140850fa44d33f41a393df4767d3f7bd63169e1edc2358397f2a5b57bb/pydata-google-auth-1.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-21 20:24:07",
"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"
}