cosmotech-acceleration-library 1.0.0__py3-none-any.whl → 1.1.0__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.
Files changed (76) hide show
  1. cosmotech/coal/__init__.py +1 -1
  2. cosmotech/coal/azure/adx/runner.py +1 -3
  3. cosmotech/coal/cosmotech_api/__init__.py +10 -6
  4. cosmotech/coal/cosmotech_api/dataset/download/file.py +117 -104
  5. cosmotech/coal/cosmotech_api/dataset/download/twingraph.py +10 -13
  6. cosmotech/coal/cosmotech_api/dataset/upload.py +41 -0
  7. cosmotech/coal/cosmotech_api/runner/datasets.py +71 -19
  8. cosmotech/coal/cosmotech_api/runner/download.py +3 -14
  9. cosmotech/coal/postgresql/runner.py +3 -1
  10. cosmotech/coal/postgresql/store.py +3 -0
  11. cosmotech/coal/utils/decorator.py +25 -0
  12. cosmotech/coal/utils/semver.py +6 -0
  13. cosmotech/csm_data/commands/adx_send_data.py +7 -7
  14. cosmotech/csm_data/commands/adx_send_runnerdata.py +10 -10
  15. cosmotech/csm_data/commands/api/api.py +1 -1
  16. cosmotech/csm_data/commands/api/postgres_send_runner_metadata.py +23 -11
  17. cosmotech/csm_data/commands/api/rds_load_csv.py +8 -8
  18. cosmotech/csm_data/commands/api/rds_send_csv.py +6 -6
  19. cosmotech/csm_data/commands/api/rds_send_store.py +6 -6
  20. cosmotech/csm_data/commands/api/run_load_data.py +10 -10
  21. cosmotech/csm_data/commands/api/runtemplate_load_handler.py +5 -5
  22. cosmotech/csm_data/commands/api/tdl_load_files.py +6 -6
  23. cosmotech/csm_data/commands/api/tdl_send_files.py +7 -7
  24. cosmotech/csm_data/commands/api/wsf_load_file.py +10 -8
  25. cosmotech/csm_data/commands/api/wsf_send_file.py +10 -8
  26. cosmotech/csm_data/commands/az_storage_upload.py +6 -6
  27. cosmotech/csm_data/commands/s3_bucket_delete.py +8 -8
  28. cosmotech/csm_data/commands/s3_bucket_download.py +9 -9
  29. cosmotech/csm_data/commands/s3_bucket_upload.py +10 -10
  30. cosmotech/csm_data/commands/store/dump_to_azure.py +9 -9
  31. cosmotech/csm_data/commands/store/dump_to_postgresql.py +22 -10
  32. cosmotech/csm_data/commands/store/dump_to_s3.py +10 -10
  33. cosmotech/csm_data/commands/store/list_tables.py +3 -3
  34. cosmotech/csm_data/commands/store/load_csv_folder.py +3 -3
  35. cosmotech/csm_data/commands/store/load_from_singlestore.py +8 -8
  36. cosmotech/csm_data/commands/store/reset.py +2 -2
  37. cosmotech/csm_data/commands/store/store.py +1 -2
  38. cosmotech/csm_data/main.py +8 -6
  39. cosmotech/csm_data/utils/decorators.py +1 -1
  40. cosmotech/translation/csm_data/en-US/csm_data/commands/api/api.yml +8 -0
  41. cosmotech/translation/csm_data/en-US/csm_data/commands/api/postgres_send_runner_metadata.yml +17 -0
  42. cosmotech/translation/csm_data/en-US/csm_data/commands/api/rds_load_csv.yml +13 -0
  43. cosmotech/translation/csm_data/en-US/csm_data/commands/api/rds_send_csv.yml +12 -0
  44. cosmotech/translation/csm_data/en-US/csm_data/commands/api/rds_send_store.yml +12 -0
  45. cosmotech/translation/csm_data/en-US/csm_data/commands/api/run_load_data.yml +15 -0
  46. cosmotech/translation/csm_data/en-US/csm_data/commands/api/runtemplate_load_handler.yml +7 -0
  47. cosmotech/translation/csm_data/en-US/csm_data/commands/api/tdl_load_files.yml +14 -0
  48. cosmotech/translation/csm_data/en-US/csm_data/commands/api/tdl_send_files.yml +18 -0
  49. cosmotech/translation/csm_data/en-US/csm_data/commands/api/wsf_load_file.yml +10 -0
  50. cosmotech/translation/csm_data/en-US/csm_data/commands/api/wsf_send_file.yml +12 -0
  51. cosmotech/translation/csm_data/en-US/csm_data/commands/main.yml +9 -0
  52. cosmotech/translation/csm_data/en-US/csm_data/commands/storage/adx_send_data.yml +8 -0
  53. cosmotech/translation/csm_data/en-US/csm_data/commands/storage/adx_send_runnerdata.yml +15 -0
  54. cosmotech/translation/csm_data/en-US/csm_data/commands/storage/az_storage_upload.yml +8 -0
  55. cosmotech/translation/csm_data/en-US/csm_data/commands/storage/s3_bucket_delete.yml +17 -0
  56. cosmotech/translation/csm_data/en-US/csm_data/commands/storage/s3_bucket_download.yml +18 -0
  57. cosmotech/translation/csm_data/en-US/csm_data/commands/storage/s3_bucket_upload.yml +21 -0
  58. cosmotech/translation/csm_data/en-US/csm_data/commands/storage/storage.yml +4 -0
  59. cosmotech/translation/csm_data/en-US/csm_data/commands/store/dump_to_azure.yml +23 -0
  60. cosmotech/translation/csm_data/en-US/csm_data/commands/store/dump_to_postgresql.yml +20 -0
  61. cosmotech/translation/csm_data/en-US/csm_data/commands/store/dump_to_s3.yml +26 -0
  62. cosmotech/translation/csm_data/en-US/csm_data/commands/store/list_tables.yml +5 -0
  63. cosmotech/translation/csm_data/en-US/csm_data/commands/store/load_csv_folder.yml +5 -0
  64. cosmotech/translation/csm_data/en-US/csm_data/commands/store/load_from_singlestore.yml +16 -0
  65. cosmotech/translation/csm_data/en-US/csm_data/commands/store/reset.yml +4 -0
  66. cosmotech/translation/csm_data/en-US/csm_data/commands/store/store.yml +4 -0
  67. cosmotech/translation/csm_data/en-US/csm_data/commons/decorators.yml +2 -0
  68. cosmotech/translation/csm_data/en-US/csm_data/commons/version.yml +4 -0
  69. {cosmotech_acceleration_library-1.0.0.dist-info → cosmotech_acceleration_library-1.1.0.dist-info}/METADATA +13 -14
  70. {cosmotech_acceleration_library-1.0.0.dist-info → cosmotech_acceleration_library-1.1.0.dist-info}/RECORD +74 -44
  71. {cosmotech_acceleration_library-1.0.0.dist-info → cosmotech_acceleration_library-1.1.0.dist-info}/WHEEL +1 -1
  72. cosmotech/coal/utils/api.py +0 -68
  73. cosmotech/translation/csm_data/en-US/csm-data.yml +0 -434
  74. {cosmotech_acceleration_library-1.0.0.dist-info → cosmotech_acceleration_library-1.1.0.dist-info}/entry_points.txt +0 -0
  75. {cosmotech_acceleration_library-1.0.0.dist-info → cosmotech_acceleration_library-1.1.0.dist-info}/licenses/LICENSE +0 -0
  76. {cosmotech_acceleration_library-1.0.0.dist-info → cosmotech_acceleration_library-1.1.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,23 @@
1
+ description: |
2
+ Dump a datastore to a Azure storage account.
3
+
4
+ Will upload everything from a given data store to a Azure storage container.
5
+
6
+ 3 modes currently exists:
7
+ - sqlite: will dump the data store underlying database as is
8
+ - csv: will convert every table of the datastore to csv and send them as separate files
9
+ - parquet: will convert every table of the datastore to parquet and send them as separate files
10
+
11
+ Make use of the azure.storage.blob library to access the container
12
+
13
+ More information is available on this page:
14
+ [https://learn.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-python?tabs=managed-identity%2Croles-azure-portal%2Csign-in-azure-cli&pivots=blob-storage-quickstart-scratch]
15
+ parameters:
16
+ store_folder: The folder containing the store files
17
+ output_type: Choose the type of file output to use (sqlite, csv, parquet)
18
+ account_name: The account name on Azure to upload to
19
+ container_name: The container name on Azure to upload to
20
+ prefix: A prefix by which all uploaded files should start with in the container
21
+ tenant_id: Tenant Identity used to connect to Azure storage system
22
+ client_id: Client Identity used to connect to Azure storage system
23
+ client_secret: Client Secret tied to the ID used to connect to Azure storage system
@@ -0,0 +1,20 @@
1
+ description: |
2
+ Running this command will dump your store to a given postgresql database
3
+
4
+ Tables names from the store will be prepended with table-prefix in target database
5
+
6
+ The postgresql user must have USAGE granted on the schema for this script to work due to the use of the command COPY FROM STDIN
7
+
8
+ You can simply give him that grant by running the command:
9
+ GRANT USAGE ON SCHEMA <schema> TO <username>
10
+ parameters:
11
+ store_folder: The folder containing the store files
12
+ table_prefix: Prefix to add to the table name
13
+ postgres_host: PostgreSQL host URI
14
+ postgres_port: PostgreSQL database port
15
+ postgres_db: PostgreSQL database name
16
+ postgres_schema: PostgreSQL schema name
17
+ postgres_user: PostgreSQL connection user name
18
+ postgres_password: PostgreSQL connection password
19
+ replace: Append data on existing tables
20
+ encode_password: Force encoding of password to percent encoding
@@ -0,0 +1,26 @@
1
+ description: |
2
+ Dump a datastore to a S3
3
+
4
+ Will upload everything from a given data store to a S3 bucket.
5
+
6
+ 3 modes currently exists:
7
+ - sqlite: will dump the data store underlying database as is
8
+ - csv: will convert every table of the datastore to csv and send them as separate files
9
+ - parquet: will convert every table of the datastore to parquet and send them as separate files
10
+
11
+ Giving a prefix will add it to every upload (finishing the prefix with a "/" will allow to upload in a folder inside the bucket)
12
+
13
+ Make use of the boto3 library to access the bucket
14
+
15
+ More information is available on this page:
16
+ [https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html]
17
+ parameters:
18
+ store_folder: The folder containing the store files
19
+ output_type: Choose the type of file output to use (sqlite, csv, parquet)
20
+ bucket_name: The bucket on S3 to upload to
21
+ prefix: A prefix by which all uploaded files should start with in the bucket
22
+ use_ssl: Use SSL to secure connection to S3
23
+ s3_url: URL to connect to the S3 system
24
+ access_id: Identity used to connect to the S3 system
25
+ secret_key: Secret tied to the ID used to connect to the S3 system
26
+ ssl_cert_bundle: Path to an alternate CA Bundle to validate SSL connections
@@ -0,0 +1,5 @@
1
+ description: |
2
+ Running this command will list the existing tables in your datastore
3
+ parameters:
4
+ store_folder: The folder containing the store files
5
+ schema: Display the schema of the tables
@@ -0,0 +1,5 @@
1
+ description: |
2
+ Running this command will find all csvs in the given folder and put them in the store
3
+ parameters:
4
+ store_folder: The folder containing the store files
5
+ csv_folder: The folder containing the csv files to store
@@ -0,0 +1,16 @@
1
+ description: |
2
+ Load data from SingleStore tables into the store.
3
+ Will download everything from a given SingleStore database following some configuration into the store.
4
+
5
+ Make use of the singlestoredb to access to SingleStore
6
+
7
+ More information is available on this page:
8
+ [https://docs.singlestore.com/cloud/developer-resources/connect-with-application-development-tools/connect-with-python/connect-using-the-singlestore-python-client/]
9
+ parameters:
10
+ singlestore_host: SingleStore instance URI
11
+ singlestore_port: SingleStore port
12
+ singlestore_db: SingleStore database name
13
+ singlestore_user: SingleStore connection user name
14
+ singlestore_password: SingleStore connection password
15
+ singlestore_tables: SingleStore table names to fetched (separated by comma)
16
+ store_folder: The folder containing the store files
@@ -0,0 +1,4 @@
1
+ description: |
2
+ Running this command will reset the state of your store
3
+ parameters:
4
+ store_folder: The folder containing the store files
@@ -0,0 +1,4 @@
1
+ description: |
2
+ CoAL Data Store command group
3
+
4
+ This group of commands will give you helper commands to interact with the datastore
@@ -0,0 +1,2 @@
1
+ parameters:
2
+ web_help: Open the web documentation
@@ -0,0 +1,4 @@
1
+ message: |
2
+ Cosmo Tech Data Interface {version}
3
+
4
+ Copyright © 2023-2025 Cosmo Tech
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cosmotech_acceleration_library
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: Acceleration libraries for CosmoTech cloud based solution development
5
5
  Author-email: Cosmo Tech <platform@cosmotech.com>
6
6
  Project-URL: Homepage, https://www.cosmotech.com
@@ -15,17 +15,15 @@ Requires-Dist: azure-kusto-data~=4.4.1
15
15
  Requires-Dist: azure-kusto-ingest~=4.4.1
16
16
  Requires-Dist: tenacity~=8.3.0
17
17
  Requires-Dist: python-keycloak~=4.7.3
18
- Requires-Dist: redis==4.4.4
19
- Requires-Dist: redisgraph_bulk_loader==0.10.2
20
- Requires-Dist: cosmotech-api~=3.2
18
+ Requires-Dist: cosmotech-api>=3.2
21
19
  Requires-Dist: boto3~=1.35.19
22
20
  Requires-Dist: requests~=2.32.3
23
21
  Requires-Dist: singlestoredb~=1.10.0
24
22
  Requires-Dist: cosmotech-run-orchestrator~=2.0.0
25
- Requires-Dist: pyarrow~=17.0.0
26
- Requires-Dist: adbc-driver-manager~=1.1.0
27
- Requires-Dist: adbc-driver-sqlite~=1.1.0
28
- Requires-Dist: adbc-driver-postgresql~=1.1.0
23
+ Requires-Dist: pyarrow~=20.0.0
24
+ Requires-Dist: adbc-driver-manager~=1.7.0
25
+ Requires-Dist: adbc-driver-sqlite~=1.7.0
26
+ Requires-Dist: adbc-driver-postgresql~=1.7.0
29
27
  Requires-Dist: click~=8.1.7
30
28
  Requires-Dist: rich-click~=1.7.3
31
29
  Requires-Dist: click-log~=0.4.0
@@ -36,18 +34,17 @@ Requires-Dist: python-dateutil~=2.8
36
34
  Requires-Dist: rich~=13.7
37
35
  Requires-Dist: setuptools
38
36
  Provides-Extra: doc
39
- Requires-Dist: mkdocs~=1.5.3; extra == "doc"
37
+ Requires-Dist: mkdocs~=1.6.1; extra == "doc"
40
38
  Requires-Dist: mkdocs-click~=0.8.1; extra == "doc"
41
39
  Requires-Dist: mkdocs-gen-files~=0.5.0; extra == "doc"
42
40
  Requires-Dist: mkdocstrings[python]~=0.28.2; extra == "doc"
43
- Requires-Dist: mkdocs-awesome-pages-plugin~=2.9.3; extra == "doc"
41
+ Requires-Dist: mkdocs-awesome-nav~=3.1.2; extra == "doc"
44
42
  Requires-Dist: pymdown-extensions~=10.7; extra == "doc"
45
43
  Requires-Dist: requirements-parser~=0.11.0; extra == "doc"
46
- Requires-Dist: setuptools~=70.3.0; extra == "doc"
47
44
  Requires-Dist: mike~=2.0.0; extra == "doc"
48
45
  Requires-Dist: griffe~=1.5.7; extra == "doc"
49
46
  Requires-Dist: mkdocs-include-dir-to-nav~=1.2.0; extra == "doc"
50
- Requires-Dist: mkdocs-material[imaging]~=9.5.18; extra == "doc"
47
+ Requires-Dist: mkdocs-material[imaging]~=9.6.14; extra == "doc"
51
48
  Requires-Dist: mkdocs-table-reader-plugin~=2.0.3; extra == "doc"
52
49
  Requires-Dist: mkdocs-literate-nav~=0.6.1; extra == "doc"
53
50
  Provides-Extra: test
@@ -57,10 +54,12 @@ Requires-Dist: pytest-cov; extra == "test"
57
54
  Provides-Extra: extra
58
55
  Requires-Dist: pandas~=2.2.2; extra == "extra"
59
56
  Provides-Extra: dev
60
- Requires-Dist: black==23.3.0; extra == "dev"
61
- Requires-Dist: pre-commit==3.3.2; extra == "dev"
57
+ Requires-Dist: black~=24.3.0; extra == "dev"
58
+ Requires-Dist: pre-commit~=3.3.2; extra == "dev"
62
59
  Provides-Extra: all
63
60
  Requires-Dist: CosmoTech_Acceleration_Library[dev,doc,extra,test]; extra == "all"
61
+ Provides-Extra: past
62
+ Requires-Dist: cosmotech-api~=3.2; extra == "past"
64
63
  Dynamic: license-file
65
64
 
66
65
  # CosmoTech-Acceleration-Library (CoAL)
@@ -1,4 +1,4 @@
1
- cosmotech/coal/__init__.py,sha256=Y_aKMmuWT_V738Am-MUQxSx7LLE4tW980MSeC1ul0ro,436
1
+ cosmotech/coal/__init__.py,sha256=fEmLxOs06MCBlBFoKsBUQ_ZE5aLJgmdNfzVP0Xx_Qds,436
2
2
  cosmotech/coal/aws/__init__.py,sha256=DtkCZ8Y7q5HIKui9YXCV1JXO8rRMitd0uieiW2InuXY,761
3
3
  cosmotech/coal/aws/s3.py,sha256=oq1Sl_6kk_u0Jai55p7XRfKYAK0I6y3va4IfeWNhpEE,7820
4
4
  cosmotech/coal/azure/__init__.py,sha256=1SmwP1y7quGq9cWqiWxJy1XDjWM8sAc3f63ztBnYujQ,796
@@ -9,11 +9,11 @@ cosmotech/coal/azure/adx/__init__.py,sha256=zRYssRscq30jJ1q1CPUK6S3Sq4EBqZ_uL0M1
9
9
  cosmotech/coal/azure/adx/auth.py,sha256=BafFyLaHuiC3M0Mzp4ZcVAzzG1GUDsnOGn1Chf_vVMk,4755
10
10
  cosmotech/coal/azure/adx/ingestion.py,sha256=--hOB5iUWe-RwXpFC5EaBDmWbJrIAtYula59wrUzCM8,11455
11
11
  cosmotech/coal/azure/adx/query.py,sha256=SHMeGX-TNBfQE_DV-J5lrHxqDXgftYiLCasDhgO79rQ,1870
12
- cosmotech/coal/azure/adx/runner.py,sha256=_rMzpaIYaZh-HDjadz-KiENGLvGlKczxnTaAgzs_J7w,8365
12
+ cosmotech/coal/azure/adx/runner.py,sha256=FDrVaf-KDqHunPIQ7nUt57_-9pLPWXleNREgdHn9qeI,8333
13
13
  cosmotech/coal/azure/adx/store.py,sha256=IFQIi4tCmxL0NyFJhyJnUqbTt3Vwgb77900xcKprGzY,9096
14
14
  cosmotech/coal/azure/adx/tables.py,sha256=hwmiQI8OccNf3Npf8jd2wOF5hL8I2s4IkgTx8jqtSCU,4292
15
15
  cosmotech/coal/azure/adx/utils.py,sha256=nOq4WLTMDs95da-jsWJVYcv2MRcwUMvARv5Z0ivIVUo,2205
16
- cosmotech/coal/cosmotech_api/__init__.py,sha256=sXA-WNRBWaXZdTwOR0-sD_HOkYvDaZYoHrzBz_o5-d0,1178
16
+ cosmotech/coal/cosmotech_api/__init__.py,sha256=ufYjA_WF0CNpU63jGlPqtY1kWiLu6Qj7TNVHbRk8n0A,1320
17
17
  cosmotech/coal/cosmotech_api/connection.py,sha256=dMI0vSv7ic1hEgtsIN92t008QI0bQrq8kmbMgqg3EF4,3953
18
18
  cosmotech/coal/cosmotech_api/parameters.py,sha256=2_ynoXfyK2pUtuZsYEamOKwfs0N6Kw2s-YE4zuPKkgM,1892
19
19
  cosmotech/coal/cosmotech_api/run.py,sha256=6Fnd3aUbWg4S-KqVG0abRfnorlNzGHY89AkheKNHprs,1001
@@ -23,23 +23,24 @@ cosmotech/coal/cosmotech_api/twin_data_layer.py,sha256=haJPx0hE84Q5pwEZlXlnrB-3u
23
23
  cosmotech/coal/cosmotech_api/workspace.py,sha256=0qPf8h23z57AUVxRoSxD9lW_dSvfsq_pawcqFYaaaok,5488
24
24
  cosmotech/coal/cosmotech_api/dataset/__init__.py,sha256=UqRrDC2AFWImJu-wTAIzj7hIhc826n_57kTtBzCDWp0,972
25
25
  cosmotech/coal/cosmotech_api/dataset/converters.py,sha256=uTqaEzXMvIH7rTBqQA5if2GML32nsiohEP3eFIVPmLc,6151
26
+ cosmotech/coal/cosmotech_api/dataset/upload.py,sha256=Fmwx9zg5FPQcSd72YXeClB6ZCCi6IUlkAgGVs11Fvn4,1458
26
27
  cosmotech/coal/cosmotech_api/dataset/utils.py,sha256=Pb6Lh3WNZHvbM8P6RdYjVQY8Ymfcxp35YmbBX_KKdWM,4438
27
28
  cosmotech/coal/cosmotech_api/dataset/download/__init__.py,sha256=kzIe46X9cmdg83y4JBjqAasY624BTXNL1yCADQkoyR4,886
28
29
  cosmotech/coal/cosmotech_api/dataset/download/adt.py,sha256=PwfkSYTCizkE81Huh5J8BShOXQnrjUvebRsgT-nYZpw,4731
29
30
  cosmotech/coal/cosmotech_api/dataset/download/common.py,sha256=KuVEzOA_abAwtwbcdry8zmqXAuQvy-NGeg1Ot9_MMuU,5665
30
- cosmotech/coal/cosmotech_api/dataset/download/file.py,sha256=X4ZNVjzl9ZC8J02CjRQeptZT6FPYBuxPsw-XPssP8YE,8914
31
- cosmotech/coal/cosmotech_api/dataset/download/twingraph.py,sha256=iHDvsm7odQQ5gyT7a3LcvcdNA6nHTIaWJUCFb9ryjr0,7373
31
+ cosmotech/coal/cosmotech_api/dataset/download/file.py,sha256=F_Y-O8W0VSXjDkmE9qEaM_fO7FRN_6jCND5dyCZpGz4,8410
32
+ cosmotech/coal/cosmotech_api/dataset/download/twingraph.py,sha256=xumPNAGcB3t0ZMztvuUUnSmxoB9t-WUF3lqX8fEtWrY,7383
32
33
  cosmotech/coal/cosmotech_api/runner/__init__.py,sha256=hEfmv6nF0hxSWMOnWZF0Fy7PJtHexVf-_cXPsxoY7Ho,1081
33
34
  cosmotech/coal/cosmotech_api/runner/data.py,sha256=BtCRi_c_3aGUSBjaPt5MOajWO6WFsJdBrIrx4GMt1AE,1346
34
- cosmotech/coal/cosmotech_api/runner/datasets.py,sha256=ojDkHGrobsygLr2CRYROetqm9zeWv1S1Bc_4Az4z874,12271
35
- cosmotech/coal/cosmotech_api/runner/download.py,sha256=YZRmhsX9TVjvhtgFhY4uvsJ3If0G43OiiERkCdoOKHE,5655
35
+ cosmotech/coal/cosmotech_api/runner/datasets.py,sha256=_jrjYGepVfjL5iCNoqg29tKNwweupfbYCUwZkNE_gxo,13555
36
+ cosmotech/coal/cosmotech_api/runner/download.py,sha256=G02poKQrKpYQdR_JjKesINjWeqZ95uUyl-TDulWwSN8,5254
36
37
  cosmotech/coal/cosmotech_api/runner/metadata.py,sha256=eZHtlVMqsQ6WO9F-mDparjIy7tFl7kU-OqguKaI44jE,1432
37
38
  cosmotech/coal/cosmotech_api/runner/parameters.py,sha256=mKRRBPZOD_tPOTyxUAL2o9nRy_KZ5Z687MkL2uhqvIc,4651
38
39
  cosmotech/coal/csm/__init__.py,sha256=iD-xBT9s4HxXsO6FFIZiwlEmOl3qtsh93zHh9UKkT1g,413
39
40
  cosmotech/coal/csm/engine/__init__.py,sha256=EG3iArAy3OFGPmClsYXQmb77YYrEkeVC5uwPg_TbAYI,2120
40
41
  cosmotech/coal/postgresql/__init__.py,sha256=766LBZyWCQUI6rlzXDY_C9Yrxg551VX2L4lOuhDiS8w,786
41
- cosmotech/coal/postgresql/runner.py,sha256=pltj7u_qp-erfZtxUPG6srw-tyObHT1Z95JYMbdR2Nc,3522
42
- cosmotech/coal/postgresql/store.py,sha256=h6NCRax354uIAbkmqCqpcm8A6-u2g7uCB-70tTyyChw,3535
42
+ cosmotech/coal/postgresql/runner.py,sha256=lxUDrbwW-YhWgPiEBRMt_I5zR8DfDNJyvbRwzk5ixDU,3647
43
+ cosmotech/coal/postgresql/store.py,sha256=uH1MooLfEDmNVO6KNQDrzUpC7YaLGzfdLt3KqBoD_Go,3643
43
44
  cosmotech/coal/singlestore/__init__.py,sha256=gXQaa8OAHnDcI7iHy-5zzGG7ZqNq-uOtw60qASjwu9I,651
44
45
  cosmotech/coal/singlestore/store.py,sha256=jF3gkg2qW_SrtbVKkBJ-SCtV6ukd2eLnFySOvMZFvMY,3577
45
46
  cosmotech/coal/store/__init__.py,sha256=kWGM9B-Y-M257OYbouJ-1JLES5qecQbGeUBbcgyrsEo,1307
@@ -49,42 +50,43 @@ cosmotech/coal/store/pandas.py,sha256=A2eWPDsAqI2fTNmIpJa0Qzwrh3vMfvSHPLuoxQ77OP
49
50
  cosmotech/coal/store/pyarrow.py,sha256=i7f7vSd5BtOnR4oleRHTG3ff0o8NaJr4c9fRb7zgYmE,814
50
51
  cosmotech/coal/store/store.py,sha256=a9wSThk7K8tD1r_BJG1Zl2d4pfo23TqKUH82_u9H-tk,3353
51
52
  cosmotech/coal/utils/__init__.py,sha256=N2mPhli0Wj4OesuRVbt2KrzL_pgMELs4fDNIQYb_r-g,830
52
- cosmotech/coal/utils/api.py,sha256=OhuATEWIih4N0t6LH6dsLZHTMkV-Ko7KAk8tyKDxYfo,2777
53
+ cosmotech/coal/utils/decorator.py,sha256=j8MGkm4tgYVmBji0Veug4uq3Ed-f4OKe9XANs47_EG0,679
53
54
  cosmotech/coal/utils/logger.py,sha256=oYVj2BtDPji4e4J-KgaDyVcbKiewkq0xey_gQPm74Xc,506
54
55
  cosmotech/coal/utils/postgresql.py,sha256=6gxk3yfkZkaJQbIG-Zxcwo7J3PI29XPLn0VdQimGSH0,8562
56
+ cosmotech/coal/utils/semver.py,sha256=VTjixXNBeUe6A02AK6olNxeqToOCWcKih6VZun09E7A,162
55
57
  cosmotech/csm_data/__init__.py,sha256=iD-xBT9s4HxXsO6FFIZiwlEmOl3qtsh93zHh9UKkT1g,413
56
- cosmotech/csm_data/main.py,sha256=rbfD_3RLSQFC5xXwV0W1wNiw2mlRO91xShLTpqrUEIg,2251
58
+ cosmotech/csm_data/main.py,sha256=q20Gl1x7DV0gWStnWJUVnhUrvv-TPrUhv3e-5X3TDEM,2424
57
59
  cosmotech/csm_data/commands/__init__.py,sha256=iD-xBT9s4HxXsO6FFIZiwlEmOl3qtsh93zHh9UKkT1g,413
58
- cosmotech/csm_data/commands/adx_send_data.py,sha256=ABG4X5YuV2HO8mxSF7yIq6lgrXFik0xoIvMNJfWvxD4,2638
59
- cosmotech/csm_data/commands/adx_send_runnerdata.py,sha256=Hk8TL12-5tv-fDyJbLm40VCNVlECnZJjOShTJ4U0118,3713
60
- cosmotech/csm_data/commands/az_storage_upload.py,sha256=tJVNkjF76xx3CamBlHZirS_h_ABxwLasZZs5CSlPBp0,2344
61
- cosmotech/csm_data/commands/s3_bucket_delete.py,sha256=MD2qWxjlsOgxU6T7ptgjeKl83ABqxNPxl4eWkxy6Eic,3026
62
- cosmotech/csm_data/commands/s3_bucket_download.py,sha256=dIki-76N7UvKO7UgLEw6jYRlCNXkS7uFWMh8jKZeY3g,3347
63
- cosmotech/csm_data/commands/s3_bucket_upload.py,sha256=yG11h8ELbr25gs6qUkBUrqYFT8rtLiSiPnW_5K9hSR8,3563
60
+ cosmotech/csm_data/commands/adx_send_data.py,sha256=wKt30RmuS1FdnhgW0mJZVXifnI_YLRLaj4w5DYlPl7s,2638
61
+ cosmotech/csm_data/commands/adx_send_runnerdata.py,sha256=SHZ0RijCnYRrAdCgdbW_YTaN3joihtNtbLzZAICCzJ4,3713
62
+ cosmotech/csm_data/commands/az_storage_upload.py,sha256=7qXhFxftfil72tG23HTvHiW708t4QkM4rymcFJSPCj4,2344
63
+ cosmotech/csm_data/commands/s3_bucket_delete.py,sha256=0k56xKOPp7CRP-OGL5qqETgdCmcSnx6PjiGGE5ha1Bs,3026
64
+ cosmotech/csm_data/commands/s3_bucket_download.py,sha256=vyEmKA2EUbb0glBXI1IXx-GKG6Fgoqys1hZONjb_qpI,3347
65
+ cosmotech/csm_data/commands/s3_bucket_upload.py,sha256=eKIQd-RDwYKjGADYsoMYuT9-I6jYT2-16BH2rVEMbuM,3563
64
66
  cosmotech/csm_data/commands/api/__init__.py,sha256=iD-xBT9s4HxXsO6FFIZiwlEmOl3qtsh93zHh9UKkT1g,413
65
- cosmotech/csm_data/commands/api/api.py,sha256=UZL_wsanIVmLzah-gjrFYlSyRdvenXzPW5gA46otmRw,2475
66
- cosmotech/csm_data/commands/api/postgres_send_runner_metadata.py,sha256=3ce7kLnS86LJd8YhSYjJoRYEL0WtHSV60p0LYEReVOA,3710
67
- cosmotech/csm_data/commands/api/rds_load_csv.py,sha256=JVbJ9qYJswuHnYQ4OjNuVzzTBO-KJqcQZpNlg_a0fuQ,2757
68
- cosmotech/csm_data/commands/api/rds_send_csv.py,sha256=Aq57WQaS0jIzFuWPvjHCDy1uYfwvCuHbeo-9MOnYrIo,2310
69
- cosmotech/csm_data/commands/api/rds_send_store.py,sha256=4jphfj0-A2dv1M359rQPfgmjOVaih5eDCRTWGvEK_yw,2328
70
- cosmotech/csm_data/commands/api/run_load_data.py,sha256=z0JRoAV-OR06-bGfL_0XCyEIv0vNG5NnF2p2Fmmears,3725
71
- cosmotech/csm_data/commands/api/runtemplate_load_handler.py,sha256=Oxymn4i7hfvUNZVnqkGqydOeFI9pYLJQ_8tnsJe8WlE,2275
72
- cosmotech/csm_data/commands/api/tdl_load_files.py,sha256=yH9LypCzQyVoVvP-BonbbO5TQ_9-VyvczkkjRUTnOpQ,2394
73
- cosmotech/csm_data/commands/api/tdl_send_files.py,sha256=yEJepPmChk4gPYpmhpCqTGS1wP1EaZnMo7J0mqy1Q9A,2474
74
- cosmotech/csm_data/commands/api/wsf_load_file.py,sha256=trOX6V9ghvNoTwANYeuRT-4D0ptwUaN17hTCUQvrjX8,2307
75
- cosmotech/csm_data/commands/api/wsf_send_file.py,sha256=POWrjXwEqg9jKf3Ne7KvIEfIX53GXJUEwrm_3Sw-gtw,2191
67
+ cosmotech/csm_data/commands/api/api.py,sha256=rzxb7zX_CJCzrOUxIN75mwARmQWhCmha4ogh1r3JAmg,2479
68
+ cosmotech/csm_data/commands/api/postgres_send_runner_metadata.py,sha256=ZRcTICk_3DKyl3Gic-L6mqfWeT8hEcU5AvY6c8UQ8_E,4076
69
+ cosmotech/csm_data/commands/api/rds_load_csv.py,sha256=9GMK1ViazuZIuwfuRj6SyhqMa39Oc0b0yRtX60_G0mw,2757
70
+ cosmotech/csm_data/commands/api/rds_send_csv.py,sha256=_YeKCnKHEtxFluGRjRqZKdUMVn2bO3pAGBJQFYHUj7Y,2310
71
+ cosmotech/csm_data/commands/api/rds_send_store.py,sha256=7_pgWtHfmFF-evuO7EOzFX6N7V5d2EsO-KG46B-F13Q,2328
72
+ cosmotech/csm_data/commands/api/run_load_data.py,sha256=oRnoIj2EXPG8Q2fcvrzt69eX4LNCVCO612qejsOivBM,3725
73
+ cosmotech/csm_data/commands/api/runtemplate_load_handler.py,sha256=qWS0I1fNN6VFx7lHJoOWCv30WGI2q32B9_Zyr5KpBSM,2275
74
+ cosmotech/csm_data/commands/api/tdl_load_files.py,sha256=O4FsRNutyEvdDUBYElLxrzEhJcXVyO9hpOdiM6FEQ5E,2394
75
+ cosmotech/csm_data/commands/api/tdl_send_files.py,sha256=QXToEHbZvEhdh88xHamXj9mPQo1Hm2UPxaMkgNEspaw,2474
76
+ cosmotech/csm_data/commands/api/wsf_load_file.py,sha256=rDu8w4TAP7vmcbs8oh2eZOPVWEVKXsdgAgaYl980lfY,2321
77
+ cosmotech/csm_data/commands/api/wsf_send_file.py,sha256=M8pJxf78546onU55a0jKJ4fEnaS9Cyw4x_4NpRps0TE,2201
76
78
  cosmotech/csm_data/commands/store/__init__.py,sha256=iD-xBT9s4HxXsO6FFIZiwlEmOl3qtsh93zHh9UKkT1g,413
77
- cosmotech/csm_data/commands/store/dump_to_azure.py,sha256=EoLOvV455KWIM14S57r0rB50GcXiNSUb6ZIZWY3JuPY,3313
78
- cosmotech/csm_data/commands/store/dump_to_postgresql.py,sha256=S4_TECnTkV8dAVGP5oLqsw87ue5VjJxiS3tPQ0fXsO0,3241
79
- cosmotech/csm_data/commands/store/dump_to_s3.py,sha256=iluAUu8GhfFySlcrDOEP73_dIC8PWvelMPYcxKnuP10,5248
80
- cosmotech/csm_data/commands/store/list_tables.py,sha256=srePDwGAhmX8J3qixWJHnZ0bYLOd50HAzygoSd30UHI,1860
81
- cosmotech/csm_data/commands/store/load_csv_folder.py,sha256=Io8knlxrtq7w-SOjOL0XgVvC0smeyUrU54QsJ6EbBVI,1717
82
- cosmotech/csm_data/commands/store/load_from_singlestore.py,sha256=TGmD8rJE5Q-5SLyEuM5ReebuH7eJjRFzD4F_qmoKbkU,3104
83
- cosmotech/csm_data/commands/store/reset.py,sha256=XLn3FtiD0WUHapWLxGRlCrT7hFbrYi5Ak4FbcFvhM4c,1237
84
- cosmotech/csm_data/commands/store/store.py,sha256=-tlkGOb4yagP1IrSLz4JP5pVcgBBz-j_V7C7_0soUJc,1740
79
+ cosmotech/csm_data/commands/store/dump_to_azure.py,sha256=5nnK7LUATRTlfX8tmFRLBmkD15bgG37Lyn7fEuPJiNE,3313
80
+ cosmotech/csm_data/commands/store/dump_to_postgresql.py,sha256=3ZfIwIfLXYeBb6SwBSV6-CiWdid8Udht4ILWeZNdLWM,3596
81
+ cosmotech/csm_data/commands/store/dump_to_s3.py,sha256=TUOTtIsx-n8c2hHglQ8yr6diqpS-LYKF41a8RzW_qkc,5248
82
+ cosmotech/csm_data/commands/store/list_tables.py,sha256=epgVJAaP8QfSsEuL9n5S8smsfIxK-Cr0bLv88FAnkWw,1860
83
+ cosmotech/csm_data/commands/store/load_csv_folder.py,sha256=gDKCxWIpXqhtRvlvRMM7SmyJ9_YHQ1UZHuA6NYdPTZA,1717
84
+ cosmotech/csm_data/commands/store/load_from_singlestore.py,sha256=dWZ4jIKl8wsnOX_6qqtyQmkFQhLgjUAOZWab-sGzQ2g,3104
85
+ cosmotech/csm_data/commands/store/reset.py,sha256=3B0E0m0nCy3vwai_D5sWWddMZWuWkWnaL1tvgR6L5Ow,1237
86
+ cosmotech/csm_data/commands/store/store.py,sha256=JHfctOCOU2WJd_BpmBsIf805_hGAs2H6XysFt4hxQqI,1693
85
87
  cosmotech/csm_data/utils/__init__.py,sha256=iD-xBT9s4HxXsO6FFIZiwlEmOl3qtsh93zHh9UKkT1g,413
86
88
  cosmotech/csm_data/utils/click.py,sha256=S_85cbKh3R86-FZVjTK7IXZnmp4ETjKo6K8gbK3HCgs,848
87
- cosmotech/csm_data/utils/decorators.py,sha256=QTxnOSPqIDHTlI2UZ5dXjGGseguIDeK42syFRtg6zEk,2450
89
+ cosmotech/csm_data/utils/decorators.py,sha256=dTcPRTYqY18mc8Ql4Qwd3gU7BxbNxfeKskQdVIsE3-g,2504
88
90
  cosmotech/orchestrator_plugins/csm-data/__init__.py,sha256=UPzNgaNBMoBaxSlnofxl988dAswMp_tv8DzaR_IxkiE,519
89
91
  cosmotech/orchestrator_plugins/csm-data/templates/api/postgres_send_runner_metadata.json,sha256=alXzvOa985PvN5nf3uoTsFXgY29EJWeK94CcBjoLFUk,1085
90
92
  cosmotech/orchestrator_plugins/csm-data/templates/api/rds_load_csv.json,sha256=nM2hVFqE6Mja6u6becVStJTD8POcu76Ys0oW-mU6-TU,819
@@ -132,10 +134,38 @@ cosmotech/translation/coal/en-US/coal/services/dataset.yml,sha256=J-lP802jTb7J6C
132
134
  cosmotech/translation/coal/en-US/coal/services/postgresql.yml,sha256=tRGNTTayyoxEHVyM-nzudEFdQ5HUeRIHPWIuvFmJGfM,1774
133
135
  cosmotech/translation/coal/en-US/coal/services/s3.yml,sha256=362wt7SdOu-MyMj9MgjQNTNWzIq-RJ9rUqc2VKljGFE,482
134
136
  cosmotech/translation/csm_data/__init__.py,sha256=iD-xBT9s4HxXsO6FFIZiwlEmOl3qtsh93zHh9UKkT1g,413
135
- cosmotech/translation/csm_data/en-US/csm-data.yml,sha256=-JBxRtO24_XeozLBm3VSwYcfgzeZOiwT-5Fh_-dDLEw,20450
136
- cosmotech_acceleration_library-1.0.0.dist-info/licenses/LICENSE,sha256=JXKHOQtyObmafNbQlfPYc4HkKjU9FzAP27b2qRTXNM8,1195
137
- cosmotech_acceleration_library-1.0.0.dist-info/METADATA,sha256=TtBM5HI7Gf9Y3ntDIotVX-HMTBbAVxYuj_E_tfwypJg,9493
138
- cosmotech_acceleration_library-1.0.0.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
139
- cosmotech_acceleration_library-1.0.0.dist-info/entry_points.txt,sha256=HWRqJurKuBUgqFe4jmjIAQrs768Nbb8ZTdRDLbuKM5Q,58
140
- cosmotech_acceleration_library-1.0.0.dist-info/top_level.txt,sha256=t2pzb8mpMUfHTa9l2SjWP0rRB8XVRjBdQK5nLx9XDDo,10
141
- cosmotech_acceleration_library-1.0.0.dist-info/RECORD,,
137
+ cosmotech/translation/csm_data/en-US/csm_data/commands/main.yml,sha256=3XbXR5_Uo7PxJOWzm7XRMvPVxK-fzOL4FxWWY7rX3eg,396
138
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/api.yml,sha256=eMT4s1H9LuNUh_sAlnEtg7Co4ie3bFfB1vkwnLW28dQ,340
139
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/postgres_send_runner_metadata.yml,sha256=avckcrp2aYz7rzGCKEdL81hwHDVbcUn2csQ_krKLcaM,844
140
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/rds_load_csv.yml,sha256=jaCmdHY0fJp9Sh2PcOizMyPIdvZU2iTIoSLNdfuLCXE,668
141
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/rds_send_csv.yml,sha256=0I9MAGgdCmNHGN3sdRVSWzEobAABFsb9qVG_l0Vk7Sg,580
142
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/rds_send_store.yml,sha256=9vRnrqYYzSYMPNzR-Q7Gw5G7LOWlEd5GWepSyzg49i4,574
143
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/run_load_data.yml,sha256=k5J3HTA8vCmI_7CFHvMP51EAbmefubuoEhXZf2V3XDo,765
144
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/runtemplate_load_handler.yml,sha256=9jvMa6fb99CPzTMx7nnuoNNzJw7_7rapee7P80Plxjs,353
145
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/tdl_load_files.yml,sha256=ko4Nw96w6vBhE-68swd9h4edWgXCWIfMGqYc8Fvh2LM,569
146
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/tdl_send_files.yml,sha256=13eacNdU6i92XemHyx-bzIdXbQUIs6eg2YiT3SxivyM,836
147
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/wsf_load_file.yml,sha256=cnR_0PMkbrj8GROgvIUyeLXiB90IBbkcTvM9WJDEM0k,511
148
+ cosmotech/translation/csm_data/en-US/csm_data/commands/api/wsf_send_file.yml,sha256=yvsD364GND1jLe_SJxuNXjDgGZFGlJlC5xUTRqV0fr0,632
149
+ cosmotech/translation/csm_data/en-US/csm_data/commands/storage/adx_send_data.yml,sha256=oNQMHhHMRTl7EfFLuEy5agctzgwGHsyKzAu6hlSUyU4,448
150
+ cosmotech/translation/csm_data/en-US/csm_data/commands/storage/adx_send_runnerdata.yml,sha256=_IAZO1VVc2eVznA2VLb0_o3sEc8cSO-xw3H90pUTVGg,884
151
+ cosmotech/translation/csm_data/en-US/csm_data/commands/storage/az_storage_upload.yml,sha256=KmVGI1RwFfFQnMUPAlRTJ6K3OXAYTy7GAitZfcWKdrw,473
152
+ cosmotech/translation/csm_data/en-US/csm_data/commands/storage/s3_bucket_delete.yml,sha256=GUCNXpiRui-BRwP8A7M4dXGr3LMBJw99z-b1ToFuESY,792
153
+ cosmotech/translation/csm_data/en-US/csm_data/commands/storage/s3_bucket_download.yml,sha256=GQPNFcdB0hIldX0kDBFNzHs11RckPBAA697BAJugZx8,872
154
+ cosmotech/translation/csm_data/en-US/csm_data/commands/storage/s3_bucket_upload.yml,sha256=jIrdisG9FcvTrCM5jvTaCYccKKXtah7huSvXDK8bdEA,1100
155
+ cosmotech/translation/csm_data/en-US/csm_data/commands/storage/storage.yml,sha256=NZrRzfnOpXrX5wBpEqr40CCmNGP5MXJ-aO7ks1YM58s,144
156
+ cosmotech/translation/csm_data/en-US/csm_data/commands/store/dump_to_azure.yml,sha256=JqT9Cu1m4CLmZWvXTHAIS3xS8rK_BeKL041OEliBbn8,1299
157
+ cosmotech/translation/csm_data/en-US/csm_data/commands/store/dump_to_postgresql.yml,sha256=QEQVHuXrSMsT2uOkiF-oMYlir1mINXXL-Irro_Ra3RM,900
158
+ cosmotech/translation/csm_data/en-US/csm_data/commands/store/dump_to_s3.yml,sha256=7pbLObdjZjcKeSfYI_3oAzp9AZOrwT5WiMcLOTj5rCc,1268
159
+ cosmotech/translation/csm_data/en-US/csm_data/commands/store/list_tables.yml,sha256=-x8zwCjAHILFaJv7VLPskipSoQTwmI7jUsxlx6_OKlc,195
160
+ cosmotech/translation/csm_data/en-US/csm_data/commands/store/load_csv_folder.yml,sha256=9HjW9tOq5o31jmADp_QIync7G74c6XGiPqofXh8pvv8,228
161
+ cosmotech/translation/csm_data/en-US/csm_data/commands/store/load_from_singlestore.yml,sha256=_OUXlxC_wi-GPgHU7EVdU9g0WIdblVpEA4WIzw4aQcQ,824
162
+ cosmotech/translation/csm_data/en-US/csm_data/commands/store/reset.yml,sha256=JMspZ25Q2HDpH8MYqUaQcveUnCgdH21RmfTCrPf2gW8,139
163
+ cosmotech/translation/csm_data/en-US/csm_data/commands/store/store.yml,sha256=N1Q8483gqJADaCe30S1M3Rj0tMJiuQiJH70-VK2x2m4,134
164
+ cosmotech/translation/csm_data/en-US/csm_data/commons/decorators.yml,sha256=Iu59NWMfYlZZf9uUhOiLkIEGa4GY5p0nZ6vG06Xvu7k,51
165
+ cosmotech/translation/csm_data/en-US/csm_data/commons/version.yml,sha256=7jtCV3O1S6pGjiJa63XpgPDTafjfBS0xmEVRpYNvfDg,86
166
+ cosmotech_acceleration_library-1.1.0.dist-info/licenses/LICENSE,sha256=JXKHOQtyObmafNbQlfPYc4HkKjU9FzAP27b2qRTXNM8,1195
167
+ cosmotech_acceleration_library-1.1.0.dist-info/METADATA,sha256=0vbzAbv9QAqsAupcJkidNhiKPxpcST4kfalLmzOTm9g,9432
168
+ cosmotech_acceleration_library-1.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
169
+ cosmotech_acceleration_library-1.1.0.dist-info/entry_points.txt,sha256=HWRqJurKuBUgqFe4jmjIAQrs768Nbb8ZTdRDLbuKM5Q,58
170
+ cosmotech_acceleration_library-1.1.0.dist-info/top_level.txt,sha256=t2pzb8mpMUfHTa9l2SjWP0rRB8XVRjBdQK5nLx9XDDo,10
171
+ cosmotech_acceleration_library-1.1.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (79.0.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,68 +0,0 @@
1
- # Copyright (C) - 2023 - 2025 - Cosmo Tech
2
- # This document and all information contained herein is the exclusive property -
3
- # including all intellectual property rights pertaining thereto - of Cosmo Tech.
4
- # Any use, reproduction, translation, broadcasting, transmission, distribution,
5
- # etc., to any person is prohibited unless it has been previously and
6
- # specifically authorized by written means by Cosmo Tech.
7
-
8
- import json
9
- import pathlib
10
- from typing import Optional
11
-
12
- import cosmotech_api
13
- import yaml
14
- from cosmotech_api.api.solution_api import Solution
15
- from cosmotech_api.api.solution_api import SolutionApi
16
- from cosmotech_api.api.workspace_api import Workspace
17
- from cosmotech_api.api.workspace_api import WorkspaceApi
18
- from cosmotech_api.exceptions import ServiceException
19
-
20
- from cosmotech.coal.cosmotech_api.connection import get_api_client
21
- from cosmotech.coal.utils.logger import LOGGER
22
- from cosmotech.orchestrator.utils.translate import T
23
-
24
-
25
- def read_solution_file(solution_file) -> Optional[Solution]:
26
- solution_path = pathlib.Path(solution_file)
27
- if solution_path.suffix in [".yaml", ".yml"]:
28
- open_function = yaml.safe_load
29
- elif solution_path.suffix == ".json":
30
- open_function = json.load
31
- else:
32
- LOGGER.error(T("coal.cosmotech_api.solution.invalid_file").format(file=solution_file))
33
- return None
34
- with solution_path.open() as _sf:
35
- solution_content = open_function(_sf)
36
- LOGGER.info(T("coal.cosmotech_api.solution.loaded").format(path=solution_path.absolute()))
37
- _solution = Solution(
38
- _configuration=cosmotech_api.Configuration(),
39
- _spec_property_naming=True,
40
- **solution_content,
41
- )
42
- LOGGER.debug(
43
- T("coal.services.api.solution_debug").format(solution=json.dumps(_solution.to_dict(), indent=2, default=str))
44
- )
45
- return _solution
46
-
47
-
48
- def get_solution(organization_id, workspace_id) -> Optional[Solution]:
49
- LOGGER.info(T("coal.cosmotech_api.solution.api_configured"))
50
- with get_api_client()[0] as api_client:
51
- api_w = WorkspaceApi(api_client)
52
-
53
- LOGGER.info(T("coal.cosmotech_api.solution.loading_workspace"))
54
- try:
55
- r_data: Workspace = api_w.find_workspace_by_id(organization_id=organization_id, workspace_id=workspace_id)
56
- except ServiceException as e:
57
- LOGGER.error(
58
- T("coal.cosmotech_api.workspace.not_found").format(
59
- workspace_id=workspace_id, organization_id=organization_id
60
- )
61
- )
62
- LOGGER.debug(e)
63
- return None
64
- solution_id = r_data.solution.solution_id
65
-
66
- api_sol = SolutionApi(api_client)
67
- sol: Solution = api_sol.find_solution_by_id(organization_id=organization_id, solution_id=solution_id)
68
- return sol