Skip to main content

GitHub Latest Release PyPI PyPI - Downloads Ko-Fi buycoffee.to PayPal.Me Revolut.Me

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
  • PayPal
  • Credit card
  • Buy Me a Coffee at ko-fi.com
  • No fees
  • Single or monthly payment
  • buycoffee.to
  • BLIK
  • Bank transfer
  • Postaw mi kawę na buycoffee.to
    PayPal
  • PayPal
  • PayPal Logo
  • No fees
  • Revolut
  • Revolut
  • Credit Card
  • Revolut
  • No fees
  • Powered by

    PyCharm logo.

    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)

    Source distribution for vacuum-map-parser-roborock 0.1.5
    File Size Uploaded
    vacuum_map_parser_roborock-0.1.5.tar.gz 15.6 kB Details

    Built distribution (wheel)

    Table of built distributions (wheels) for vacuum-map-parser-roborock 0.1.5
    File Interpreter ABI Platform
    vacuum_map_parser_roborock-0.1.5-py3-none-any.whl Python 3 none any Details

    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

    Release history Release notifications | RSS feed

    This release

    0.1.5 This release

    2 release files

    0.1.4

    2 release files

    0.1.3

    2 release files

    0.1.2

    2 release files

    0.1.1

    2 release files

    0.1.0

    2 release files

    Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page