Skip to main content

Functionalities for Roidmi vacuum map parsing

Project description

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

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
  • 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.

    Project details


    Download files

    Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

    Source Distribution

    vacuum_map_parser_roidmi-0.1.2.tar.gz (10.9 kB view details)

    Uploaded Source

    Built Distribution

    If you're not sure about the file name format, learn more about wheel file names.

    vacuum_map_parser_roidmi-0.1.2-py3-none-any.whl (11.8 kB view details)

    Uploaded Python 3

    File details

    Details for the file vacuum_map_parser_roidmi-0.1.2.tar.gz.

    File metadata

    • Download URL: vacuum_map_parser_roidmi-0.1.2.tar.gz
    • Upload date:
    • Size: 10.9 kB
    • Tags: Source
    • Uploaded using Trusted Publishing? No
    • Uploaded via: poetry/1.5.1 CPython/3.11.12 Linux/6.11.0-1012-azure

    File hashes

    Hashes for vacuum_map_parser_roidmi-0.1.2.tar.gz
    Algorithm Hash digest
    SHA256 baa0664a0f7238e13d463a6c6128afa19a38671a41a04ef07f5093225f129564
    MD5 52a6876d820e5914883c839c51703bd0
    BLAKE2b-256 fede8c89432c720487361cea2826850097142049f9f869b462706c29a1ed9588

    See more details on using hashes here.

    File details

    Details for the file vacuum_map_parser_roidmi-0.1.2-py3-none-any.whl.

    File metadata

    File hashes

    Hashes for vacuum_map_parser_roidmi-0.1.2-py3-none-any.whl
    Algorithm Hash digest
    SHA256 d00324a5771be105744abf66e105e908e9bb0ff736d03b65e8cd26834e6ce482
    MD5 319eb8041c17fbc950be63da9a089d87
    BLAKE2b-256 7542952db6b8a1393257a5fc053b63862566738ddc4a65665a47ecdb0b9151ce

    See more details on using hashes here.

    Supported by

    AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page