pyFroniusReg 0.2.2__tar.gz → 0.2.3__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 (34) hide show
  1. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/PKG-INFO +3 -2
  2. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/README.md +2 -1
  3. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/pyproject.toml +1 -1
  4. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/tests/test_regs.py +7 -4
  5. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/.gitignore +0 -0
  6. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/DesignNotes.md +0 -0
  7. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/LICENSE +0 -0
  8. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/examples/check_peak.py +0 -0
  9. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/examples/force_charge.py +0 -0
  10. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/examples/read_regs.py +0 -0
  11. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/examples/read_regs_storage.py +0 -0
  12. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/examples/reset_charge.py +0 -0
  13. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/noxfile.py +0 -0
  14. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/__init__.py +0 -0
  15. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfronius/gen24.py +0 -0
  16. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/froniusreg.py +0 -0
  17. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/gen24_primo_symo_inverter_register_map_float.py +0 -0
  18. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/gen24_primo_symo_inverter_register_map_float_storage.py +0 -0
  19. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/gen24_primo_symo_inverter_register_map_int_sf.py +0 -0
  20. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/gen24_primo_symo_inverter_register_map_int_sf_storage.py +0 -0
  21. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/gen24_registers_orig.py +0 -0
  22. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/smart_meter_register_map_float.py +0 -0
  23. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/smart_meter_register_map_int_sf.py +0 -0
  24. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/tauro_eco_inverter_register_map_float.py +0 -0
  25. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/tauro_eco_inverter_register_map_int_sf.py +0 -0
  26. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/tauro_inverter_register_map_float.py +0 -0
  27. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/tauro_inverter_register_map_int_sf.py +0 -0
  28. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/verto_inverter_register_map_3mppt_float.py +0 -0
  29. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/verto_inverter_register_map_3mppt_int_sf.py +0 -0
  30. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/verto_inverter_register_map_4mppt_float.py +0 -0
  31. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/src/pyfroniusreg/verto_inverter_register_map_4mppt_int_sf.py +0 -0
  32. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/tests/test_datatype.py +0 -0
  33. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/tools/create_from_spreadsheet.py +0 -0
  34. {pyfroniusreg-0.2.2 → pyfroniusreg-0.2.3}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyFroniusReg
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A library to make interacting with Fronius inverters and storage systems simpler
5
5
  Project-URL: Homepage, https://git.pwarren.id.au/pwarren/PyFroniusReg/
6
6
  Project-URL: Issues, https://git.pwarren.id.au/pwarren/PyFroniusReg/issues
@@ -20,7 +20,8 @@ The aim of this python library is to provide some nice to use abstractions to in
20
20
 
21
21
  # Installation
22
22
 
23
- Currently you can grab the .whl from the releases page. I'll figure out PyPI addition eventually
23
+ Currently you can grab the .whl from the releases page. And now I've added the library to PyPi, so you should be able to do:
24
+ ``` pip install pyFroniusReg```
24
25
 
25
26
  # Examples
26
27
 
@@ -4,7 +4,8 @@ The aim of this python library is to provide some nice to use abstractions to in
4
4
 
5
5
  # Installation
6
6
 
7
- Currently you can grab the .whl from the releases page. I'll figure out PyPI addition eventually
7
+ Currently you can grab the .whl from the releases page. And now I've added the library to PyPi, so you should be able to do:
8
+ ``` pip install pyFroniusReg```
8
9
 
9
10
  # Examples
10
11
 
@@ -7,7 +7,7 @@ packages = ["src/pyfroniusreg"]
7
7
 
8
8
  [project]
9
9
  name = "pyFroniusReg"
10
- version = "0.2.2"
10
+ version = "0.2.3"
11
11
  authors = [
12
12
  { name = "Paul Warren", email="pwarren@pwarren.id.au" }
13
13
  ]
@@ -23,12 +23,14 @@ class TestReadRegs(unittest.TestCase):
23
23
  Mn = gen24_registers.Mn.get(fronius1)
24
24
  assert Mn[0:7] == "Fronius"
25
25
 
26
- def test_read_string8(self):
27
- # this isn't a good test, this value changes regularly
28
- Vr = gen24_registers.Vr.get(fronius1)
29
- assert Vr == "1.36.6-1"
26
+ # def test_read_string8(self):
27
+ # # this isn't a good test, this value changes regularly
28
+ # Vr = gen24_registers.Vr.get(fronius1)
29
+ # assert Vr == "1.38.6-1"
30
30
 
31
31
  def test_read_model(self):
32
+ # Also not a great test, but does test reading strings
33
+ # and doesn't change as often
32
34
  Md = gen24_registers.Md.get(fronius1)
33
35
  assert Md == "Primo GEN24 5.0\x00"
34
36
 
@@ -36,6 +38,7 @@ class TestReadRegs(unittest.TestCase):
36
38
  # This doesn't seem to return anything useful
37
39
  # SN = gen24_registers.SN.get(fronius1)
38
40
  # assert SN == "12345567"
41
+
39
42
  class testWriteRegs(unittest.TestCase):
40
43
  def test_write_direct(self):
41
44
  current = gen24_registers.OutWRte.get(fronius1)
File without changes
File without changes
File without changes
File without changes