Skip to main content

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

Vacuum map parser - Viomi

Map data parser that can be used to parse maps generated by Viomi vacuums.

Installation

pip install vacuum-map-parser-viomi

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_viomi.map_data_parser import ViomiMapDataParser

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 = ViomiMapDataParser(palette, sizes, drawables, image_config, texts)

unpacked_map = parser.unpack_map(raw_map)
parsed_map = parser.parse(unpacked_map)

Special thanks

The code of this library was initially created by @halfbakery as a part of Xiaomi Cloud Map Extractor.

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-viomi 0.1.3

    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-viomi 0.1.3
    File Size Uploaded
    vacuum_map_parser_viomi-0.1.3.tar.gz 15.0 kB Details

    Built distribution (wheel)

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

    Total release size: 28.8 kB

    Release files / vacuum_map_parser_viomi-0.1.3.tar.gz

    Download URL vacuum_map_parser_viomi-0.1.3.tar.gz
    Size 15.0 kB
    Tags Source
    SHA-256 checksum
    How to use checksums
    719f95037d4678b7df53ef7826c860cdb9cd24dd2680aab692be3757cef337fc
    BLAKE2b-256 checksum
    How to use checksums
    d6ad7c5ab62f4fdb1e120191d51fa1af8eb27bf2c6a1e276a3d593ff28e65aab
    Upload date
    Uploaded using Trusted Publishing?
    What is trusted publishing?
    No
    Uploaded via poetry/1.5.1 CPython/3.11.12 Linux/6.11.0-1012-azure

    Release files / vacuum_map_parser_viomi-0.1.3-py3-none-any.whl

    Download URL vacuum_map_parser_viomi-0.1.3-py3-none-any.whl
    Size 13.9 kB
    Tags Python 3
    SHA-256 checksum
    How to use checksums
    c114c3667d6e11f675f304fd5faad91f5e49cfcba0f2e21824fa2dc15bb408f8
    BLAKE2b-256 checksum
    How to use checksums
    dfb386ac324d41354cea4d58db5c254e53d1690fab95a2ac9352baeda27cd814
    Upload date
    Uploaded using Trusted Publishing?
    What is trusted publishing?
    No
    Uploaded via poetry/1.5.1 CPython/3.11.12 Linux/6.11.0-1012-azure

    Release history Release notifications | RSS feed

    This release

    0.1.3 This release

    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