QuLab 2.10.9__cp312-cp312-macosx_10_13_universal2.whl → 2.10.10__cp312-cp312-macosx_10_13_universal2.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.
qulab/cli/config.py CHANGED
@@ -29,7 +29,7 @@ def _get_config_value(option_name,
29
29
  if type_cast is bool:
30
30
  return env_value.lower() in ("true", "1", "yes")
31
31
  if "path" in option_name or issubclass(type_cast, Path):
32
- return os.path.expanduser(env_value)
32
+ return Path(os.path.expanduser(env_value))
33
33
  return type_cast(env_value)
34
34
 
35
35
  # 2. 检查配置文件
@@ -47,7 +47,7 @@ def _get_config_value(option_name,
47
47
  if type_cast is bool:
48
48
  return config_value.lower() in ("true", "1", "yes")
49
49
  if "path" in option_name or issubclass(type_cast, Path):
50
- return os.path.expanduser(config_value)
50
+ return Path(os.path.expanduser(config_value))
51
51
  return type_cast(config_value)
52
52
 
53
53
  return default # 交给 Click 处理默认值
Binary file
qulab/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "2.10.9"
1
+ __version__ = "2.10.10"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: QuLab
3
- Version: 2.10.9
3
+ Version: 2.10.10
4
4
  Summary: contral instruments and manage data
5
5
  Author-email: feihoo87 <feihoo87@gmail.com>
6
6
  Maintainer-email: feihoo87 <feihoo87@gmail.com>
@@ -2,13 +2,13 @@ qulab/__init__.py,sha256=hmf6R3jiM5NtJY1mSptogYnH5DMTR2dTzlXykqLxQzg,2027
2
2
  qulab/__main__.py,sha256=fjaRSL_uUjNIzBGNgjlGswb9TJ2VD5qnkZHW3hItrD4,68
3
3
  qulab/dicttree.py,sha256=QNClEGRFRFJIgAq9bUyxK4iPbkNRdZDona8UZq9jDfw,14236
4
4
  qulab/expression.py,sha256=ZnTepyvhG2DUdOvCCny8jbeNCsvYi6G4xjdr05HxLuE,25751
5
- qulab/fun.cpython-312-darwin.so,sha256=DFHDHr7NHbbpkRBl9tS3bA_6u2RtemW9s4gK7XtyHEc,126864
5
+ qulab/fun.cpython-312-darwin.so,sha256=0R38tBjoOpAzTvv6dVv_M1xGCf9htyjSkTQKkqbHFag,126864
6
6
  qulab/typing.py,sha256=vg62sGqxuD9CI5677ejlzAmf2fVdAESZCQjAE_xSxPg,69
7
7
  qulab/utils.py,sha256=BdLdlfjpe6m6gSeONYmpAKTTqxDaYHNk4exlz8kZxTg,2982
8
- qulab/version.py,sha256=PGIDpdetzgVvxJ_Xq3E443ODmUUNp350X1Y164xoNio,22
8
+ qulab/version.py,sha256=iMPctba7Zmc8k76pU7WvVtu7ECCARmwVtsbglGDvCSg,23
9
9
  qulab/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  qulab/cli/commands.py,sha256=F1LATmSC9lOAdnrOTMK7DRjETCEcOmMsocovWRyjWTc,597
11
- qulab/cli/config.py,sha256=fWeWHiX-Oxodvfv4g0B-UFisJlYcF1Hv6V1fKib2mOM,5447
11
+ qulab/cli/config.py,sha256=tZPSBLbf2x_Brb2UBuA1bsni8nC8WOPPGyWIi8m7j1I,5459
12
12
  qulab/cli/decorators.py,sha256=oImteZVnDPPWdyhJ4kzf2KYGJLON7VsKGBvZadWLQZo,621
13
13
  qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,101
14
14
  qulab/executor/analyze.py,sha256=4Hau5LrKUdpweh7W94tcG4ahgxucHOevbM0hm57T7zE,5649
@@ -99,9 +99,9 @@ qulab/visualization/plot_seq.py,sha256=UWTS6p9nfX_7B8ehcYo6UnSTUCjkBsNU9jiOeW2ca
99
99
  qulab/visualization/qdat.py,sha256=ZeevBYWkzbww4xZnsjHhw7wRorJCBzbG0iEu-XQB4EA,5735
100
100
  qulab/visualization/rot3d.py,sha256=lMrEJlRLwYe6NMBlGkKYpp_V9CTipOAuDy6QW_cQK00,734
101
101
  qulab/visualization/widgets.py,sha256=6KkiTyQ8J-ei70LbPQZAK35wjktY47w2IveOa682ftA,3180
102
- qulab-2.10.9.dist-info/licenses/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
103
- qulab-2.10.9.dist-info/METADATA,sha256=9cK4mjLy-ACVkX3Svyj2eRAbl25sUN5eVV-zovpnLrE,3837
104
- qulab-2.10.9.dist-info/WHEEL,sha256=vnYUKnPde4to3ozFUPH5KYJ05a29VDPPy1RlPI0R6Ao,115
105
- qulab-2.10.9.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
106
- qulab-2.10.9.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
107
- qulab-2.10.9.dist-info/RECORD,,
102
+ qulab-2.10.10.dist-info/licenses/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
103
+ qulab-2.10.10.dist-info/METADATA,sha256=_ghsTiQ7CREyqxeELK_QDWOXenuL9wbfBichRzh544c,3838
104
+ qulab-2.10.10.dist-info/WHEEL,sha256=vnYUKnPde4to3ozFUPH5KYJ05a29VDPPy1RlPI0R6Ao,115
105
+ qulab-2.10.10.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
106
+ qulab-2.10.10.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
107
+ qulab-2.10.10.dist-info/RECORD,,