RGBMatrixEmulator 0.18.2__tar.gz → 0.19.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.
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/PKG-INFO +14 -2
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/README.md +10 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/__init__.py +6 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/emulation/options.py +15 -15
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/version.py +1 -1
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/pyproject.toml +3 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/.gitignore +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/LICENSE +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/__init__.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/base.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/README.md +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/__init__.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/adapter.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/fps.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/__init__.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/base.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/image.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/image_web_socket.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/main.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/request_handlers/single_file.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/server.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/static/assets/client.js +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/static/assets/icon.ico +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/static/assets/styles.css +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/browser_adapter/static/index.html +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/pygame_adapter.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/raw_adapter/README.md +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/raw_adapter/__init__.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/sixel_adapter.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/terminal_adapter.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/tkinter_adapter.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/turtle_adapter.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/cli/__init__.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/cli/command.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/cli/config.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/emulation/__init__.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/emulation/canvas.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/emulation/matrix.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/graphics/__init__.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/graphics/color.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/graphics/font.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/icon.png +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/internal/adapter_loader.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/internal/emulator_config.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/internal/pixel_style.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/internal/screen.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/logger.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/__init__.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/identity.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/mirror.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/rotate.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/stack_to_row.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/umapper.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/vmapper.py +0 -0
- {rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: RGBMatrixEmulator
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.19.0
|
|
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>
|
|
@@ -22,7 +22,9 @@ Requires-Dist: numpy>=1.2.0
|
|
|
22
22
|
Requires-Dist: pillow>=10.0.1
|
|
23
23
|
Requires-Dist: tornado>=6.5.7
|
|
24
24
|
Provides-Extra: pygame
|
|
25
|
-
Requires-Dist: pygame
|
|
25
|
+
Requires-Dist: pygame-ce>=2.5.7; extra == 'pygame'
|
|
26
|
+
Provides-Extra: pygame-legacy
|
|
27
|
+
Requires-Dist: pygame<3,>=2.0.1; extra == 'pygame-legacy'
|
|
26
28
|
Provides-Extra: sixel
|
|
27
29
|
Requires-Dist: libsixel-python>=0.5.0; extra == 'sixel'
|
|
28
30
|
Description-Content-Type: text/markdown
|
|
@@ -74,6 +76,16 @@ pip install RGBMatrixEmulator[pygame]
|
|
|
74
76
|
pip install RGBMatrixEmulator[sixel,pygame]
|
|
75
77
|
```
|
|
76
78
|
|
|
79
|
+
### `pygame` Adapter
|
|
80
|
+
|
|
81
|
+
The upstream [pygame](https://github.com/pygame/pygame) package does not support Python 3.14 or greater. The adapter has been swapped to use the [pygame-ce](https://github.com/pygame-community/pygame-ce) package instead. This should be a backwards compatible change with no noticeable issues.
|
|
82
|
+
|
|
83
|
+
If you need to use the legacy `pygame` package for any reason, you can install it:
|
|
84
|
+
|
|
85
|
+
```sh
|
|
86
|
+
pip install RGBMatrixEmulator[pygame-legacy]
|
|
87
|
+
```
|
|
88
|
+
|
|
77
89
|
## Usage
|
|
78
90
|
|
|
79
91
|
Projects that are able to be emulated will rely on importing classes from `rpi-rgb-led-matrix`. These will need to be replaced by equivalent `RGBMatrixEmulator` classes.
|
|
@@ -45,6 +45,16 @@ pip install RGBMatrixEmulator[pygame]
|
|
|
45
45
|
pip install RGBMatrixEmulator[sixel,pygame]
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
+
### `pygame` Adapter
|
|
49
|
+
|
|
50
|
+
The upstream [pygame](https://github.com/pygame/pygame) package does not support Python 3.14 or greater. The adapter has been swapped to use the [pygame-ce](https://github.com/pygame-community/pygame-ce) package instead. This should be a backwards compatible change with no noticeable issues.
|
|
51
|
+
|
|
52
|
+
If you need to use the legacy `pygame` package for any reason, you can install it:
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
pip install RGBMatrixEmulator[pygame-legacy]
|
|
56
|
+
```
|
|
57
|
+
|
|
48
58
|
## Usage
|
|
49
59
|
|
|
50
60
|
Projects that are able to be emulated will rely on importing classes from `rpi-rgb-led-matrix`. These will need to be replaced by equivalent `RGBMatrixEmulator` classes.
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/emulation/options.py
RENAMED
|
@@ -4,21 +4,21 @@ from RGBMatrixEmulator.internal.screen import Screen
|
|
|
4
4
|
|
|
5
5
|
class RGBMatrixOptions:
|
|
6
6
|
def __init__(self) -> None:
|
|
7
|
-
self.hardware_mapping = "EMULATED"
|
|
8
|
-
self.rows = 32
|
|
9
|
-
self.cols = 32
|
|
10
|
-
self.chain_length = 1
|
|
11
|
-
self.parallel = 1
|
|
12
|
-
self.row_address_type = 0
|
|
13
|
-
self.multiplexing = 0
|
|
14
|
-
self.pwm_bits = 0
|
|
15
|
-
self.brightness = 100
|
|
16
|
-
self.pwm_lsb_nanoseconds = 130
|
|
17
|
-
self.led_rgb_sequence = "RGB-EMULATED"
|
|
18
|
-
self.pixel_mapper_config = ""
|
|
19
|
-
self.show_refresh_rate = 0
|
|
20
|
-
self.gpio_slowdown = None
|
|
21
|
-
self.disable_hardware_pulsing = False
|
|
7
|
+
self.hardware_mapping: str = "EMULATED"
|
|
8
|
+
self.rows: int = 32
|
|
9
|
+
self.cols: int = 32
|
|
10
|
+
self.chain_length: int = 1
|
|
11
|
+
self.parallel: int = 1
|
|
12
|
+
self.row_address_type: int = 0
|
|
13
|
+
self.multiplexing: int = 0
|
|
14
|
+
self.pwm_bits: int = 0
|
|
15
|
+
self.brightness: int = 100
|
|
16
|
+
self.pwm_lsb_nanoseconds: int = 130
|
|
17
|
+
self.led_rgb_sequence: str = "RGB-EMULATED"
|
|
18
|
+
self.pixel_mapper_config: str = ""
|
|
19
|
+
self.show_refresh_rate: int = 0
|
|
20
|
+
self.gpio_slowdown: int | None = None
|
|
21
|
+
self.disable_hardware_pulsing: bool = False
|
|
22
22
|
|
|
23
23
|
emulator_config = RGBMatrixEmulatorConfig()
|
|
24
24
|
|
|
File without changes
|
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/pygame_adapter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/sixel_adapter.py
RENAMED
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/terminal_adapter.py
RENAMED
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/tkinter_adapter.py
RENAMED
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/adapters/turtle_adapter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/emulation/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/graphics/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/internal/adapter_loader.py
RENAMED
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/internal/emulator_config.py
RENAMED
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/internal/pixel_style.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/__init__.py
RENAMED
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/identity.py
RENAMED
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/mirror.py
RENAMED
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/rotate.py
RENAMED
|
File without changes
|
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/umapper.py
RENAMED
|
File without changes
|
{rgbmatrixemulator-0.18.2 → rgbmatrixemulator-0.19.0}/RGBMatrixEmulator/pixel_mappers/vmapper.py
RENAMED
|
File without changes
|
|
File without changes
|