Functionalities for Roborock vacuum map parsing
Project description
Vacuum map parser - Roborock
Map data parser that can be used to parse maps generated by Roborock vacuums.
Installation
pip install vacuum-map-parser-roborock
Usage
from vacuum_map_parser_base.config.color import ColorsPalette
from vacuum_map_parser_base.config.drawable import Drawable
from vacuum_map_parser_base.config.image_config import ImageConfig
from vacuum_map_parser_base.config.size import Sizes
from vacuum_map_parser_base.config.text import Text
from vacuum_map_parser_roborock.map_data_parser import RoborockMapDataParser
palette: ColorsPalette = ColorsPalette()
sizes: Sizes = Sizes()
drawables: list[Drawable] = [Drawable.PATH, Drawable.CHARGER]
image_config: ImageConfig = ImageConfig()
texts: list[Text] = []
raw_map: bytes = b''
parser = RoborockMapDataParser(palette, sizes, drawables, image_config, texts)
unpacked_map = parser.unpack_map(raw_map)
parsed_map = parser.parse(unpacked_map)
Special thanks
This library wouldn't exist without following projects:
Support
If you want to support my work with a donation you can use one of the following platforms:
Platform | Payment methods | Link | Comment |
---|---|---|---|
Ko-fi |
|
|
|
buycoffee.to |
|
||
PayPal |
|
|
|
Revolut |
|
|
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for vacuum_map_parser_roborock-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19b67f8290d8df2252923e577b0d2592750f4275f8828e55a6c06714d050405f |
|
MD5 | 0cf1f154132f71818665ca4c7552a069 |
|
BLAKE2b-256 | 1cbf9351d94c4cad40d9ef7b2962e28a7e3c4d30e94f0c5d1ae8b0978afcc38e |
Close
Hashes for vacuum_map_parser_roborock-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a70a5c7974e463fd1420d9070e6d8760d5ab64c3c61263d4e6d60a678de4e9c1 |
|
MD5 | aebd0584dac39228f663c49a278a2ccf |
|
BLAKE2b-256 | 8964301c312a12229cc0bc0c1d9b45ed106b2ae28b48b12d9576bcda5415f8f0 |