mx-remote 2.0.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.
Files changed (74) hide show
  1. mx_remote-2.0.0/.gitignore +4 -0
  2. mx_remote-2.0.0/LICENSE +11 -0
  3. mx_remote-2.0.0/PKG-INFO +90 -0
  4. mx_remote-2.0.0/README.md +58 -0
  5. mx_remote-2.0.0/mx_remote/Interface.py +1656 -0
  6. mx_remote-2.0.0/mx_remote/Uid.py +137 -0
  7. mx_remote-2.0.0/mx_remote/__init__.py +12 -0
  8. mx_remote-2.0.0/mx_remote/api/BayConfig.py +53 -0
  9. mx_remote-2.0.0/mx_remote/api/__init__.py +8 -0
  10. mx_remote-2.0.0/mx_remote/const.py +20 -0
  11. mx_remote-2.0.0/mx_remote/main.py +117 -0
  12. mx_remote-2.0.0/mx_remote/proto/BayConfig.py +104 -0
  13. mx_remote-2.0.0/mx_remote/proto/Constants.py +382 -0
  14. mx_remote-2.0.0/mx_remote/proto/Data.py +142 -0
  15. mx_remote-2.0.0/mx_remote/proto/Factory.py +168 -0
  16. mx_remote-2.0.0/mx_remote/proto/FrameAmpDolbySettings.py +51 -0
  17. mx_remote-2.0.0/mx_remote/proto/FrameAmpZoneSettings.py +123 -0
  18. mx_remote-2.0.0/mx_remote/proto/FrameBase.py +80 -0
  19. mx_remote-2.0.0/mx_remote/proto/FrameBayConfig.py +47 -0
  20. mx_remote-2.0.0/mx_remote/proto/FrameBayConfigSecondary.py +43 -0
  21. mx_remote-2.0.0/mx_remote/proto/FrameBayHide.py +53 -0
  22. mx_remote-2.0.0/mx_remote/proto/FrameBayStatus.py +51 -0
  23. mx_remote-2.0.0/mx_remote/proto/FrameConnectStatus.py +38 -0
  24. mx_remote-2.0.0/mx_remote/proto/FrameDiscover.py +21 -0
  25. mx_remote-2.0.0/mx_remote/proto/FrameEDID.py +20 -0
  26. mx_remote-2.0.0/mx_remote/proto/FrameEDIDProfile.py +24 -0
  27. mx_remote-2.0.0/mx_remote/proto/FrameFilterStatus.py +39 -0
  28. mx_remote-2.0.0/mx_remote/proto/FrameFirmwareVersion.py +40 -0
  29. mx_remote-2.0.0/mx_remote/proto/FrameHeader.py +92 -0
  30. mx_remote-2.0.0/mx_remote/proto/FrameHello.py +77 -0
  31. mx_remote-2.0.0/mx_remote/proto/FrameLinks.py +45 -0
  32. mx_remote-2.0.0/mx_remote/proto/FrameMeshOperation.py +66 -0
  33. mx_remote-2.0.0/mx_remote/proto/FrameMirrorStatus.py +49 -0
  34. mx_remote-2.0.0/mx_remote/proto/FrameNetworkStatus.py +163 -0
  35. mx_remote-2.0.0/mx_remote/proto/FramePDUState.py +71 -0
  36. mx_remote-2.0.0/mx_remote/proto/FramePowerChange.py +38 -0
  37. mx_remote-2.0.0/mx_remote/proto/FrameRCAction.py +50 -0
  38. mx_remote-2.0.0/mx_remote/proto/FrameRCIr.py +17 -0
  39. mx_remote-2.0.0/mx_remote/proto/FrameRCKey.py +40 -0
  40. mx_remote-2.0.0/mx_remote/proto/FrameReboot.py +26 -0
  41. mx_remote-2.0.0/mx_remote/proto/FrameRoutingChange.py +66 -0
  42. mx_remote-2.0.0/mx_remote/proto/FrameSetName.py +27 -0
  43. mx_remote-2.0.0/mx_remote/proto/FrameSignalStatus.py +46 -0
  44. mx_remote-2.0.0/mx_remote/proto/FrameSignalStatusNew.py +285 -0
  45. mx_remote-2.0.0/mx_remote/proto/FrameSysTemperature.py +50 -0
  46. mx_remote-2.0.0/mx_remote/proto/FrameTXRCAction.py +58 -0
  47. mx_remote-2.0.0/mx_remote/proto/FrameTopology.py +36 -0
  48. mx_remote-2.0.0/mx_remote/proto/FrameV2IPDeviceConfiguration.py +86 -0
  49. mx_remote-2.0.0/mx_remote/proto/FrameV2IPLink.py +16 -0
  50. mx_remote-2.0.0/mx_remote/proto/FrameV2IPSetMaster.py +16 -0
  51. mx_remote-2.0.0/mx_remote/proto/FrameV2IPSourceSwitch.py +84 -0
  52. mx_remote-2.0.0/mx_remote/proto/FrameV2IPSources.py +43 -0
  53. mx_remote-2.0.0/mx_remote/proto/FrameV2IPStats.py +55 -0
  54. mx_remote-2.0.0/mx_remote/proto/FrameV2IPStreamDetails.py +46 -0
  55. mx_remote-2.0.0/mx_remote/proto/FrameVolume.py +62 -0
  56. mx_remote-2.0.0/mx_remote/proto/FrameVolumeDown.py +28 -0
  57. mx_remote-2.0.0/mx_remote/proto/FrameVolumeSet.py +81 -0
  58. mx_remote-2.0.0/mx_remote/proto/FrameVolumeUp.py +28 -0
  59. mx_remote-2.0.0/mx_remote/proto/LinkConfig.py +121 -0
  60. mx_remote-2.0.0/mx_remote/proto/PDUState.py +95 -0
  61. mx_remote-2.0.0/mx_remote/proto/Svd.py +69 -0
  62. mx_remote-2.0.0/mx_remote/proto/V2IPConfig.py +71 -0
  63. mx_remote-2.0.0/mx_remote/proto/V2IPStats.py +126 -0
  64. mx_remote-2.0.0/mx_remote/proto/__init__.py +8 -0
  65. mx_remote-2.0.0/mx_remote/proto/svd.csv +157 -0
  66. mx_remote-2.0.0/mx_remote/remote/Bay.py +923 -0
  67. mx_remote-2.0.0/mx_remote/remote/ConnectionAsync.py +132 -0
  68. mx_remote-2.0.0/mx_remote/remote/Device.py +530 -0
  69. mx_remote-2.0.0/mx_remote/remote/Link.py +187 -0
  70. mx_remote-2.0.0/mx_remote/remote/PDU.py +152 -0
  71. mx_remote-2.0.0/mx_remote/remote/Remote.py +300 -0
  72. mx_remote-2.0.0/mx_remote/remote/State.py +28 -0
  73. mx_remote-2.0.0/mx_remote/remote/V2IP.py +83 -0
  74. mx_remote-2.0.0/pyproject.toml +41 -0
