cgse-common 0.15.1__py3-none-any.whl → 0.16.1__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.
cgse_common/cgse.py CHANGED
@@ -72,7 +72,7 @@ class SortedCommandGroup(TyperGroup):
72
72
  commands = super().list_commands(ctx)
73
73
 
74
74
  # Define priority commands in specific order
75
- priority_commands = ["init", "version", "show", "top", "core", "registry", "log", "cm", "sm", "pm"]
75
+ priority_commands = ["init", "version", "show", "top", "core", "reg", "not", "log", "cm", "sm", "pm"]
76
76
 
77
77
  # Custom sort:
78
78
  # First the priority commands in the given order (their index)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cgse-common
3
- Version: 0.15.1
3
+ Version: 0.16.1
4
4
  Summary: Software framework to support hardware testing
5
5
  Author: IvS KU Leuven
6
6
  Maintainer-email: Rik Huygen <rik.huygen@kuleuven.be>, Sara Regibo <sara.regibo@kuleuven.be>
@@ -1,5 +1,5 @@
1
1
  cgse_common/__init__.py,sha256=wTYOpVomEeDFFuqt4Ss9ROSAIa48UUnYCSafdEOx-CU,129
2
- cgse_common/cgse.py,sha256=FCai_6sHg6hPhzqk5pmnqOpA3Z1e2rAsUdiVGOAgadI,6588
2
+ cgse_common/cgse.py,sha256=4ZCm5UfaXld0RGI-Mjnm6dSAqfWCPX1qz1pew46J-1s,6590
3
3
  cgse_common/settings.yaml,sha256=PS8HOoxbhwVoQ7zzDtZyhx25RZB6SGq3uXNuJTgtRIw,443
4
4
  egse/bits.py,sha256=cg6diLN2IwNtnrlZyLgXPfDf9ttcHzS2A7Tjwlwc-lQ,12498
5
5
  egse/calibration.py,sha256=a5JDaXTC6fMwQ1M-qrwNO31Ass-yYSXxDQUK_PPsZg4,8818
@@ -8,7 +8,7 @@ egse/counter.py,sha256=7UwBeTAu213xdNdGAOYpUWNQ4jD4yVM1bOG10Ax4UFs,5097
8
8
  egse/decorators.py,sha256=B-zRa1WdLO71zqS5M27JBglcThYPho7seYfa4HOGj5c,27171
9
9
  egse/device.py,sha256=nn2HkN1KIHAmo37WZcqig-p2mQz1LgqpIfj1wPrUTLc,13240
10
10
  egse/dicts.py,sha256=dUAq7PTPvs73OrZb2Fh3loxvYv4ifUiK6bBcgrFU77Y,3972
11
- egse/env.py,sha256=0YFBGrA4xnk7MgGdHYSFEpiUj6EjLJ54S3-MqtXUm5Y,28367
11
+ egse/env.py,sha256=mV5SHtMAr_FRyzrPWjIu0vbCJzJt1n_Tc6tIpwoEffA,28366
12
12
  egse/exceptions.py,sha256=QB3MZRJizecWOj1cPbvG0UcIqFn7NRJ6rw1xtdNSFxw,1225
13
13
  egse/heartbeat.py,sha256=xt5mePu9Zr9fLAhN1MLq1Z7aCOKtNIhRVCAmWhtNwP8,3039
14
14
  egse/hk.py,sha256=AumSpB8SYXes75CB2iiKXfLkMK5IkVDHITFKrf8IT6g,32010
@@ -32,14 +32,14 @@ egse/setup.py,sha256=1k-5CjzY3_tZ6XCitNOIyZEWyAUC8LqGcnmdKS68vYw,33945
32
32
  egse/signal.py,sha256=zW_36xm-RpzwuCu6x30dTvjkfnuyRebKKpl69Yk1QSc,7990
