{ "info": { "author": "Marcos Alexandre Vidolin de Lima", "author_email": "marcosvidolin@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# gsuite\n\n[![Build Status](https://travis-ci.org/marcosvidolin/gsuitefy.svg?branch=master)](https://travis-ci.org/marcosvidolin/gsuitefy) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/ff1fcd33e0c0461f8aac31250b64b9ac)](https://www.codacy.com/manual/marcosvidolin/gsuitefy?utm_source=github.com&utm_medium=referral&utm_content=marcosvidolin/gsuitefy&utm_campaign=Badge_Grade)\n\nGsuite Admin client to manage users and groups\n\n## How to use\n\nInstall:\n\n```shell\npip install gsuitefy\n```\n\nImport:\n\n```python\nfrom gsuitefy.gsuite import GSuiteAdmin\n```\n\nSample:\n```python\n# User with gsuite manager rights\nMANAGER_USER_MAIL = 'group-manager@bar.com'\n# Email of the Service Account\nSERVICE_ACCOUNT_EMAIL = 'sa@bar.iam.gserviceaccount.com'\n# Path to the service account JSON file\nSERVICE_ACCOUNT_FILE_PATH = os.path.join(os.path.dirname(__file__), 'service-account.json')\n\ngsuite = GSuiteAdmin(group_management_email=MANAGER_USER_MAIL,\n service_account=SERVICE_ACCOUNT_FILE_PATH,\n service_account_email=SERVICE_ACCOUNT_EMAIL)\n\ngsuite.add_member_to_group(member='foo@bar.com', groupKey='foo-group@bar.com')\n```\n\n## Development\n\nInstall all the project's dependencies\n\n```shell\npip install -r requirements.txt\n```\n\n## Contributors\n\n[![](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/images/0)](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/links/0)[![](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/images/1)](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/links/1)[![](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/images/2)](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/links/2)[![](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/images/3)](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/links/3)[![](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/images/4)](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/links/4)[![](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/images/5)](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/links/5)[![](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/images/6)](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/links/6)[![](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/images/7)](https://sourcerer.io/fame/marcosvidolin/marcosvidolin/gsuitefy/links/7)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/marcosvidolin/gsuitefy", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "gsuitefy", "package_url": "https://pypi.org/project/gsuitefy/", "platform": "", "project_url": "https://pypi.org/project/gsuitefy/", "project_urls": { "Homepage": "https://github.com/marcosvidolin/gsuitefy" }, "release_url": "https://pypi.org/project/gsuitefy/1.1.3/", "requires_dist": [ "google-api-python-client (==1.7.11)", "google-auth-httplib2 (==0.0.3)", "google-auth-oauthlib (==0.4.0)", "oauth2client (==4.1.3)" ], "requires_python": "", "summary": "Gsuite Admin client to manage users and groups", "version": "1.1.3", "yanked": false, "yanked_reason": null }, "last_serial": 6008933, "releases": { "1.0.3": [ { "comment_text": "", "digests": { "md5": "be76bd948d8ecdfc32953491dd211667", "sha256": "44e92f23821eedcdae1f2748b468d1a321541b5ee45c49653adaec079f68369d" }, "downloads": -1, "filename": "gsuitefy-1.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "be76bd948d8ecdfc32953491dd211667", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4614, "upload_time": "2019-10-11T01:46:35", "upload_time_iso_8601": "2019-10-11T01:46:35.616803Z", "url": "https://files.pythonhosted.org/packages/42/ae/045782c202c626c3b76489a9a1b0b2bf398a956166fc0870719d653e7536/gsuitefy-1.0.3-py2-none-any.whl", "yanked": false, "yanked_reason": null } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "f6ca1069f824147b49432554c39b2ca1", "sha256": "1307c572a4ba2ce491cc9177d7c288c40f03ee5c051154863d441a5dd54f6300" }, "downloads": -1, "filename": "gsuitefy-1.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "f6ca1069f824147b49432554c39b2ca1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4947, "upload_time": "2019-10-11T11:59:56", "upload_time_iso_8601": "2019-10-11T11:59:56.145423Z", "url": "https://files.pythonhosted.org/packages/9d/73/b3b079b9a6cb15c8fb32f950ee504cf0e0af99a8ad11fec636b8aa5a0919/gsuitefy-1.1.0-py2-none-any.whl", "yanked": false, "yanked_reason": null } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "dd17ef8a606e1eb8e483f36d0df9b8ee", "sha256": "720178a7ac6056d747cfe1c237ff2e9b3f3207268466c83671931a0e1766c985" }, "downloads": -1, "filename": "gsuitefy-1.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "dd17ef8a606e1eb8e483f36d0df9b8ee", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4946, "upload_time": "2019-10-11T12:36:42", "upload_time_iso_8601": "2019-10-11T12:36:42.811847Z", "url": "https://files.pythonhosted.org/packages/a1/15/b126d59768cc0b3ca9e276470f67a602f18767d180771bcbf1e137e17891/gsuitefy-1.1.1-py2-none-any.whl", "yanked": false, "yanked_reason": null } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "a111f5f3094c6cd2381755b6f57a7415", "sha256": "ff23036822e04c4aafa4c271ac4064400e3079b8df6a869d66284d58b9c0aeed" }, "downloads": -1, "filename": "gsuitefy-1.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "a111f5f3094c6cd2381755b6f57a7415", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4945, "upload_time": "2019-10-21T16:21:29", "upload_time_iso_8601": "2019-10-21T16:21:29.579742Z", "url": "https://files.pythonhosted.org/packages/21/3f/a2546b4ad2599a6af6304a963e4f3c4be9cf9785bab095cf35c161f1d420/gsuitefy-1.1.2-py2-none-any.whl", "yanked": false, "yanked_reason": null } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "7c3cc6d18b56a64d9c852114f2ff8543", "sha256": "6eade9e901a9364e8f3882d4c7d1e36364415df6e2c687da42753cc0a827d718" }, "downloads": -1, "filename": "gsuitefy-1.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7c3cc6d18b56a64d9c852114f2ff8543", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4952, "upload_time": "2019-10-21T19:47:47", "upload_time_iso_8601": "2019-10-21T19:47:47.854539Z", "url": "https://files.pythonhosted.org/packages/64/2a/c2c7953b77e63daaeb1ba7a2dfa2af254446b764f78723981a22d59f1c36/gsuitefy-1.1.3-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7c3cc6d18b56a64d9c852114f2ff8543", "sha256": "6eade9e901a9364e8f3882d4c7d1e36364415df6e2c687da42753cc0a827d718" }, "downloads": -1, "filename": "gsuitefy-1.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7c3cc6d18b56a64d9c852114f2ff8543", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4952, "upload_time": "2019-10-21T19:47:47", "upload_time_iso_8601": "2019-10-21T19:47:47.854539Z", "url": "https://files.pythonhosted.org/packages/64/2a/c2c7953b77e63daaeb1ba7a2dfa2af254446b764f78723981a22d59f1c36/gsuitefy-1.1.3-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }