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.3.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.3-py3-none-any.whl (11.8 kB view details)

    Uploaded Python 3

    File details

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

    File metadata

    • Download URL: vacuum_map_parser_roidmi-0.1.3.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.3.tar.gz
    Algorithm Hash digest
    SHA256 f46787fab785d534c28c8ca3af896d3038bb3a06a566da9cff483754f73b3b8b
    MD5 a10ab12ed14332f66e18dd5fca86a921
    BLAKE2b-256 0b3fe9920782678de06f5458fff0707cac5e712f8503d0054d835114b0e598b9

    See more details on using hashes here.

    File details

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

    File metadata

    File hashes

    Hashes for vacuum_map_parser_roidmi-0.1.3-py3-none-any.whl
    Algorithm Hash digest
    SHA256 97ccf3fe789facf855d90d2853b8ddbb062121592aa49fab60e234e3251cceb4
    MD5 e8519d30a949000e673bb1c0064f0566
    BLAKE2b-256 4f33ef9850b201abc51cb5582fe4cd7526698613e4fc6c6111bb88d230725cb8

    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