qwak-sdk 0.5.79__py3-none-any.whl → 0.5.81__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 qwak-sdk might be problematic. Click here for more details.

qwak_sdk/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # fmt: off
2
2
  __author__ = '''Qwak.ai'''
3
- __version__ = '0.5.79'
3
+ __version__ = '0.5.81'
4
4
 
5
5
  from qwak.inner import wire_dependencies
6
6
 
qwak_sdk/cli.py CHANGED
@@ -1,3 +1,5 @@
1
+ from typing import Optional
2
+
1
3
  import click
2
4
  from packaging import version
3
5
  from qwak.inner.di_configuration import UserAccountConfiguration
@@ -19,6 +21,7 @@ from qwak_sdk.commands.secrets.secrets_commands_group import secrets_commands_gr
19
21
  from qwak_sdk.commands.workspaces.workspaces_commands_group import (
20
22
  workspaces_commands_group,
21
23
  )
24
+ from qwak_sdk.inner.tools.cli_tools import profile_setter_wrapper
22
25
  from qwak_sdk.inner.tools.logger import setup_qwak_logger
23
26
 
24
27
  version_option_kwargs = {}
@@ -40,14 +43,23 @@ def create_qwak_cli():
40
43
  @click.option(
41
44
  "--api-key", metavar="PASSWORD", required=False, help="Qwak assigned API key"
42
45
  )
43
- def set_configuration(api_key, **kwargs):
46
+ @click.option(
47
+ "--environment",
48
+ metavar="ENVIRONMENT",
49
+ default="default",
50
+ required=False,
51
+ is_eager=True,
52
+ help="Qwak environment's name",
53
+ )
54
+ @profile_setter_wrapper
55
+ def set_configuration(api_key: Optional[str], environment: str, **_):
44
56
  if api_key is None:
45
57
  api_key = click.prompt("Please enter your API key", type=str)
46
58
 
47
59
  account_config = UserAccountConfiguration()
48
60
  account_config.configure_user(UserAccount(api_key=api_key))
49
61
 
50
- print("User successfully configured")
62
+ print(f"User successfully configured for the '{environment}' environment")
51
63
 
52
64
  qwak_cli.add_command(projects_command_group)
53
65
  qwak_cli.add_command(models_command_group)
@@ -264,6 +264,13 @@ from qwak_sdk.inner.tools.config_handler import config_handler
264
264
  help="Timeout in minutes for the provision instance step",
265
265
  default=120,
266
266
  )
267
+ @click.option(
268
+ "-N",
269
+ "--name",
270
+ "build_name",
271
+ required=False,
272
+ help="The build's name",
273
+ )
267
274
  @click.argument("uri", required=False)
268
275
  def models_build(**kwargs):