@@ -0,0 +1,4 @@
1
+ __pycache__
2
+ /build
3
+ /dist
4
+ *.egg-info
@@ -0,0 +1,11 @@
1
+ Copyright 2024 Lars Op den Kamp <lars@opdenkamp.eu>
2
+
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,90 @@
1
+ Metadata-Version: 2.3
2
+ Name: mx_remote
3
+ Version: 2.0.0
4
+ Summary: Python 3 library for interfacing with MX Remote compatible devices
5
+ Project-URL: Homepage, https://github.com/opdenkamp/mx-remote/
6
+ Project-URL: Documentation, https://github.com/opdenkamp/mx-remote/
7
+ Project-URL: Repository, https://github.com/opdenkamp/mx-remote.git
8
+ Project-URL: Bug Tracker, https://github.com/opdenkamp/mx-remote/issues
9
+ Author-email: Lars Op den Kamp <lars@opdenkamp.eu>
10
+ Maintainer-email: Lars Op den Kamp <lars@opdenkamp.eu>
11
+ License: Copyright 2024 Lars Op den Kamp <lars@opdenkamp.eu>
12
+
13
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
14
+
15
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
16
+
17
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
18
+
19
+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
22
+ Keywords: ampos,matrixos,oneip,pulse-eight
23
+ Classifier: Development Status :: 3 - Alpha
24
+ Classifier: Programming Language :: Python
25
+ Classifier: Topic :: System :: Networking :: Monitoring
26
+ Requires-Python: >=3.11
27
+ Requires-Dist: aiofiles>=24.1.0
28
+ Requires-Dist: aiohttp>=3.10.5
29
+ Requires-Dist: argparse>=1.4.0
30
+ Requires-Dist: netifaces>=0.11.0
31
+ Description-Content-Type: text/markdown
32
+
33
+ # MX Remote Interface
34
+
35
+ Python 3 library for interfacing with MX Remote compatible devices.
36
+
37
+ ## Installation
38
+
39
+ Run `pip install .`
40
+
41
+ ## Documentation
42
+
43
+ Documentation is embedded in the Python code, which is automatically used by most common IDEs.
44
+
45
+ You can also use Python to read the documentation:
46
+ ```python
47
+ import mx_remote
48
+ help(mx_remote.Interface)
49
+ exit()
50
+ ```
51
+
52
+ ## Developers
53
+
54
+ Bare minimum application that runs `mx_remote`:
55
+ ```python
56
+ import asyncio
57
+ import mx_remote
58
+
59
+ loop = asyncio.get_event_loop()
60
+ mx = mx_remote.Remote()
61
+ loop.run_until_complete(mx.start_async())
62
+ loop.run_forever()
63
+ ```
64
+
65
+ ## Application
66
+ The console application is started by running `mxr`.
67
+
68
+ The application also includes methods for debugging MX Remote networks:
69
+ * The console application will always dump all received frames in human readable form on the console
70
+ * To dump these frames in a file `mxr -u 1 -o /path/to/file.txt`
71
+ * Import frames captured by MatrixOS and dump the frames: `mxr -i /path/to/file.bin`
72
+
73
+ All command line options:
74
+ ```
75
+ usage: mxr [-h] [-i INPUT] [-f FILTER] [-o OUTPUT] [-l LOCAL_IP] [-b BROADCAST] [-u UI]
76
+
77
+ MX Remote Manager / Debugger
78
+
79
+ options:
80
+ -h, --help show this help message and exit
81
+ -i INPUT capture file to process
82
+ -f FILTER ip address to process in the capture file
83
+ -o OUTPUT write output to a file
84
+ -l LOCAL_IP local ip address of the network interface to use
85
+ -b BROADCAST use broadcast mode instead of multicast mode
86
+ -u UI show the user interface
87
+ ```
88
+
89
+ The user interface option and `mxr-ui` application are only available when `mx_remote_manager` is installed after installing `mx_remote`.
90
+ Plain `mx_remote` only includes the command line version of `mxr`.
@@ -0,0 +1,58 @@
1
+ # MX Remote Interface
2
+
3
+ Python 3 library for interfacing with MX Remote compatible devices.
4
+
5
+ ## Installation
6
+
7
+ Run `pip install .`
8
+
9
+ ## Documentation
10
+
11
+ Documentation is embedded in the Python code, which is automatically used by most common IDEs.
12
+
13
+ You can also use Python to read the documentation:
14
+ ```python
15
+ import mx_remote
16
+ help(mx_remote.Interface)
17
+ exit()
18
+ ```
19
+
20
+ ## Developers
21
+
22
+ Bare minimum application that runs `mx_remote`:
23
+ ```python
24
+ import asyncio
25
+ import mx_remote
26
+
27
+ loop = asyncio.get_event_loop()
28
+ mx = mx_remote.Remote()
29
+ loop.run_until_complete(mx.start_async())
30
+ loop.run_forever()
31
+ ```
32
+
33
+ ## Application
34
+ The console application is started by running `mxr`.
35
+
36
+ The application also includes methods for debugging MX Remote networks:
37
+ * The console application will always dump all received frames in human readable form on the console
38
+ * To dump these frames in a file `mxr -u 1 -o /path/to/file.txt`
39
+ * Import frames captured by MatrixOS and dump the frames: `mxr -i /path/to/file.bin`
40
+
41
+ All command line options:
42
+ ```
43
+ usage: mxr [-h] [-i INPUT] [-f FILTER] [-o OUTPUT] [-l LOCAL_IP] [-b BROADCAST] [-u UI]
44
+
45
+ MX Remote Manager / Debugger
46
+
47
+ options:
48
+ -h, --help show this help message and exit
49
+ -i INPUT capture file to process
50
+ -f FILTER ip address to process in the capture file
51
+ -o OUTPUT write output to a file
52
+ -l LOCAL_IP local ip address of the network interface to use
53
+ -b BROADCAST use broadcast mode instead of multicast mode
54
+ -u UI show the user interface
55
+ ```
56
+
57
+ The user interface option and `mxr-ui` application are only available when `mx_remote_manager` is installed after installing `mx_remote`.
58
+ Plain `mx_remote` only includes the command line version of `mxr`.