pydata-google-auth


Namepydata-google-auth JSON
Version 1.8.0 PyPI version JSON
download
home_pagehttps://github.com/pydata/pydata-google-auth
SummaryPyData helpers for authenticating to Google APIs
upload_time2023-05-09 16:38:06
maintainer
docs_urlNone
authorThe PyData Development Team
requires_python
licenseBSD License
keywords data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "data",
    "author": "The PyData Development Team",
    "author_email": "pydata@googlegroups.com",
    "download_url": "https://files.pythonhosted.org/packages/61/de/fe6c368ab8b1ff523c58615c8469494d116196f824b0f977ec018882e8ec/pydata-google-auth-1.8.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.8.0",
    "project_urls": {
        "Homepage": "https://github.com/pydata/pydata-google-auth"
    },
    "split_keywords": [
        "data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cec9a4cfa1ebf3ce33c8fee0080f2e886fe9f8ca8f4dc5ea1b75b32cbf8d99a9",
                "md5": "00a9617da6120b85719fb198810513e9",
                "sha256": "8a093294bbae6de980a83794345b634b163f7374fa9d84c7b0059ea4b2001700"
            },
            "downloads": -1,
            "filename": "pydata_google_auth-1.8.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "00a9617da6120b85719fb198810513e9",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 14914,
            "upload_time": "2023-05-09T16:38:03",
            "upload_time_iso_8601": "2023-05-09T16:38:03.275139Z",
            "url": "https://files.pythonhosted.org/packages/ce/c9/a4cfa1ebf3ce33c8fee0080f2e886fe9f8ca8f4dc5ea1b75b32cbf8d99a9/pydata_google_auth-1.8.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "61defe6c368ab8b1ff523c58615c8469494d116196f824b0f977ec018882e8ec",
                "md5": "8e272d2de8b65ce3d6429de4fc5ca800",
                "sha256": "8790aca74cfa6c18da01a53b4b8cb2467ef519d1e891f855a9af6885dfa8c626"
            },
            "downloads": -1,
            "filename": "pydata-google-auth-1.8.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8e272d2de8b65ce3d6429de4fc5ca800",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 29275,
            "upload_time": "2023-05-09T16:38:06",
            "upload_time_iso_8601": "2023-05-09T16:38:06.196222Z",
            "url": "https://files.pythonhosted.org/packages/61/de/fe6c368ab8b1ff523c58615c8469494d116196f824b0f977ec018882e8ec/pydata-google-auth-1.8.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-09 16:38:06",
    "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": [],
    "lcname": "pydata-google-auth"
}
        
Elapsed time: 0.06537s