gsuite
Gsuite Admin client to manage users and groups
How to use
Install:
pip install gsuitefy
Import:
from gsuitefy.gsuite import GSuiteAdmin
Sample:
# User with gsuite manager rights
MANAGER_USER_MAIL = 'group-manager@bar.com'
# Email of the Service Account
SERVICE_ACCOUNT_EMAIL = 'sa@bar.iam.gserviceaccount.com'
# Path to the service account JSON file
SERVICE_ACCOUNT_FILE_PATH = os.path.join(os.path.dirname(__file__), 'service-account.json')
gsuite = GSuiteAdmin(group_management_email=MANAGER_USER_MAIL,
service_account=SERVICE_ACCOUNT_FILE_PATH,
service_account_email=SERVICE_ACCOUNT_EMAIL)
gsuite.add_member_to_group(member='foo@bar.com', groupKey='foo-group@bar.com')
Development
Install all the project's dependencies
pip install -r requirements.txt
Contributors
Metadata
Release files for gsuitefy 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gsuitefy-1.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for gsuitefy-1.1.3-py2.py3-none-any.whl |
Release files / gsuitefy-1.1.3-py2.py3-none-any.whl
| Download URL | gsuitefy-1.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6eade9e901a9364e8f3882d4c7d1e36364415df6e2c687da42753cc0a827d718
|
|
BLAKE2b-256 checksum How to use checksums |
642ac2c7953b77e63daaeb1ba7a2dfa2af254446b764f78723981a22d59f1c36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+
|
Security for gsuitefy 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.