gam7 7.6.8__py3-none-any.whl → 7.6.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of gam7 might be problematic. Click here for more details.

gam/__init__.py CHANGED
@@ -25,7 +25,7 @@ https://github.com/GAM-team/GAM/wiki
25
25
  """
26
26
 
27
27
  __author__ = 'GAM Team <google-apps-manager@googlegroups.com>'
28
- __version__ = '7.06.08'
28
+ __version__ = '7.06.10'
29
29
  __license__ = 'Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
30
30
 
31
31
  #pylint: disable=wrong-import-position
@@ -13491,6 +13491,8 @@ REPORT_CHOICE_MAP = {
13491
13491
  'drive': 'drive',
13492
13492
  'enterprisegroups': 'groups_enterprise',
13493
13493
  'gcp': 'gcp',
13494
+ 'gemini': 'gemini_for_workspace',
13495
+ 'geminiforworkspace': 'gemini_for_workspace',
13494
13496
  'gplus': 'gplus',
13495
13497
  'google+': 'gplus',
13496
13498
  'group': 'groups',
@@ -13788,6 +13790,20 @@ def doReport():
13788
13790
  csvPF.WriteRow(row)
13789
13791
  return (True, lastDate)
13790
13792
 
13793
+ # dynamically extend our choices with other reports Google dynamically adds
13794
+ rep = buildGAPIObject(API.REPORTS)
13795
+ dyn_choices = rep._rootDesc \
13796
+ .get('resources', {}) \
13797
+ .get('activities', {}) \
13798
+ .get('methods', {}) \
13799
+ .get('list', {}) \
13800
+ .get('parameters', {}) \
13801
+ .get('applicationName', {}) \
13802
+ .get('enum', [])
13803
+ for dyn_choice in dyn_choices:
13804
+ if dyn_choice.replace('_', '') not in REPORT_CHOICE_MAP and \
13805
+ dyn_choice not in REPORT_CHOICE_MAP.values():
13806
+ REPORT_CHOICE_MAP[dyn_choice.replace('_', '')] = dyn_choice
13791
13807
  report = getChoice(REPORT_CHOICE_MAP, mapChoice=True)
13792
13808
  if report == 'usage':
13793
13809
  doReportUsage()
@@ -13795,7 +13811,6 @@ def doReport():
13795
13811
  if report == 'usageparameters':
13796
13812
  doReportUsageParameters()
13797
13813
  return
13798
- rep = buildGAPIObject(API.REPORTS)
13799
13814
  customerId = GC.Values[GC.CUSTOMER_ID]
13800
13815
  if customerId == GC.MY_CUSTOMER:
13801
13816
  customerId = None
gam/gamlib/glskus.py CHANGED
@@ -144,6 +144,8 @@ _SKUS = {
144
144
  'product': 'Google-Apps', 'aliases': ['wsflw', 'workspacefrontline', 'workspacefrontlineworker'], 'displayName': 'Google Workspace Frontline Starter'},
145
145
  '1010020031': {
146
146
  'product': 'Google-Apps', 'aliases': ['wsflwstan', 'workspacefrontlinestan', 'workspacefrontlineworkerstan'], 'displayName': 'Google Workspace Frontline Standard'},
147
+ '1010020034': {
148
+ 'product': 'Google-Apps', 'aliases': ['wsflwplus', 'workspacefrontlineplus', 'workspacefrontlineworkerplus'], 'displayName': 'Google Workspace Frontline Plus'},
147
149
  '1010340001': {
148
150
  'product': '101034', 'aliases': ['gseau', 'enterprisearchived', 'gsuiteenterprisearchived'], 'displayName': 'Google Workspace Enterprise Plus - Archived User'},
149
151
  '1010340002': {
gam/gamlib/glverlibs.py CHANGED
@@ -20,14 +20,19 @@
20
20
 
21
21
  """
22
22
 
