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 |
|
|
|
Powered by
Metadata
Release files for vacuum-map-parser-roborock 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vacuum_map_parser_roborock-0.1.5.tar.gz | 15.6 kB | Without provenance | Details for vacuum_map_parser_roborock-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vacuum_map_parser_roborock-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for vacuum_map_parser_roborock-0.1.5-py3-none-any.whl |
Total release size: 29.6 kB
Release files / vacuum_map_parser_roborock-0.1.5.tar.gz
| Download URL | vacuum_map_parser_roborock-0.1.5.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
906109447d350f493ba8b59496c1d3075f4527173d7b02842d63a897da11ea1e
|
|
BLAKE2b-256 checksum How to use checksums |
e17c2145c808234bb5da7cac5218bfd219715a2f995cca8a36015380cf3f490f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.15 Linux/6.17.0-1013-azure
|
Release files / vacuum_map_parser_roborock-0.1.5-py3-none-any.whl
| Download URL | vacuum_map_parser_roborock-0.1.5-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
125422c863049a519e2d76ad8683a6756e44414fc9e30a5e2b7dd5281b481281
|
|
BLAKE2b-256 checksum How to use checksums |
e8f72511990496bb80b33701d8458a9272f11121e319f299cd98ed51f6728959
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.15 Linux/6.17.0-1013-azure
|
Security for vacuum-map-parser-roborock 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.