cgcsdk 1.2.0__py3-none-any.whl → 1.2.1__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.
cgc/.env CHANGED
@@ -6,4 +6,4 @@ CONFIG_FILE_NAME = cfg.json
6
6
  TMP_DIR = .tmp
7
7
  RELEASE = 1
8
8
  MAJOR_VERSION = 2
9
- MINOR_VERSION = 0
9
+ MINOR_VERSION = 1
cgc/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.2.1
4
+
5
+ Release on Nov 26, 2024
6
+
7
+ * `cgc register` now correctly saves api-keys into user configuration file
8
+
3
9
  ## 1.2.0
4
10
 
5
11
  Release on Nov 20, 2024
@@ -31,7 +31,7 @@ def auth_register_response(
31
31
  cgc_api_url=cgc_api_url,
32
32
  cgc_secret=cgc_secret,
33
33
  )
34
- auth_logic.auth_create_api_key_with_save()
34
+ auth_logic.auth_create_api_key_with_save(overwrite=True)
35
35
  shutil.rmtree(TMP_DIR_PATH)
36
36
  # cfg.json
37
37
  if config_filename == "cfg.json":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cgcsdk
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: CGC Core REST API client
5
5
  Home-page: https://cgc.comtegra.cloud/
6
6
  Author: Comtegra AI Team
@@ -23,7 +23,7 @@ Requires-Dist: click
23
23
  Requires-Dist: python-dotenv
24
24
  Requires-Dist: tabulate
25
25
  Requires-Dist: pycryptodomex
26
- Requires-Dist: paramiko >=2.11
26
+ Requires-Dist: paramiko>=2.11
27
27
  Requires-Dist: statsd
28
28
  Requires-Dist: requests
29
29
  Requires-Dist: setuptools
@@ -1,5 +1,5 @@
1
- cgc/.env,sha256=HTf7J9zbcJU0LNZbtjqMaqs7hSdVKvxixFZ0W94Umtc,209
2
- cgc/CHANGELOG.md,sha256=aneU5MVEsCs5isCwK31UbtyJavyTs68M6LzNH6vWc-o,10704
1
+ cgc/.env,sha256=gURax26_tsuDMuNv--5GXRS582fTfqeKIzfS_68MgHo,209
2
+ cgc/CHANGELOG.md,sha256=zA7_E9mg39i9-lYf2c-BGdpvBkoPvnKISIFDAbDWIxQ,10815
3
3
  cgc/__init__.py,sha256=d03Xv8Pw4ktNyUHfmicP6XfxYPXnVYLaCZPyUlg_RNQ,326
4
4
  cgc/cgc.py,sha256=3I_Ef0ggX9caaJKJkhfGYSe8XwkHzSWxwGAClMHDnUs,1663
5
5
  cgc/config.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -12,7 +12,7 @@ cgc/commands/exceptions.py,sha256=kVCWEdcqmkLO5QVIINdEXQw29_glyX2C11ZMFgT7b8E,15
12
12
  cgc/commands/auth/__init__.py,sha256=JnqNezSEUEVVPQIymya4llXr8LIug2vymQSAGBr4Ovg,397
13
13
  cgc/commands/auth/auth_cmd.py,sha256=7sG1MWh1vbC9_lGFOLVRXGyXEnIbvF49mtA5EOehfJE,5082
14
14
  cgc/commands/auth/auth_logic.py,sha256=2XSVbPdxcHbWSQKUHgwz8JPw11_hiyDJFFTkYOAjIC4,2751
15
- cgc/commands/auth/auth_responses.py,sha256=kIGyCbNqSQKhDsVpIIcbzR-1bFQHkC3ClbUPBNfKPwk,2095
15
+ cgc/commands/auth/auth_responses.py,sha256=OlhZnE5yvS1EPmkVfOeCg7wBq5ayW7o_fAzN0OCAfgY,2109
16
16
  cgc/commands/auth/auth_utils.py,sha256=3RSBAR_V5DANhJ_R0cN4poP2uCNdx2tU1VXxP17yXig,3605
17
17
  cgc/commands/compute/__init__.py,sha256=lCdLfZ0ECSHtXEUSwq5YRHH85yXHchSsz8ZJvmClPtI,239
18
18
  cgc/commands/compute/compute_cmd.py,sha256=YZYR0milioX8aShLUC5NSKWcJSimQx6d4WmweAgdCrw,16131
@@ -85,9 +85,9 @@ cgc/utils/cryptography/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
85
85
  cgc/utils/cryptography/aes_crypto.py,sha256=S0rKg38oy7rM5lTrP6DDpjLA-XRxuZggAXyxMFHtyzY,3333
86
86
  cgc/utils/cryptography/encryption_module.py,sha256=rbblBBorHYPGl-iKblyZX3_NuPEvUTpnH1l_RgNGCbA,1958
87
87
  cgc/utils/cryptography/rsa_crypto.py,sha256=h3jU5qPpj9uVjP1rTqZJTdYB5yjhD9HZpr_nD439h9Q,4180
88
- cgcsdk-1.2.0.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
- cgcsdk-1.2.0.dist-info/METADATA,sha256=hKzu5exj6VKXE00jTOVk8nvSiei27WbnTaIqoz-5yjU,2986
90
- cgcsdk-1.2.0.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
91
- cgcsdk-1.2.0.dist-info/entry_points.txt,sha256=bdfIHeJ6Y-BBr5yupCVoK7SUrJj1yNdew8OtIOg_3No,36
92
- cgcsdk-1.2.0.dist-info/top_level.txt,sha256=nqW9tqcIcCXFigQT69AuOk7XHKc4pCuv4HGJQGXb6iA,12
93
- cgcsdk-1.2.0.dist-info/RECORD,,
88
+ cgcsdk-1.2.1.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
+ cgcsdk-1.2.1.dist-info/METADATA,sha256=b0Tli_BWBGVBNhq7WDZ7h97cZH_lt4sDG9Mtk-_GYH8,2985
90
+ cgcsdk-1.2.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
91
+ cgcsdk-1.2.1.dist-info/entry_points.txt,sha256=bdfIHeJ6Y-BBr5yupCVoK7SUrJj1yNdew8OtIOg_3No,36
92
+ cgcsdk-1.2.1.dist-info/top_level.txt,sha256=nqW9tqcIcCXFigQT69AuOk7XHKc4pCuv4HGJQGXb6iA,12
93
+ cgcsdk-1.2.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.5.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5