cgse-common 0.15.1__tar.gz → 0.16.1__tar.gz

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.
Files changed (48) hide show
  1. {cgse_common-0.15.1 → cgse_common-0.16.1}/PKG-INFO +1 -1
  2. {cgse_common-0.15.1 → cgse_common-0.16.1}/pyproject.toml +1 -1
  3. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/cgse_common/cgse.py +1 -1
  4. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/env.py +1 -1
  5. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/system.py +2 -2
  6. {cgse_common-0.15.1 → cgse_common-0.16.1}/.gitignore +0 -0
  7. {cgse_common-0.15.1 → cgse_common-0.16.1}/README.md +0 -0
  8. {cgse_common-0.15.1 → cgse_common-0.16.1}/justfile +0 -0
  9. {cgse_common-0.15.1 → cgse_common-0.16.1}/noxfile.py +0 -0
  10. {cgse_common-0.15.1 → cgse_common-0.16.1}/service_registry.db +0 -0
  11. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/cgse_common/__init__.py +0 -0
  12. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/cgse_common/settings.yaml +0 -0
  13. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/bits.py +0 -0
  14. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/calibration.py +0 -0
  15. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/config.py +0 -0
  16. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/counter.py +0 -0
  17. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/decorators.py +0 -0
  18. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/device.py +0 -0
  19. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/dicts.py +0 -0
  20. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/exceptions.py +0 -0
  21. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/heartbeat.py +0 -0
  22. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/hk.py +0 -0
  23. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/log.py +0 -0
  24. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/metrics.py +0 -0
  25. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/observer.py +0 -0
  26. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/obsid.py +0 -0
  27. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/persistence.py +0 -0
  28. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/plugin.py +0 -0
  29. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/plugins/metrics/duckdb.py +0 -0
  30. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/plugins/metrics/influxdb.py +0 -0
  31. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/plugins/metrics/timescaledb.py +0 -0
  32. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/process.py +0 -0
  33. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/py.typed +0 -0
  34. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/randomwalk.py +0 -0
  35. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/ratelimit.py +0 -0
  36. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/reload.py +0 -0
  37. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/resource.py +0 -0
  38. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/response.py +0 -0
  39. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/scpi.py +0 -0
  40. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/settings.py +0 -0
  41. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/settings.yaml +0 -0
  42. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/setup.py +0 -0
  43. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/signal.py +0 -0
  44. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/socketdevice.py +0 -0
  45. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/state.py +0 -0
  46. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/task.py +0 -0
  47. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/version.py +0 -0
  48. {cgse_common-0.15.1 → cgse_common-0.16.1}/src/egse/zmq_ser.py +0 -0
@@ -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,6 +1,6 @@
1
1
  [project]
2
2
  name = "cgse-common"
3
- version = "0.15.1"
3
+ version = "0.16.1"
4
4
  description = "Software framework to support hardware testing"
5
5
  authors = [
6
6
  {name = "IvS KU Leuven"}
@@ -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)
@@ -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.
@@ -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")
File without changes
File without changes
File without changes
File without changes