kikusui_power_supply 0.18.0__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.
@@ -0,0 +1,51 @@
1
+ # Python versions and environment
2
+
3
+ __pycache__
4
+ .python-version
5
+ .envrc
6
+
7
+ # Build systems
8
+
9
+ build
10
+ dist
11
+ **/*.egg-info
12
+
13
+ # Apple specific
14
+
15
+ .DS_Store
16
+
17
+ # Unit testing
18
+
19
+ .pytest_cache
20
+ .coverage
21
+ .coverage.*
22
+ .nox
23
+ htmlcov
24
+
25
+ # dotenv, ignore all but the example file
26
+
27
+ .env
28
+ .env.*
29
+ !.env.example
30
+
31
+ # Virtual environments
32
+
33
+ .venv
34
+ venv
35
+
36
+ # PyCharm IDE
37
+
38
+ .idea
39
+
40
+ # VSCode IDE
41
+
42
+ .vscode
43
+ *.code-workspace
44
+
45
+ # MKDOCS documentation site
46
+
47
+ /site
48
+
49
+ # Packaging
50
+
51
+ uv.lock
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: kikusui_power_supply
3
+ Version: 0.18.0
4
+ Summary: KIKUSUI PMX power supplies for cd
5
+ Author: IvS KU Leuven
6
+ Maintainer-email: Rik Huygen <rik.huygen@kuleuven.be>, Sara Regibo <sara.regibo@kuleuven.be>
7
+ License-Expression: MIT
8
+ Keywords: CGSE,Common-EGSE,hardware testing,software framework
9
+ Requires-Python: >=3.10
10
+ Requires-Dist: cgse-common
11
+ Requires-Dist: cgse-core
12
+ Provides-Extra: test
13
+ Requires-Dist: pytest; extra == 'test'
14
+ Requires-Dist: pytest-cov; extra == 'test'
15
+ Requires-Dist: pytest-mock; extra == 'test'
16
+ Description-Content-Type: text/markdown
17
+
18
+ # KIKUSUI Regulated Power Supply
19
+
20
+ Implementation of the commanding and monitoring of the KIKUSUI PMX-A power supplies.
21
+
22
+ ## Reference Documents
23
+
24
+ - User's Manual Regulated DC Power Supply - PMX Series (PMX18-2A, PMX18-5A, PMX35-1A, PMX35-3A, PMX70-1A, PMX110-0.6A,
25
+ PM250-0-0.25A, PMX350-0.2A, PMX500-0.1A)
26
+ - Communication Interface Manual
@@ -0,0 +1,9 @@
1
+ # KIKUSUI Regulated Power Supply
2
+
3
+ Implementation of the commanding and monitoring of the KIKUSUI PMX-A power supplies.
4
+
5
+ ## Reference Documents
6
+
7
+ - User's Manual Regulated DC Power Supply - PMX Series (PMX18-2A, PMX18-5A, PMX35-1A, PMX35-3A, PMX70-1A, PMX110-0.6A,
8
+ PM250-0-0.25A, PMX350-0.2A, PMX500-0.1A)
9
+ - Communication Interface Manual
@@ -0,0 +1,82 @@
1
+ [project]
2
+ name = "kikusui_power_supply"
3
+ version = "0.18.0"
4
+ description = "KIKUSUI PMX power supplies for cd "
5
+ authors = [
6
+ {name = "IvS KU Leuven"}
7
+ ]
8
+ maintainers = [
9
+ {name = "Rik Huygen", email = "rik.huygen@kuleuven.be"},
10
+ {name = "Sara Regibo", email = "sara.regibo@kuleuven.be"}
11
+ ]
12
+ readme = {"file" = "README.md", "content-type" = "text/markdown"}
13
+ requires-python = ">=3.10"
14
+ license = "MIT"
15
+ keywords = [
16
+ "CGSE",
17
+ "Common-EGSE",
18
+ "hardware testing",
19
+ "software framework",
20
+ ]
21
+ dependencies = [
22
+ "cgse-common",
23
+ "cgse-core",
24
+ ]
25
+
26
+ [project.optional-dependencies]
27
+ test = ["pytest", "pytest-mock", "pytest-cov"]
28
+
29
+ [project.scripts]
30
+ pmx_a_cs = 'egse.power_supply.kikusui.pmx_a.pmx_a_cs:app'
31
+ #pmx_a_sim = 'egse.digilent.measurpoint.dt8874.dt8874_sim:app'
32
+
33
+ #[project.gui-scripts]
34
+ #pmx_a_ui = "egse.power_supply.kikusui.pmx_a.pmx_a_ui:main"
35
+
36
+ [project.entry-points."cgse.version"]
37
+ kikusui-power-supply = 'egse.version:get_version_installed'
38
+
39
+ [project.entry-points."cgse.settings"]
40
+ kikusui-power-supply = "kikusui_power_supply:settings.yaml"
41
+
42
+ [project.entry-points."cgse.service.device_command"]
43
+ pmx_a = 'kikusui_power_supply.cgse_services:pmx_a'
44
+
45
+ [project.entry-points."cgse.explore"]
46
+ explore = "kikusui_power_supply.cgse_explore"
47
+
48
+ [tool.pytest.ini_options]
49
+ asyncio_mode = "auto"
50
+
51
+ [tool.hatch.build.targets.sdist]
52
+ exclude = [
53
+ "/tests",
54
+ "/pytest.ini",
55
+ "/.gitignore",
56
+ ]
57
+
58
+ [tool.hatch.build.targets.wheel]
59
+ packages = ["src/egse", "src/kikusui_power_supply"]
60
+
61
+ [tool.ruff]
62
+ line-length = 120
63
+
64
+ [tool.ruff.lint]
65
+ extend-select = ["E501"]
66
+
67
+ [build-system]
68
+ requires = ["hatchling"]
69
+ build-backend = "hatchling.build"
70
+
71
+ [dependency-groups]
72
+ dev = [
73
+ "setuptools", # needed by PyCharm
74
+ "pytest>=8.3.4",
75
+ "pytest-cov>=6.0.0",
76
+ "pytest-mock>=3.14.0",
77
+ "ruff>=0.9.0",
78
+ "nox>=2025.2.9",
79
+ "setuptools>=75.8.2", # needed by PyCharm
80
+ "pytest-asyncio>=0.26.0",
81
+ "ipython",
82
+ ]
@@ -0,0 +1,10 @@
1
+ from pathlib import Path
2
+
3
+ from egse.settings import Settings
4
+
5
+ HERE = Path(__file__).parent
6
+
7
+ DEVICE_SETTINGS = Settings.load("KIKUSUI PMX")
8
+ CMD_DELAY = DEVICE_SETTINGS["CMD_DELAY"]
9
+
10
+ PROXY_TIMEOUT = 10