qbraid-cli 0.8.0.dev5__py3-none-any.whl → 0.8.0.dev6__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 qbraid-cli might be problematic. Click here for more details.

qbraid_cli/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.8.0.dev5'
16
- __version_tuple__ = version_tuple = (0, 8, 0, 'dev5')
15
+ __version__ = version = '0.8.0.dev6'
16
+ __version_tuple__ = version_tuple = (0, 8, 0, 'dev6')
@@ -7,7 +7,6 @@ Module defining commands in the 'qbraid configure' namespace.
7
7
  """
8
8
 
9
9
  import typer
10
- from qbraid_core.config import load_config, save_config
11
10
 
12
11
  from qbraid_cli.configure.actions import default_action
13
12
 
@@ -39,6 +38,9 @@ def configure_set(
39
38
  profile: str = typer.Option("default", help="Profile name"),
40
39
  ):
41
40
  """Set configuration value in qbraidrc file."""
41
+ # pylint: disable-next=import-outside-toplevel
42
+ from qbraid_core.config import load_config, save_config
43
+
42
44
  config = load_config()
43
45
 
44
46
  if profile not in config:
@@ -50,5 +52,18 @@ def configure_set(
50
52
  typer.echo("Configuration updated successfully.")
51
53
 
52
54
 
55
+ @configure_app.command(name="magic")
56
+ def configure_magic():
57
+ """Configure qBraid IPython magic commands."""
58
+ # pylint: disable-next=import-outside-toplevel
59
+ from qbraid_core.services.environments import add_magic_config
60
+
61
+ add_magic_config()
62
+
63
+ typer.echo("Successfully configured qBraid IPython magic commands.")
64
+ typer.echo("You can now use the qBraid-CLI from inside a Jupyter notebook as follows:")
65
+ typer.echo("\n\n\t[ ] %load_ext qbraid_magic\n\n\t[ ] %qbraid")
66
+
67
+
53
68
  if __name__ == "__main__":
54
69
  configure_app()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qbraid-cli
3
- Version: 0.8.0.dev5
3
+ Version: 0.8.0.dev6
4
4
  Summary: Command Line Interface for interacting with all parts of the qBraid platform.
5
5
  Author-email: qBraid Development Team <contact@qbraid.com>
6
6
  License: Proprietary
@@ -30,7 +30,7 @@ Requires-Dist: typer >=0.12.1
30
30
  Requires-Dist: rich >=10.11.0
31
31
  Requires-Dist: jupyter-client <9.0.0,>=7.0.0
32
32
  Requires-Dist: ipykernel
33
- Requires-Dist: qbraid-core >=0.1.3
33
+ Requires-Dist: qbraid-core >=0.1.4
34
34
  Provides-Extra: dev
35
35
  Requires-Dist: black ; extra == 'dev'
36
36
  Requires-Dist: isort ; extra == 'dev'
@@ -1,5 +1,5 @@
1
1
  qbraid_cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- qbraid_cli/_version.py,sha256=rUwu2eja7AS4Qp4mUrT-oC2PaWQWiRi_YNlcgdK7tAE,424
2
+ qbraid_cli/_version.py,sha256=9V-2xXPHq42ZtrAPqEiMfWvgn4E8aKBKuNNPjD1ffOk,424
3
3
  qbraid_cli/exceptions.py,sha256=KjlhYJhSHMVazaNiBjD_Ur06w4sekP8zRsFzBdyIpno,672
4
4
  qbraid_cli/handlers.py,sha256=i3vdRtdy4bZKg3j6fwfVMz1ddhMgzlc2hhmj-vewxpI,6542
5
5
  qbraid_cli/main.py,sha256=IRKazFqtFpoiq_xOtqb-IXDKAVs4lacFIRCQCoiGNF4,2503
@@ -9,7 +9,7 @@ qbraid_cli/admin/headers.py,sha256=oE2Ry9221ZV4tgYqFJNHAPilDw72xR3LqG_gBw7BFxM,6
9
9
  qbraid_cli/admin/validation.py,sha256=LkAVXlHtM0MhCa34MIWrfX59wGXMVlZmdVB4-AQ8fBk,1003
10
10
  qbraid_cli/configure/__init__.py,sha256=6GU7vR6JYRGcMsmdrpFbwLO5VSUmnLgwSbtmGWMQND4,158
11
11
  qbraid_cli/configure/actions.py,sha256=3rrWHaCAsogyx0Ll-lcjbSzldD4kPuz1z6VQiWebSWw,3203
12
- qbraid_cli/configure/app.py,sha256=vcPu1Npf8sfGtWGQrjDJQG5vCdeUa3nlpEnZMlVLlWM,1615
12
+ qbraid_cli/configure/app.py,sha256=Y-XQYQ5lwQJkHW1vUNK44RpVmmA86mZR0xf_Q-yT7yE,2160
13
13
  qbraid_cli/credits/__init__.py,sha256=t-3XAJFAXiu_jI4sgjaIOuNne_AoSYaSEsi-SSRkvPw,154
14
14
  qbraid_cli/credits/app.py,sha256=iHikmjx8pylMFNzHckuauOg-Nb9pS7xQq_H75ibVJig,774
15
15
  qbraid_cli/devices/__init__.py,sha256=_PU3eMQRV4DkPw-oCmfCPh8EbVmgG76ieEKuNsY9Xqc,154
@@ -26,8 +26,8 @@ qbraid_cli/jobs/toggle_braket.py,sha256=d5C_Di80jWMFlh-77eH8YY9pjMKWXK5abenUDtPl
26
26
  qbraid_cli/jobs/validation.py,sha256=xNbjUggMhUs4wzkuRm4PuFPi_wrElYicUgYXLznHz3U,2983
27
27
  qbraid_cli/kernels/__init__.py,sha256=VhpBota_v7OoiGxrPCqJU4XBVcolf81mbCYGSxXzVhc,154
28
28
  qbraid_cli/kernels/app.py,sha256=ZJWVdKzCDfzGnA1pqp01vDbE7fh8p84jC-y6DDgWlxc,3373
29
- qbraid_cli-0.8.0.dev5.dist-info/METADATA,sha256=emAQ5AjqtbZ9_l0lSBUtU4Jizzrru3GPPsxnUfriZds,5919
30
- qbraid_cli-0.8.0.dev5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
31
- qbraid_cli-0.8.0.dev5.dist-info/entry_points.txt,sha256=c5ZJ7NjbxhDqMpou9q5F03_b_KG34HzFDijIDmEIwgQ,47
32
- qbraid_cli-0.8.0.dev5.dist-info/top_level.txt,sha256=LTYJgeYSCHo9Il8vZu0yIPuGdGyNaIw6iRy6BeoZo8o,11
33
- qbraid_cli-0.8.0.dev5.dist-info/RECORD,,
29
+ qbraid_cli-0.8.0.dev6.dist-info/METADATA,sha256=2B553-9K_zSo24YJE_PL1t31R9ZQRcvv9TV0CcT-yzA,5919
30
+ qbraid_cli-0.8.0.dev6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
31
+ qbraid_cli-0.8.0.dev6.dist-info/entry_points.txt,sha256=c5ZJ7NjbxhDqMpou9q5F03_b_KG34HzFDijIDmEIwgQ,47
32
+ qbraid_cli-0.8.0.dev6.dist-info/top_level.txt,sha256=LTYJgeYSCHo9Il8vZu0yIPuGdGyNaIw6iRy6BeoZo8o,11
33
+ qbraid_cli-0.8.0.dev6.dist-info/RECORD,,