qwak-core 0.6.7__py3-none-any.whl → 0.7.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.
- frogml_storage/__init__.py +1 -0
- frogml_storage/artifactory/__init__.py +1 -0
- frogml_storage/artifactory/_artifactory_api.py +315 -0
- frogml_storage/authentication/login/__init__.py +1 -0
- frogml_storage/authentication/login/_login_cli.py +239 -0
- frogml_storage/authentication/login/_login_command.py +74 -0
- frogml_storage/authentication/models/__init__.py +3 -0
- frogml_storage/authentication/models/_auth.py +24 -0
- frogml_storage/authentication/models/_auth_config.py +70 -0
- frogml_storage/authentication/models/_login.py +22 -0
- frogml_storage/authentication/utils/__init__.py +18 -0
- frogml_storage/authentication/utils/_authentication_utils.py +284 -0
- frogml_storage/authentication/utils/_login_checks_utils.py +114 -0
- frogml_storage/base_storage.py +140 -0
- frogml_storage/constants.py +56 -0
- frogml_storage/exceptions/checksum_verification_error.py +3 -0
- frogml_storage/exceptions/validation_error.py +4 -0
- frogml_storage/frog_ml.py +668 -0
- frogml_storage/http/__init__.py +1 -0
- frogml_storage/http/http_client.py +83 -0
- frogml_storage/logging/__init__.py +1 -0
- frogml_storage/logging/_log_config.py +45 -0
- frogml_storage/logging/log_utils.py +21 -0
- frogml_storage/models/__init__.py +1 -0
- frogml_storage/models/_download_context.py +54 -0
- frogml_storage/models/dataset_manifest.py +13 -0
- frogml_storage/models/entity_manifest.py +93 -0
- frogml_storage/models/frogml_dataset_version.py +21 -0
- frogml_storage/models/frogml_entity_type_info.py +50 -0
- frogml_storage/models/frogml_entity_version.py +34 -0
- frogml_storage/models/frogml_model_version.py +21 -0
- frogml_storage/models/model_manifest.py +60 -0
- frogml_storage/models/serialization_metadata.py +15 -0
- frogml_storage/utils/__init__.py +12 -0
- frogml_storage/utils/_environment.py +21 -0
- frogml_storage/utils/_input_checks_utility.py +104 -0
- frogml_storage/utils/_storage_utils.py +15 -0
- frogml_storage/utils/_url_utils.py +27 -0
- qwak/__init__.py +1 -1
- qwak/clients/model_management/client.py +5 -0
- qwak/clients/project/client.py +7 -0
- qwak/inner/const.py +8 -0
- qwak/inner/di_configuration/account.py +67 -6
- qwak/inner/di_configuration/dependency_wiring.py +0 -2
- qwak/inner/tool/auth.py +83 -0
- qwak/inner/tool/grpc/grpc_auth.py +35 -0
- qwak/inner/tool/grpc/grpc_tools.py +37 -14
- qwak/inner/tool/grpc/grpc_try_wrapping.py +1 -3
- qwak/qwak_client/client.py +6 -0
- {qwak_core-0.6.7.dist-info → qwak_core-0.7.0.dist-info}/METADATA +1 -1
- {qwak_core-0.6.7.dist-info → qwak_core-0.7.0.dist-info}/RECORD +54 -30
- qwak_services_mock/mocks/qwak_mocks.py +2 -8
- qwak_services_mock/services_mock.py +0 -24
- qwak/clients/vector_store/__init__.py +0 -2
- qwak/clients/vector_store/management_client.py +0 -124
- qwak/clients/vector_store/serving_client.py +0 -156
- qwak/vector_store/__init__.py +0 -4
- qwak/vector_store/client.py +0 -150
- qwak/vector_store/collection.py +0 -426
- qwak/vector_store/filters.py +0 -354
- qwak/vector_store/inference_client.py +0 -103
- qwak/vector_store/rest_helpers.py +0 -72
- qwak/vector_store/utils/__init__.py +0 -0
- qwak/vector_store/utils/filter_utils.py +0 -21
- qwak/vector_store/utils/upsert_utils.py +0 -217
- qwak_services_mock/mocks/vector_serving_api.py +0 -154
- qwak_services_mock/mocks/vectors_management_api.py +0 -96
- {qwak_core-0.6.7.dist-info → qwak_core-0.7.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
home_dir = os.path.expanduser("~")
|
|
4
|
+
|
|
5
|
+
JFROG_CLI_CONFIG_FILE_PATH = os.path.join(home_dir, ".jfrog", "jfrog-cli.conf.v6")
|
|
6
|
+
CONFIG_FILE_PATH = os.path.join(home_dir, ".frogml", "config.json")
|
|
7
|
+
|
|
8
|
+
FROG_ML_CONFIG_USER = "user"
|
|
9
|
+
FROG_ML_CONFIG_ARTIFACTORY_URL = "artifactory_url"
|
|
10
|
+
FROG_ML_CONFIG_PASSWORD = "password" # nosec B105
|
|
11
|
+
FROG_ML_CONFIG_ACCESS_TOKEN = "access_token" # nosec B105
|
|
12
|
+
FROG_ML_DEFAULT_HTTP_THREADS_COUNT = 5
|
|
13
|
+
FROG_ML_MAX_CHARS_FOR_NAME = 60
|
|
14
|
+
|
|
15
|
+
SERVER_ID = "server_id"
|
|
16
|
+
|
|
17
|
+
JFROG_CLI_CONFIG_ARTIFACTORY_URL = "artifactoryUrl"
|
|
18
|
+
JFROG_CLI_CONFIG_URL = "url"
|
|
19
|
+
JFROG_CLI_CONFIG_USER = "user"
|
|
20
|
+
JFROG_CLI_CONFIG_PASSWORD = "password" # nosec B105
|
|
21
|
+
JFROG_CLI_CONFIG_ACCESS_TOKEN = "accessToken" # nosec B105
|
|
22
|
+
|
|
23
|
+
MODEL = "model"
|
|
24
|
+
ROOT_FROGML_MODEL_UI_DIRECTORY = "models"
|
|
25
|
+
MODEL_UI_DIRECTORY = "model"
|
|
26
|
+
MODEL_METADATA_FILE_NAME = "model-manifest.json"
|
|
27
|
+
BODY_PART_MODEL_MANIFEST_STREAM = "modelManifest"
|
|
28
|
+
|
|
29
|
+
DATASET = "dataset"
|
|
30
|
+
ROOT_FROGML_DATASET_UI_DIRECTORY = "datasets"
|
|
31
|
+
DATASET_UI_DIRECTORY = "dataset"
|
|
32
|
+
DATASET_METADATA_FILE_NAME = "dataset-manifest.json"
|
|
33
|
+
BODY_PART_DATASET_MANIFEST_STREAM = "datasetManifest"
|
|
34
|
+
|
|
35
|
+
CHECKSUM_SHA2_HEADER = "X-Checksum-Sha256"
|
|
36
|
+
|
|
37
|
+
JFML_THREAD_COUNT = "JFML_THREAD_COUNT"
|
|
38
|
+
JF_URL = "JF_URL"
|
|
39
|
+
JF_ACCESS_TOKEN = "JF_ACCESS_TOKEN" # nosec B105
|
|
40
|
+
|
|
41
|
+
FROG_ML_IGNORED_FILES = [
|
|
42
|
+
".DS_Store",
|
|
43
|
+
"CVS",
|
|
44
|
+
".cvsignore",
|
|
45
|
+
"SCCS",
|
|
46
|
+
"vssver.scc",
|
|
47
|
+
".svn",
|
|
48
|
+
".git",
|
|
49
|
+
".gitignore",
|
|
50
|
+
".gitattributes",
|
|
51
|
+
".gitmodules",
|
|
52
|
+
".gitkeep",
|
|
53
|
+
".gitconfig",
|
|
54
|
+
MODEL_METADATA_FILE_NAME,
|
|
55
|
+
DATASET_METADATA_FILE_NAME,
|
|
56
|
+
]
|