269
276
  return build(**kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qwak-sdk
3
- Version: 0.5.79
3
+ Version: 0.5.81
4
4
  Summary: Qwak SDK and CLI for qwak models
5
5
  License: Apache-2.0
6
6
  Keywords: mlops,ml,deployment,serving,model
@@ -33,15 +33,15 @@ Requires-Dist: gitpython (>=2.1.0)
33
33
  Requires-Dist: joblib (>=1.1.0,<2.0.0) ; extra == "batch" or extra == "feedback"
34
34
  Requires-Dist: numpy (<=1.24.0) ; python_full_version >= "3.7.1" and python_full_version <= "3.8.0"
35
35
  Requires-Dist: numpy (>=1.24.0) ; python_full_version > "3.8.0"
36
- Requires-Dist: pandas (<1.4) ; (python_full_version >= "3.7.1" and python_version < "3.8") and (extra == "batch" or extra == "feedback")
37
- Requires-Dist: pandas (>1.0) ; (python_version >= "3.8" and python_version < "3.9") and (extra == "batch" or extra == "feedback")
38
- Requires-Dist: pandas (>1.1.3) ; (python_version >= "3.9" and python_version < "3.10") and (extra == "batch" or extra == "feedback")
39
- Requires-Dist: pandas (>=1.4.0) ; (python_version >= "3.10" and python_version < "3.12") and (extra == "batch" or extra == "feedback")
36
+ Requires-Dist: pandas (<1.4) ; (python_full_version >= "3.7.1" and python_version < "3.8") and (extra == "batch" or extra == "feedback" or extra == "feature-store")
37
+ Requires-Dist: pandas (>1.0) ; (python_version >= "3.8" and python_version < "3.9") and (extra == "batch" or extra == "feedback" or extra == "feature-store")
38
+ Requires-Dist: pandas (>1.1.3) ; (python_version >= "3.9" and python_version < "3.10") and (extra == "batch" or extra == "feedback" or extra == "feature-store")
39
+ Requires-Dist: pandas (>=1.4.0) ; (python_version >= "3.10" and python_version < "3.12") and (extra == "batch" or extra == "feedback" or extra == "feature-store")
40
40
  Requires-Dist: pyarrow (>=6.0.0,<11.0.0) ; extra == "batch" or extra == "feature-store"
41
41
  Requires-Dist: pyathena (>=2.2.0,!=2.18.0) ; extra == "feature-store"
42
- Requires-Dist: pyspark (==3.1.1) ; extra == "feature-store"
42
+ Requires-Dist: pyspark (==3.4.2) ; extra == "feature-store"
43
43
  Requires-Dist: python-json-logger (>=2.0.2)
44
- Requires-Dist: qwak-core (==0.4.75)
44
+ Requires-Dist: qwak-core (==0.4.90)
45
45
  Requires-Dist: qwak-inference (>=0.1.18,<0.2.0)
46
46
  Requires-Dist: rich (>=13.0.0)
47
47
  Requires-Dist: tabulate (>=0.8.0)
@@ -1,5 +1,5 @@
1
- qwak_sdk/__init__.py,sha256=pS13SvGGuvNHJHl-XztTIImp_2oG-OLkd1XOm_RTE_E,135
2
- qwak_sdk/cli.py,sha256=FIK1dUNxR57ypb-CeD7fKSJnPJ02lrjR9G4aj2qMLPU,2458
1
+ qwak_sdk/__init__.py,sha256=C9R4JlOl9IcwtIUoT8T7GQ7vQZtXVmEIDjqh6cH63Gk,135
2
+ qwak_sdk/cli.py,sha256=AFUAqablunsHasfY1ikhj9GYUARbQ5dR-sblxqa1id4,2841
3
3
  qwak_sdk/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  qwak_sdk/commands/_logic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  qwak_sdk/commands/_logic/tools.py,sha256=uJOSfpifONXjFJjaHvm_7ivTs8K0PO56YoxhU0dktPU,239
@@ -122,7 +122,7 @@ qwak_sdk/commands/models/build/_logic/util/protobuf_factory.py,sha256=ar_oY38w_x
122
122
  qwak_sdk/commands/models/build/_logic/util/step_decorator.py,sha256=HLZyCGdqe3Ir7SaPWp1YNRHJpjXG-e-bbAvnOFysAVM,1913
123
123
  qwak_sdk/commands/models/build/_logic/util/text.py,sha256=tH-v19Mt8l90sMVxku5XRtrderT0qdRqJ-jLijqannA,188
124
124
  qwak_sdk/commands/models/build/_logic/wait_until_finished.py,sha256=DxIyNK-MFjxSh9xe7dJx-znmz8ZOqelK-cJQvr7YI9g,1220
125
- qwak_sdk/commands/models/build/ui.py,sha256=ZfOFzZxMT3bSUz42dn9LF7Pept9Ed9afWu0-_0HES_w,9761
125
+ qwak_sdk/commands/models/build/ui.py,sha256=eQWoaA5zA3KsRUfNMA3XanLboVc2rO50l6FzdDomd1c,9869
126
126
  qwak_sdk/commands/models/builds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
127
127
  qwak_sdk/commands/models/builds/builds_commands_group.py,sha256=0nSfTY8TracXG61rFboQWUTXJisHO6dgtJKeijy6ru8,491
128
128
  qwak_sdk/commands/models/builds/cancel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -319,7 +319,7 @@ qwak_sdk/tools/colors.py,sha256=7pui_GGjC4uZKYFsIyXaJjYsjLxJVHb4OrfTgr93hqo,287
319
319
  qwak_sdk/tools/files.py,sha256=AyKJTOy7NhvP3SrqwIw_lxYNCOy1CvLgMmSJpWZ0OKM,2257
320
320
  qwak_sdk/tools/log_handling.py,sha256=Aa1EmxUPCX8YWiZRutUvnqPv6K_z1zoGMwIWsEv24mM,6327
321
321
  qwak_sdk/tools/utils.py,sha256=SHmU4r_m2ABZyFYMC03P17GvltPbYbmB39hvalIZEtI,1168
322
- qwak_sdk-0.5.79.dist-info/entry_points.txt,sha256=vSl0ELYDyj640oMM57u0AjBP87wtLYxCcGOendhEx80,47
323
- qwak_sdk-0.5.79.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
324
- qwak_sdk-0.5.79.dist-info/METADATA,sha256=wqGg6DACxKjtwzMwgVVrM1iab7nKgMLFFW2KSTLrcrg,2865
325
- qwak_sdk-0.5.79.dist-info/RECORD,,
322
+ qwak_sdk-0.5.81.dist-info/entry_points.txt,sha256=vSl0ELYDyj640oMM57u0AjBP87wtLYxCcGOendhEx80,47
323
+ qwak_sdk-0.5.81.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
324
+ qwak_sdk-0.5.81.dist-info/METADATA,sha256=XO88VSakBMjCZcWmtFs75zg7FcSlaTTWw6lvGlAVM2U,2977
325
+ qwak_sdk-0.5.81.dist-info/RECORD,,