rvt-monitor 0.2.2__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 (30) hide show
  1. rvt_monitor-0.2.2/.gitignore +27 -0
  2. rvt_monitor-0.2.2/PKG-INFO +31 -0
  3. rvt_monitor-0.2.2/README.md +17 -0
  4. rvt_monitor-0.2.2/pyproject.toml +35 -0
  5. rvt_monitor-0.2.2/rvt_monitor/__init__.py +3 -0
  6. rvt_monitor-0.2.2/rvt_monitor/ble/__init__.py +1 -0
  7. rvt_monitor-0.2.2/rvt_monitor/ble/manager.py +760 -0
  8. rvt_monitor-0.2.2/rvt_monitor/ble/protocol.py +291 -0
  9. rvt_monitor-0.2.2/rvt_monitor/ble/scanner.py +99 -0
  10. rvt_monitor-0.2.2/rvt_monitor/core/__init__.py +1 -0
  11. rvt_monitor-0.2.2/rvt_monitor/core/logger.py +156 -0
  12. rvt_monitor-0.2.2/rvt_monitor/isv2_config/__init__.py +3 -0
  13. rvt_monitor-0.2.2/rvt_monitor/isv2_config/cli.py +333 -0
  14. rvt_monitor-0.2.2/rvt_monitor/isv2_config/protocol.py +540 -0
  15. rvt_monitor-0.2.2/rvt_monitor/isv2_config/serial_port.py +86 -0
  16. rvt_monitor-0.2.2/rvt_monitor/isv2_config/server.py +382 -0
  17. rvt_monitor-0.2.2/rvt_monitor/isv2_config/static/index.html +509 -0
  18. rvt_monitor-0.2.2/rvt_monitor/main.py +50 -0
  19. rvt_monitor-0.2.2/rvt_monitor/server/__init__.py +1 -0
  20. rvt_monitor-0.2.2/rvt_monitor/server/app.py +82 -0
  21. rvt_monitor-0.2.2/rvt_monitor/server/routes/__init__.py +1 -0
  22. rvt_monitor-0.2.2/rvt_monitor/server/routes/config.py +77 -0
  23. rvt_monitor-0.2.2/rvt_monitor/server/routes/control.py +63 -0
  24. rvt_monitor-0.2.2/rvt_monitor/server/routes/device.py +74 -0
  25. rvt_monitor-0.2.2/rvt_monitor/server/routes/logs.py +40 -0
  26. rvt_monitor-0.2.2/rvt_monitor/server/state.py +176 -0
  27. rvt_monitor-0.2.2/rvt_monitor/server/websocket.py +372 -0
  28. rvt_monitor-0.2.2/rvt_monitor/static/css/style.css +501 -0
  29. rvt_monitor-0.2.2/rvt_monitor/static/index.html +265 -0
  30. rvt_monitor-0.2.2/rvt_monitor/static/js/app.js +582 -0
@@ -0,0 +1,27 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ .Python
7
+ venv/
8
+ .venv/
9
+ ENV/
10
+
11
+ # PyInstaller
12
+ build/
13
+ dist/
14
+ *.spec.bak
15
+
16
+ # Logs
17
+ logs/
18
+
19
+ # IDE
20
+ .idea/
21
+ .vscode/
22
+ *.swp
23
+ *.swo
24
+
25
+ # OS
26
+ .DS_Store
27
+ Thumbs.db
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: rvt-monitor
3
+ Version: 0.2.2
4
+ Summary: BLE Device Monitor for Ceily/Wally
5
+ Author-email: Rovothome <chandler.kim@rovothome.com>
6
+ License: MIT
7
+ Requires-Python: >=3.10
8
+ Requires-Dist: bleak>=0.21.0
9
+ Requires-Dist: fastapi>=0.109.0
10
+ Requires-Dist: platformdirs>=4.0.0
11
+ Requires-Dist: pyserial>=3.5
12
+ Requires-Dist: uvicorn[standard]>=0.27.0
13
+ Description-Content-Type: text/markdown
14
+
15
+ # RVT-Monitor
16
+
17
+ BLE Device Monitor for Ceily/Wally
18
+
19
+ ## Install
20
+
21
+ ```bash
22
+ pip install rvt-monitor
23
+ ```
24
+
25
+ ## Run
26
+
27
+ ```bash
28
+ rvt-monitor
29
+ ```
30
+
31
+ Opens browser at http://127.0.0.1:8000
@@ -0,0 +1,17 @@
1
+ # RVT-Monitor
2
+
3
+ BLE Device Monitor for Ceily/Wally
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ pip install rvt-monitor
9
+ ```
10
+
11
+ ## Run
12
+
13
+ ```bash
14
+ rvt-monitor
15
+ ```
16
+
17
+ Opens browser at http://127.0.0.1:8000
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "rvt-monitor"
7
+ version = "0.2.2"
8
+ description = "BLE Device Monitor for Ceily/Wally"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = {text = "MIT"}
12
+ authors = [
13
+ { name = "Rovothome", email = "chandler.kim@rovothome.com" }
14
+ ]
15
+ dependencies = [
16
+ "fastapi>=0.109.0",
17
+ "uvicorn[standard]>=0.27.0",
18
+ "bleak>=0.21.0",
19
+ "platformdirs>=4.0.0",
20
+ "pyserial>=3.5",
21
+ ]
22
+
23
+ [project.scripts]
24
+ rvt-monitor = "rvt_monitor.main:main"
25
+ isv2-config = "rvt_monitor.isv2_config.cli:main"
26
+
27
+ [tool.hatch.build.targets.wheel]
28
+ packages = ["rvt_monitor"]
29
+
30
+ [tool.hatch.build.targets.sdist]
31
+ include = [
32
+ "rvt_monitor/**/*.py",
33
+ "rvt_monitor/static/**/*",
34
+ "rvt_monitor/isv2_config/static/**/*",
35
+ ]
@@ -0,0 +1,3 @@
1
+ """RVTool - BLE Device Control Application."""
2
+
3
+ __version__ = "0.1.0"
@@ -0,0 +1 @@
1
+ # BLE module