33
33
  egse/socketdevice.py,sha256=R8XwYHTH3lFhFngfsGbi_L7bTnTLHxMTEKIF7gmm5rc,7465
34
34
  egse/state.py,sha256=HdU2MFOlYRbawYRZmizV6Y8MgnZrUF0bx4fXaYU-M_s,3023
35
- egse/system.py,sha256=SiWJNet9eI1ut5htX6A0M93WstzeJjAMfLZ-7IQfg6Q,74781
35
+ egse/system.py,sha256=akT5uTSzCwdWhJBXeBl4V8fes8iirbbYRN1G0-YQCmo,74784
36
36
  egse/task.py,sha256=ODSLE05f31CgWsSVcVFFq1WYUZrJMb1LioPTx6VM824,2804
37
37
  egse/version.py,sha256=e9GvelUZ9mfCDlRju4MWEJeMHJW9kUzK6SKzJpyj91s,6156
38
38
  egse/zmq_ser.py,sha256=d2lETLkLUll_F1Phc1pI7MEeA41uX7YZ8lhSFmBQZVw,3022
39
39
  egse/plugins/metrics/duckdb.py,sha256=E2eeNo3I7ajRuByodaYiPNvC0Zwyc7hsIlhr1W_eXdo,16148
40
40
  egse/plugins/metrics/influxdb.py,sha256=ecxjA_csYwf8RW3sXjiQxZHREfyrfStH1HA_rAs1AA8,6690
41
41
  egse/plugins/metrics/timescaledb.py,sha256=Ug0NWDV1Ky2VeFY6tDZL9xg6AFgnAEh2F_llVPnlRBA,21191
42
- cgse_common-0.15.1.dist-info/METADATA,sha256=IwIBVVopd15h4-PcEBumskB92pxsPSwdNZY7j0KX1_k,3032
43
- cgse_common-0.15.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
44
- cgse_common-0.15.1.dist-info/entry_points.txt,sha256=erQovXd1bGzsngB0_sfY7IYRNwHIhwq3K8fmQvGS12o,198
45
- cgse_common-0.15.1.dist-info/RECORD,,
42
+ cgse_common-0.16.1.dist-info/METADATA,sha256=ZUZKc8ba_L3awBOy3Hokb3hrFvZA84sEpoanAvYPE50,3032
43
+ cgse_common-0.16.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
44
+ cgse_common-0.16.1.dist-info/entry_points.txt,sha256=erQovXd1bGzsngB0_sfY7IYRNwHIhwq3K8fmQvGS12o,198
45
+ cgse_common-0.16.1.dist-info/RECORD,,
egse/env.py CHANGED
@@ -451,7 +451,7 @@ def set_local_settings(path: str | Path | None):
451
451
  _env.set("LOCAL_SETTINGS", path)
452
452
 
453
453
 
454
- def get_local_settings_path() -> str or None:
454
+ def get_local_settings_path() -> str | None:
455
455
  """
456
456
  Returns the fully qualified filename of the local settings YAML file. When the local settings environment
457
457
  variable is not defined or is an empty string, None is returned.
egse/system.py CHANGED
@@ -2298,13 +2298,13 @@ def caffeinate(pid: int = None):
2298
2298
 
2299
2299
  See Also:
2300
2300
  macOS caffeinate(8) man page for more details on the underlying utility.
2301
- """
2301
+ """
2302
2302
  if not pid:
2303
2303
  pid = os.getpid()
2304
2304
 
2305
2305
  if get_os_name() == "macos":
2306
2306
  logger.warning(f"Running 'caffeinate -i -w {pid}' on macOS to prevent the system from idle sleeping.")
2307
- subprocess.Popen([shutil.which('caffeinate'), "-i", "-w", str(pid)])
2307
+ subprocess.Popen([shutil.which("caffeinate"), "-i", "-w", str(pid)])
2308
2308
 
2309
2309
 
2310
2310
  ignore_m_warning("egse.system")