rtlamr-python 1.0.3__tar.gz → 1.0.4__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 (37) hide show
  1. {rtlamr_python-1.0.3/src/rtlamr_python.egg-info → rtlamr_python-1.0.4}/PKG-INFO +2 -4
  2. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/pyproject.toml +2 -5
  3. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/protocols/commodity.py +15 -4
  4. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4/src/rtlamr_python.egg-info}/PKG-INFO +2 -4
  5. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python.egg-info/requires.txt +1 -4
  6. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/LICENSE +0 -0
  7. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/README.md +0 -0
  8. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/setup.cfg +0 -0
  9. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/__init__.py +0 -0
  10. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/__main__.py +0 -0
  11. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/cli.py +0 -0
  12. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/crc.py +0 -0
  13. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/decoder.py +0 -0
  14. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/listener.py +0 -0
  15. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/poster.py +0 -0
  16. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/protocols/__init__.py +0 -0
  17. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/protocols/idm.py +0 -0
  18. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/protocols/netidm.py +0 -0
  19. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/protocols/r900.py +0 -0
  20. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/protocols/scm.py +0 -0
  21. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/protocols/scmplus.py +0 -0
  22. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/r900_decoder.py +0 -0
  23. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python/sdr.py +0 -0
  24. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python.egg-info/SOURCES.txt +0 -0
  25. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python.egg-info/dependency_links.txt +0 -0
  26. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python.egg-info/entry_points.txt +0 -0
  27. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/src/rtlamr_python.egg-info/top_level.txt +0 -0
  28. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_alternating_config.py +0 -0
  29. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_config.py +0 -0
  30. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_crc.py +0 -0
  31. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_decoder.py +0 -0
  32. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_idm.py +0 -0
  33. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_listener.py +0 -0
  34. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_poster.py +0 -0
  35. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_r900.py +0 -0
  36. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_scm.py +0 -0
  37. {rtlamr_python-1.0.3 → rtlamr_python-1.0.4}/tests/test_scmplus.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rtlamr-python
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Python implementation of RTLAMR-go — a multi-protocol ERT smart meter receiver
5
5
  Author-email: Ryan Bagwell <ryan@ryanbagwell.com>
6
6
  License-Expression: MIT
@@ -28,9 +28,7 @@ Requires-Dist: setuptools
28
28
  Provides-Extra: dev
29
29
  Requires-Dist: pytest; extra == "dev"
30
30
  Provides-Extra: lib
31
- Requires-Dist: pyrtlsdrlib==0.0.5; extra == "lib"
32
- Provides-Extra: lib-alpine
33
- Requires-Dist: pyrtlsdrlib-alpine==0.0.5; extra == "lib-alpine"
31
+ Requires-Dist: pyrtlsdrlib==0.0.6; extra == "lib"
34
32
  Dynamic: license-file
35
33
 
36
34
  # rtlamr-python
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rtlamr-python"
7
- version = "1.0.3"
7
+ version = "1.0.4"
8
8
  description = "Python implementation of RTLAMR-go — a multi-protocol ERT smart meter receiver"
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -38,10 +38,7 @@ dev = [
38
38
  "pytest",
39
39
  ]
40
40
  lib = [
41
- "pyrtlsdrlib==0.0.5",
42
- ]
43
- lib-alpine = [
44
- "pyrtlsdrlib-alpine==0.0.5"
41
+ "pyrtlsdrlib==0.0.6",
45
42
  ]
46
43
 
47
44
  [project.urls]
@@ -1,15 +1,26 @@
1
1
  """ERT type → commodity classification.
2
2
 
3
3
  Source: https://github.com/bemasher/rtlamr/blob/master/meters.csv
4
- Ambiguous types resolved by predominant field usage:
5
- 4 → electric (Itron AMI/C/R300 series; Sensus R-275 gas is the outlier)
6
- 12 → gas (Itron 100G series; Schlumberger CENTRON electric is the outlier)
4
+ (verified against upstream 2026-09-26 — 67 rows, ERT types 0-13 only).
5
+
6
+ Mostly the 4-bit classic ERT type field used by SCM/IDM/NetIDM. SCM+ carries
7
+ an 8-bit EndpointType instead (see protocols/scmplus.py) that isn't in
8
+ meters.csv at all — a value outside 0-15 isn't a gap in this table, it's a
9
+ code meters.csv simply doesn't document for that wider space. 156 is one
10
+ such code, added below without meters.csv backing (see comment on it).
11
+
12
+ Two types are ambiguous across commodities in the source data; resolved by
13
+ majority vote:
14
+ 4 -> electric (18 rows: Itron AMI/C-series/R300 family; 1 outlier: Sensus
15
+ R-275, Gas)
16
+ 12 -> gas (4 rows: Itron 100G family; 1 outlier: Schlumberger CENTRON OOK
17
+ RF, Electric)
7
18
  """
8
19
  from __future__ import annotations
9
20
 
10
21
  COMMODITY_ERT_TYPES: dict[str, list[int | str]] = {
11
22
  "electric": [4, 5, 7, 8],
12
- "gas": [0, 1, 2, 9, 12],
23
+ "gas": [0, 1, 2, 9, 12, 156],
13
24
  "water": [3, 11, 13, "r900"],
14
25
  }
15
26
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rtlamr-python
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Python implementation of RTLAMR-go — a multi-protocol ERT smart meter receiver
5
5
  Author-email: Ryan Bagwell <ryan@ryanbagwell.com>
6
6
  License-Expression: MIT
@@ -28,9 +28,7 @@ Requires-Dist: setuptools
28
28
  Provides-Extra: dev
29
29
  Requires-Dist: pytest; extra == "dev"
30
30
  Provides-Extra: lib
31
- Requires-Dist: pyrtlsdrlib==0.0.5; extra == "lib"
32
- Provides-Extra: lib-alpine
33
- Requires-Dist: pyrtlsdrlib-alpine==0.0.5; extra == "lib-alpine"
31
+ Requires-Dist: pyrtlsdrlib==0.0.6; extra == "lib"
34
32
  Dynamic: license-file
35
33
 
36
34
  # rtlamr-python
@@ -7,7 +7,4 @@ setuptools
7
7
  pytest
8
8
 
9
9
  [lib]
10
- pyrtlsdrlib==0.0.5
11
-
12
- [lib-alpine]
13
- pyrtlsdrlib-alpine==0.0.5
10
+ pyrtlsdrlib==0.0.6
File without changes
File without changes
File without changes