Functionalities for Roidmi vacuum map parsing
Project description
Vacuum map parser - Roidmi
Map data parser that can be used to parse maps generated by Roidmi vacuums.
Installation
pip install vacuum-map-parser-roidmi
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_roidmi.map_data_parser import RoidmiMapDataParser
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 = RoidmiMapDataParser(palette, sizes, drawables, image_config, texts)
unpacked_map = parser.unpack_map(raw_map)
parsed_map = parser.parse(unpacked_map)
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_roidmi-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a747624afd58414b71da4d5cfe4ad3fda4b12415f61c90f2507e70807402034a |
|
MD5 | e2228537cf81ef3fc61ba846116514ae |
|
BLAKE2b-256 | 0c998f85642a3529f3e4e39062bfc8f1183331d7afa6b970703038fb41168570 |
Close
Hashes for vacuum_map_parser_roidmi-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06e4bbef214eaacadd382fbd18153bb26fd242cd8fb4ec6c777034674986212a |
|
MD5 | 08d52a77bbfbccc6f970a2a4a233e28c |
|
BLAKE2b-256 | d386d51f962100758ab568c38b503d647c4f78c62cf1205effdd1803fa9a8594 |