23
- GAM_VER_LIBS = ['cryptography',
24
- 'filelock',
25
- 'google-api-python-client',
26
- 'google-auth-httplib2',
27
- 'google-auth-oauthlib',
28
- 'google-auth',
29
- 'httplib2',
30
- 'passlib',
31
- 'python-dateutil',
32
- 'yubikey-manager',
33
- ]
23
+ GAM_VER_LIBS = [
24
+ 'chardet',
25
+ 'cryptography',
26
+ 'filelock',
27
+ 'google-api-python-client',
28
+ 'google-auth-httplib2',
29
+ 'google-auth-oauthlib',
30
+ 'google-auth',
31
+ 'lxml',
32
+ 'httplib2',
33
+ 'passlib',
34
+ 'pathvalidate',
35
+ 'pyscard',
36
+ 'python-dateutil',
37
+ 'yubikey-manager',
38
+ ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gam7
3
- Version: 7.6.8
3
+ Version: 7.6.10
4
4
  Summary: CLI tool to manage Google Workspace
5
5
  Project-URL: Homepage, https://github.com/GAM-team/GAM
6
6
  Project-URL: Issues, https://github.com/GAM-team/GAM/issues
@@ -18,22 +18,22 @@ Classifier: Programming Language :: Python :: 3.11
18
18
  Classifier: Programming Language :: Python :: 3.12
19
19
  Classifier: Programming Language :: Python :: 3.13
20
20
  Requires-Python: >=3.9
21
- Requires-Dist: chardet
22
- Requires-Dist: cryptography
21
+ Requires-Dist: chardet>=5.2.0
22
+ Requires-Dist: cryptography>=44.0.2
23
23
  Requires-Dist: distro; sys_platform == 'linux'
24
- Requires-Dist: filelock
25
- Requires-Dist: google-api-python-client>=2.1
26
- Requires-Dist: google-auth-httplib2
27
- Requires-Dist: google-auth-oauthlib>=0.4.1
28
- Requires-Dist: google-auth>=2.3.2
29
- Requires-Dist: httplib2>=0.17.0
24
+ Requires-Dist: filelock>=3.18.0
25
+ Requires-Dist: google-api-python-client>=2.167.0
26
+ Requires-Dist: google-auth-httplib2>=0.2.0
27
+ Requires-Dist: google-auth-oauthlib>=1.2.2
28
+ Requires-Dist: google-auth>=2.39.0
29
+ Requires-Dist: httplib2>=0.22.0
30
30
  Requires-Dist: lxml
31
- Requires-Dist: passlib>=1.7.2
32
- Requires-Dist: pathvalidate
31
+ Requires-Dist: passlib>=1.7.4
32
+ Requires-Dist: pathvalidate>=3.2.3
33
33
  Requires-Dist: pyscard==2.2.1
34
34
  Requires-Dist: python-dateutil
35
35
  Provides-Extra: yubikey
36
- Requires-Dist: yubikey-manager>=5.0; extra == 'yubikey'
36
+ Requires-Dist: yubikey-manager>=5.6.1; extra == 'yubikey'
37
37
  Description-Content-Type: text/markdown
38
38
 
39
39
  GAM is a command line tool for Google Workspace admins to manage domain and user settings quickly and easily.
@@ -1,4 +1,4 @@
1
- gam/__init__.py,sha256=nt7hcXtRNmwE1EKjsg3m4Y_FG6EqTMfVxqeEm0DO2eg,3492389
1
+ gam/__init__.py,sha256=dTeELNYfNzM8J38mUcGnEQhmzYSXtMoPuygMv44Zg6c,3493033
2
2
  gam/__main__.py,sha256=amz0-959ph6zkZKqjaar4n60yho-T37w6qWI36qx0CA,1049
3
3
  gam/cacerts.pem,sha256=nJuWha0xm5dHw_5ptGphwRoO-r36Ccpqiww9pCEDbSc,67484
4
4
  gam/cbcm-v1.1beta1.json,sha256=xO5XloCQQULmPbFBx5bckdqmbLFQ7sJ2TImhE1ysDIY,19439
@@ -32,9 +32,9 @@ gam/gamlib/glgdata.py,sha256=weRppttWm6uRyqtBoGPKoHiNZ2h28nhfUV4J_mbCszY,2707
32
32
  gam/gamlib/glglobals.py,sha256=Y73xM1RNhIbtcqnMv1gcZF3wDWOeLWW-7SvoQyWw6tA,9659
33
33
  gam/gamlib/glindent.py,sha256=RfBa2LDfLIqPLL5vMfC689TCVmqn8xf-qulSzkiatrc,1228
34
34
  gam/gamlib/glmsgs.py,sha256=3wqw8Hq-l2n_TGkf7xhjQS9W6Xz5Ic2ErgsW3h-7qNM,33465
35
- gam/gamlib/glskus.py,sha256=Gi0jjrSGwhCD4SvtqQfuAXwtEiL2zU4c8qXdxO1yY9k,15058
35
+ gam/gamlib/glskus.py,sha256=xJ1E2BZ_CGHN6I19c9i8DApb5bT5VT-hGyMEmQ5hSRY,15241
36
36
  gam/gamlib/gluprop.py,sha256=IyPLCyvn7-NHTUenM71YPQPXRZXx6CB5q-GtJ-FYd1c,11461
37
- gam/gamlib/glverlibs.py,sha256=XXYhmjOVti78JTy7NNr4ShIwiOX7LrfrmFSlqSWixrE,1077
37
+ gam/gamlib/glverlibs.py,sha256=A8rvegBF2nD6etbBRb8hsv-oZyjpD4VcUQ8PffW-bqU,992
38
38
  gam/gamlib/yubikey.py,sha256=-UC-3oue9qarYK3LT7YL6Gmqs7TMK8oz9_AoxdaG2FA,7925
39
39
  gam/gdata/__init__.py,sha256=uvjmSza2EdL7lGaoJ04-uXHGeYa0i1dBQHIetBybcUQ,29637
40
40
  gam/gdata/service.py,sha256=CuImJDRVcNMM1dfo7V6T0LrztzqTNrIraaLkHXpL0Tw,70045
@@ -65,8 +65,8 @@ gam/googleapiclient/discovery_cache/base.py,sha256=yCDPtxnbNN-p5_9fzBacC6P3wcUPl
65
65
  gam/googleapiclient/discovery_cache/file_cache.py,sha256=sim3Mg4HgRYo3vX75jvcKy_aV568EvIrtBfvfbw-044,4774
66
66
  gam/iso8601/__init__.py,sha256=Z2PsYbXgAH5a5xzUvgczCboPzqWpm65kRcIngCnhViU,1218
67
67
  gam/iso8601/iso8601.py,sha256=Li2FHZ4sBTWuthuQhyCvmvj0j6At8JbGzkSv2fc2RHU,4384
68
- gam7-7.6.8.dist-info/METADATA,sha256=g-ghBkYsY2v72Za5GgyYmrueLAyThQX5PXkLIyGOkXg,2918
69
- gam7-7.6.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
70
- gam7-7.6.8.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
71
- gam7-7.6.8.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
72
- gam7-7.6.8.dist-info/RECORD,,
68
+ gam7-7.6.10.dist-info/METADATA,sha256=AITd3cwIDQIkMkcnlrl1s1JP5wEQpsI09Om_xvupaDA,2963
69
+ gam7-7.6.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
70
+ gam7-7.6.10.dist-info/entry_points.txt,sha256=HVUM5J7dA8YwvJfG30jiLefR19ExMs387TWugWd9sf4,42
71
+ gam7-7.6.10.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
72
+ gam7-7.6.10.dist-info/RECORD,,
File without changes