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
File details
Details for the file vacuum_map_parser_roborock-0.1.2.tar.gz
.
File metadata
- Download URL: vacuum_map_parser_roborock-0.1.2.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.9 Linux/6.5.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e910b8a0349be8224fe25ca27b9ea088b66f971c30715621b3e187868bd028d0 |
|
MD5 | 243693b6fac8cb392b92b5315bf22080 |
|
BLAKE2b-256 | e0b05dacc8bf0c252f107ea368a0bccafc4ddb77260134036209a1c963020caa |
File details
Details for the file vacuum_map_parser_roborock-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: vacuum_map_parser_roborock-0.1.2-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.9 Linux/6.5.0-1017-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b66bc3af556db46f8c126793d24307d0e9117307ee1b952da1c86148c79c369 |
|
MD5 | 320bc941821c1f3db98a602f633b9746 |
|
BLAKE2b-256 | b6b855f7db439806a19f501eb2ffce2d182f09095c91c80399aad3761ef89a09 |