{ "info": { "author": "Anthony Martinet", "author_email": "anthony@alkivi.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "python-alkivi-google-client\n===========================\n\n|Build Status| |Requirements Status|\n\nGoogle python client used at Alkivi\n\nPackage\n-------\n\nExample\n\n.. code:: python\n\n from alkivi.google import client as google\n import logging\n\n scope = 'https://www.googleapis.com/auth/admin.directory.user.readonly'\n\n # Using default configuration\n google_client = google.Client(scopes=[scope])\n\n # Using specific endpoint\n google_client = google.Client(endpoint='account2')\n\n # Get directory client for Admin SDK api\n impersonate = 'toto@alkivi.fr'\n directory_client = google_client.get_directory_client(impersonate)\n\n # Get a gmail client for gmail API\n gmail_client = google_client.get_gmail_client()\n\nCredentials\n-----------\n\nCredentials are fetched from, in priority order: - ./google.conf (script\ndirectory) - $HOME/.google.conf - /etc/google.conf\n\nExample\n\n.. code:: ini\n\n [default]\n ; general configuration: default endpoint\n endpoint=account1\n\n [account1]\n ; configuration specific to 'account1' endpoint\n ; using can be \n ; - service: for Service Account\n ; - oauth: for OAuth authentification\n using=service\n\n ; for Service Account\n service_account_key=/path/to_your_service_key.json\n\n [account2]\n ; other account configuration\n using=oauth\n\n ; for OAuth\n client_id=your_client_id\n client_secret=your_client_secret\n refresh_token=your_refresh_token\n\nTests\n-----\n\nTesting is set up using `pytest `__ and coverage is\nhandled with the pytest-cov plugin.\n\nRun your tests with ``py.test`` in the root directory.\n\nCoverage is ran by default and is set in the ``pytest.ini`` file. To see\nan html output of coverage open ``htmlcov/index.html`` after running the\ntests.\n\nTODO\n\nTravis CI\n---------\n\nThere is a ``.travis.yml`` file that is set up to run your tests for\npython 2.7 and python 3.2, should you choose to use it.\n\nTODO\n\n.. |Build Status| image:: https://travis-ci.org/alkivi-sas/python-alkivi-google-client.svg?branch=master\n :target: https://travis-ci.org/alkivi-sas/python-alkivi-google-client\n.. |Requirements Status| image:: https://requires.io/github/alkivi-sas/python-alkivi-google-client/requirements.svg?branch=master\n :target: https://requires.io/github/alkivi-sas/python-alkivi-google-client/requirements/?branch=master\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/alkivi-sas/python-alkivi-google-client", "keywords": "alkivi google", "license": "LGPLv3", "maintainer": "", "maintainer_email": "", "name": "alkivi-google-client", "package_url": "https://pypi.org/project/alkivi-google-client/", "platform": "", "project_url": "https://pypi.org/project/alkivi-google-client/", "project_urls": { "Homepage": "https://github.com/alkivi-sas/python-alkivi-google-client" }, "release_url": "https://pypi.org/project/alkivi-google-client/1.0.5/", "requires_dist": [ "google-api-python-client", "alkivi-logger", "oauth2client" ], "requires_python": "", "summary": "Google python client used at Alkivi", "version": "1.0.5" }, "last_serial": 4477026, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "bfdb0bbd16405074e7ba96231dd2ee31", "sha256": "828a51fb1a01d5a0c1c3b84dec045f0bf200a44e3c7074a504795fdf8d821427" }, "downloads": -1, "filename": "alkivi_google_client-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "bfdb0bbd16405074e7ba96231dd2ee31", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6556, "upload_time": "2017-03-28T08:47:52", "url": "https://files.pythonhosted.org/packages/f3/4a/b61308c87f40792b23bd2ce75a48fd3a1d57b8a436589506f389aa401acb/alkivi_google_client-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5bd09840da79697723327093115afe53", "sha256": "2ec2ab69569cc4efb2ded86f1a0fa588e2123628e76d7cc98973ae3ac94793c0" }, "downloads": -1, "filename": "alkivi-google-client-1.0.1.tar.gz", "has_sig": false, "md5_digest": "5bd09840da79697723327093115afe53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5015, "upload_time": "2017-03-28T08:47:53", "url": "https://files.pythonhosted.org/packages/2d/23/ed3cf5157ec7bd099c626707c8e9f76be75250b681ae0b7137c8bef97c17/alkivi-google-client-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "6ace782eaf8c8cea39d02250c2ee31cb", "sha256": "88e03a2e0d66fb4d2e33d9440875b2fc44a6c510f509aa14ddcecea410cc41db" }, "downloads": -1, "filename": "alkivi_google_client-1.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6ace782eaf8c8cea39d02250c2ee31cb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7213, "upload_time": "2017-03-28T10:47:33", "url": "https://files.pythonhosted.org/packages/83/dc/ccb857816d51ee8f978319e4f4d8b2493ea88041a13425a67a1a704013ab/alkivi_google_client-1.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4eeff6a1b45e68e2c7faf29db3d2f8ae", "sha256": "f4745aea27a840e49386ec79fd2217cba7f6d9f9124be607023ab7f3282ad48f" }, "downloads": -1, "filename": "alkivi-google-client-1.0.2.tar.gz", "has_sig": false, "md5_digest": "4eeff6a1b45e68e2c7faf29db3d2f8ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5435, "upload_time": "2017-03-28T10:47:35", "url": "https://files.pythonhosted.org/packages/4f/26/2a77f1ac94e6b1fce0cd427514bf0b40f98a91bea0909b55bf16f2389721/alkivi-google-client-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "b63274cef3c2e4cf5232d91817d87340", "sha256": "a8fb4f4c8f4aaee3bae48017aa5510428ca0830f28e47655883962d0a546db5f" }, "downloads": -1, "filename": "alkivi_google_client-1.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b63274cef3c2e4cf5232d91817d87340", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7312, "upload_time": "2017-04-05T10:49:30", "url": "https://files.pythonhosted.org/packages/ab/2c/a9a5aaa630b0e329cfdfd08755cb0fdc3c104097bb777efe68ff14d44984/alkivi_google_client-1.0.3-py2.py3-none-any.whl" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "a1c8d1da944f23e4deb4dbaf5bebfc31", "sha256": "8823bc85e8968c8a903fc7bc211c6668e53ea3b0b94d7ef2d7ddf329bad94cd2" }, "downloads": -1, "filename": "alkivi_google_client-1.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a1c8d1da944f23e4deb4dbaf5bebfc31", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5410, "upload_time": "2018-11-12T10:52:29", "url": "https://files.pythonhosted.org/packages/41/a6/567f3177271800579fa50e5015c12e9e391b27502f721bca71ab61d9c73d/alkivi_google_client-1.0.4-py2.py3-none-any.whl" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "a6b570da085ab6fd9eed082a50c8e6c9", "sha256": "cda6309189444412860b45ac729036e778447c5e8a4b620b92d796a1ac87894e" }, "downloads": -1, "filename": "alkivi_google_client-1.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a6b570da085ab6fd9eed082a50c8e6c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5419, "upload_time": "2018-11-12T11:08:23", "url": "https://files.pythonhosted.org/packages/01/55/35505107141d814c77c676f4b9e3d54d7f909dee681e227c944658fe59a8/alkivi_google_client-1.0.5-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a6b570da085ab6fd9eed082a50c8e6c9", "sha256": "cda6309189444412860b45ac729036e778447c5e8a4b620b92d796a1ac87894e" }, "downloads": -1, "filename": "alkivi_google_client-1.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a6b570da085ab6fd9eed082a50c8e6c9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5419, "upload_time": "2018-11-12T11:08:23", "url": "https://files.pythonhosted.org/packages/01/55/35505107141d814c77c676f4b9e3d54d7f909dee681e227c944658fe59a8/alkivi_google_client-1.0.5-py2.py3-none-any.whl" } ] }