RGBMatrixEmulator 0.16.3__tar.gz → 0.16.5__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 (49) hide show
  1. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/PKG-INFO +32 -10
  2. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/README.md +27 -7
  3. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/pi5_adapter/__init__.py +5 -0
  4. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/version.py +1 -1
  5. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/pyproject.toml +7 -3
  6. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/.gitignore +0 -0
  7. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/LICENSE +0 -0
  8. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/__init__.py +0 -0
  9. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/__init__.py +0 -0
  10. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/base.py +0 -0
  11. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/README.md +0 -0
  12. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/__init__.py +0 -0
  13. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/adapter.py +0 -0
  14. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/fps.py +0 -0
  15. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/__init__.py +0 -0
  16. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/base.py +0 -0
  17. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/image.py +0 -0
  18. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/image_web_socket.py +0 -0
  19. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/main.py +0 -0
  20. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/single_file.py +0 -0
  21. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/server.py +0 -0
  22. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/static/assets/client.js +0 -0
  23. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/static/assets/icon.ico +0 -0
  24. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/static/assets/styles.css +0 -0
  25. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/browser_adapter/static/index.html +0 -0
  26. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/pi5_adapter/README.md +0 -0
  27. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/pygame_adapter.py +0 -0
  28. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/raw_adapter/README.md +0 -0
  29. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/raw_adapter/__init__.py +0 -0
  30. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/sixel_adapter.py +0 -0
  31. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/terminal_adapter.py +0 -0
  32. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/tkinter_adapter.py +0 -0
  33. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/adapters/turtle_adapter.py +0 -0
  34. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/cli/__init__.py +0 -0
  35. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/cli/command.py +0 -0
  36. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/cli/config.py +0 -0
  37. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/emulation/__init__.py +0 -0
  38. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/emulation/canvas.py +0 -0
  39. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/emulation/matrix.py +0 -0
  40. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/emulation/options.py +0 -0
  41. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/graphics/__init__.py +0 -0
  42. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/graphics/color.py +0 -0
  43. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/graphics/font.py +0 -0
  44. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/icon.png +0 -0
  45. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/internal/adapter_loader.py +0 -0
  46. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/internal/emulator_config.py +0 -0
  47. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/internal/pixel_style.py +0 -0
  48. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/logger.py +0 -0
  49. {rgbmatrixemulator-0.16.3 → rgbmatrixemulator-0.16.5}/RGBMatrixEmulator/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RGBMatrixEmulator
3
- Version: 0.16.3
3
+ Version: 0.16.5
4
4
  Summary: A PC emulator for Raspberry Pi LED matrices driven by rpi-rgb-led-matrix
5
5
  Project-URL: Homepage, https://github.com/ty-porter/RGBMatrixEmulator
6
6
  Author-email: Tyler Porter <tyler.b.porter@gmail.com>
@@ -18,14 +18,16 @@ Classifier: Programming Language :: Python :: 3
18
18
  Classifier: Topic :: Other/Nonlisted Topic
19
19
  Requires-Python: >=3.10
20
20
  Requires-Dist: bdfparser<=2.2.0
21
- Requires-Dist: libsixel-python>=0.5.0
22
21
  Requires-Dist: numpy>=1.2.0
23
22
  Requires-Dist: pillow>=10.0.1
24
- Requires-Dist: pygame<3,>=2.0.1
25
23
  Requires-Dist: tornado>=6.5.5
26
24
  Provides-Extra: pi5
27
25
  Requires-Dist: adafruit-blinka-raspberry-pi5-piomatter>=1.0.0; (python_version >= '3.11') and extra == 'pi5'
28
26
  Requires-Dist: adafruit-blinka>=8.0.0; (python_version >= '3.11') and extra == 'pi5'
27
+ Provides-Extra: pygame
28
+ Requires-Dist: pygame<3,>=2.0.1; extra == 'pygame'
29
+ Provides-Extra: sixel
30
+ Requires-Dist: libsixel-python>=0.5.0; extra == 'sixel'
29
31
  Description-Content-Type: text/markdown
30
32
 
31
33
  # `RGBMatrixEmulator`
@@ -42,19 +44,39 @@ Description-Content-Type: text/markdown
42
44
 
43
45
  ## Installation
44
46
 
45
- `RGBMatrixEmulator` is in the [Python Package Index (PyPI)](http://pypi.python.org/pypi/RGBMatrixEmulator/).
46
- Installing with ``pip`` is recommended for all systems.
47
+ `RGBMatrixEmulator` is in the [Python Package Index (PyPI)](http://pypi.python.org/pypi/RGBMatrixEmulator/). Installing with `pip` is recommended for all systems.
47
48
 
48
49
  ```sh
49
50
  pip install RGBMatrixEmulator
50
51
  ```
51
52
 
52
- ### Experimental `pi5` Adapter
53
+ The base installation includes the following display adapters:
53
54
 
54
- To use the experimental `pi5` adapter, you can install the optional adapter as follows. This installation is only valid for Raspberry Pi 5 hardware.
55
+ * `browser` (default)
56
+ * `terminal`
57
+ * `tkinter`
58
+ * `turtle`
59
+ * `raw`
60
+
61
+ For more information on display adapters, see the [Display Adapters](#display-adapters) section.
62
+
63
+ ### Optional Adapters
64
+
65
+ The following adapters are supported but not installed by default.
66
+
67
+ * `sixel`
68
+ * `pygame`
69
+ * `pi5` (experimental)
70
+
71
+ You can install optional adapters via `pip`:
55
72
 
56
73
  ```sh
74
+ pip install RGBMatrixEmulator[sixel]
75
+ pip install RGBMatrixEmulator[pygame]
57
76
  pip install RGBMatrixEmulator[pi5]
77
+
78
+ # All optional adapters at once
79
+ pip install RGBMatrixEmulator[sixel,pygame,pi5]
58
80
  ```
59
81
 
60
82
  ## Usage
@@ -206,10 +228,10 @@ Please see the [README for the `browser` display adapter](RGBMatrixEmulator/adap
206
228
 
207
229
  ### Raspberry Pi 5 Adapter
208
230
 
209
- > [!NOTE]
210
- > This adapter is currently experimental.
231
+ > [!WARNING]
232
+ > This adapter is deprecated. It will be removed no later than July 1, 2026. Please use native `rpi-rgb-led-matrix` Raspberry Pi 5 support.
211
233
 
212
- RGBME can be used to "bridge" scripts written for `rpi-rgb-led-matrix` to Raspberry Pi model 5 through [Adafruit Blinka](https://github.com/adafruit/Adafruit_Blinka) and the [Adafruit-Blinka-Raspberry-Pi5-Piomatter](https://github.com/adafruit/Adafruit_Blinka_Raspberry_Pi5_Piomatter) libraries. As of Jan 1, 2026 `rpi-rgb-led-matrix` does not support Raspberry Pi 5 natively.
234
+ RGBME can be used to "bridge" scripts written for `rpi-rgb-led-matrix` to Raspberry Pi model 5 through [Adafruit Blinka](https://github.com/adafruit/Adafruit_Blinka) and the [Adafruit-Blinka-Raspberry-Pi5-Piomatter](https://github.com/adafruit/Adafruit_Blinka_Raspberry_Pi5_Piomatter) libraries.
213
235
 
214
236
  Please see the [README for the `pi5` display adapter](RGBMatrixEmulator/adapters/pi5_adapter/README.md) for further information regarding its configuration and usage.
215
237
 
@@ -12,19 +12,39 @@
12
12
 
13
13
  ## Installation
14
14
 
15
- `RGBMatrixEmulator` is in the [Python Package Index (PyPI)](http://pypi.python.org/pypi/RGBMatrixEmulator/).
16
- Installing with ``pip`` is recommended for all systems.
15
+ `RGBMatrixEmulator` is in the [Python Package Index (PyPI)](http://pypi.python.org/pypi/RGBMatrixEmulator/). Installing with `pip` is recommended for all systems.
17
16
 
18
17
  ```sh
19
18
  pip install RGBMatrixEmulator
20
19
  ```
21
20
 
22
- ### Experimental `pi5` Adapter
21
+ The base installation includes the following display adapters:
23
22
 
24
- To use the experimental `pi5` adapter, you can install the optional adapter as follows. This installation is only valid for Raspberry Pi 5 hardware.
23
+ * `browser` (default)
24
+ * `terminal`
25
+ * `tkinter`
26
+ * `turtle`
27
+ * `raw`
28
+
29
+ For more information on display adapters, see the [Display Adapters](#display-adapters) section.
30
+
31
+ ### Optional Adapters
32
+
33
+ The following adapters are supported but not installed by default.
34
+
35
+ * `sixel`
36
+ * `pygame`
37
+ * `pi5` (experimental)
38
+
39
+ You can install optional adapters via `pip`:
25
40
 
26
41
  ```sh
42
+ pip install RGBMatrixEmulator[sixel]
43
+ pip install RGBMatrixEmulator[pygame]
27
44
  pip install RGBMatrixEmulator[pi5]
45
+
46
+ # All optional adapters at once
47
+ pip install RGBMatrixEmulator[sixel,pygame,pi5]
28
48
  ```
29
49
 
30
50
  ## Usage
@@ -176,10 +196,10 @@ Please see the [README for the `browser` display adapter](RGBMatrixEmulator/adap
176
196
 
177
197
  ### Raspberry Pi 5 Adapter
178
198
 
179
- > [!NOTE]
180
- > This adapter is currently experimental.
199
+ > [!WARNING]
200
+ > This adapter is deprecated. It will be removed no later than July 1, 2026. Please use native `rpi-rgb-led-matrix` Raspberry Pi 5 support.
181
201
 
182
- RGBME can be used to "bridge" scripts written for `rpi-rgb-led-matrix` to Raspberry Pi model 5 through [Adafruit Blinka](https://github.com/adafruit/Adafruit_Blinka) and the [Adafruit-Blinka-Raspberry-Pi5-Piomatter](https://github.com/adafruit/Adafruit_Blinka_Raspberry_Pi5_Piomatter) libraries. As of Jan 1, 2026 `rpi-rgb-led-matrix` does not support Raspberry Pi 5 natively.
202
+ RGBME can be used to "bridge" scripts written for `rpi-rgb-led-matrix` to Raspberry Pi model 5 through [Adafruit Blinka](https://github.com/adafruit/Adafruit_Blinka) and the [Adafruit-Blinka-Raspberry-Pi5-Piomatter](https://github.com/adafruit/Adafruit_Blinka_Raspberry_Pi5_Piomatter) libraries.
183
203
 
184
204
  Please see the [README for the `pi5` display adapter](RGBMatrixEmulator/adapters/pi5_adapter/README.md) for further information regarding its configuration and usage.
185
205
 
@@ -13,6 +13,11 @@ except ImportError:
13
13
 
14
14
  class Pi5Adapter(BaseAdapter):
15
15
  def __init__(self, width, height, options):
16
+ Logger.warning(
17
+ "The Pi5 adapter is deprecated. rpi-rgb-led-matrix now provides Raspberry Pi 5 support natively. "
18
+ "This adapter will be removed no later than July 1, 2026.",
19
+ )
20
+
16
21
  super().__init__(width, height, options)
17
22
  self.matrix = None
18
23
  self.framebuffer = None
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env python
2
2
 
3
3
  # package version
4
- __version__ = "0.16.3"
4
+ __version__ = "0.16.5"
5
5
  """Installed version of RGBMatrixEmulator."""
@@ -33,17 +33,21 @@ classifiers = [
33
33
  ]
34
34
  dependencies = [
35
35
  "bdfparser<=2.2.0",
36
- "libsixel-python>=0.5.0",
37
36
  "numpy>=1.2.0",
38
37
  "Pillow>=10.0.1",
39
- "pygame>=2.0.1,<3",
40
- "tornado>=6.5.5"
38
+ "tornado>=6.5.5",
41
39
  ]
42
40
 
43
41
  [project.scripts]
44
42
  rgbme = "RGBMatrixEmulator.cli:run_cli"
45
43
 
46
44
  [project.optional-dependencies]
45
+ pygame = [
46
+ "pygame>=2.0.1,<3",
47
+ ]
48
+ sixel = [
49
+ "libsixel-python>=0.5.0",
50
+ ]
47
51
  pi5 = [
48
52
  "Adafruit-Blinka-Raspberry-Pi5-Piomatter>=1.0.0; python_version>='3.11'",
49
53
  "adafruit-blinka>=8.0.0; python_version>='3.11'",