ejochman e1660aa909 Refactor into Python package format (#1165)
* Refactor into a python module format

-Updates import statements to be absolute vs implicitly relative
-Uses import syntax that minimizes the need to update references in code
and/or reformat affected lines (e.g. `import gapi.directory` becomes `from gam.gapi import directory as
gapi_directory`)
-Adds a `__main__.py` such that the module can be executed on its own
using standard `python3 -m gam` syntax
-Replaces __main__ import hack with module import
-Updates the GAM path to be the module's parent dir

* Add gam.py to /src for backwards compatibility

A stub that calls gam.__main__.main() to be used by users who are not
with the syntax of calling a module implementation. It should also
provide immediate backwards-compatibility with existing scripts with
references to this file.

* Move build tools back to the main dir and out of the package

* Fix pylint errors

* Update build spec to use new package format

Incorporates @jay0lee's patch from
https://github.com/jay0lee/GAM/pull/1165#issuecomment-618430828
2020-04-23 14:06:30 -04:00
2020-03-05 07:57:40 -05:00
2020-04-21 10:23:32 -04:00
2019-04-13 11:01:54 -04:00

GAM is a command line tool for Google G Suite Administrators to manage domain and user settings quickly and easily. Build Status

Quick Start

Linux / MacOS

Open a terminal and run:

bash <(curl -s -S -L https://git.io/install-gam)

this will download GAM, install it and start setup.

Windows

Download the MSI Installer from the GitHub Releases page. Install the MSI and you'll be prompted to setup GAM.

Documentation

The GAM documentation is hosted in the GitHub Wiki

Mailing List / Discussion group

The GAM mailing list / discussion group is hosted on Google Groups. You can join the list and interact via email, or just post from the web itself.

IM Room

Join the chat at https://gitter.im/jay0lee-GAM/community

Author

GAM is maintained by Jay Lee. Please direct "how do I?" questions to Google Groups.

Languages
Python 99.4%
Shell 0.3%
JavaScript 0.2%