semvec/pypi-packages huggingface dataset:
elkoep-mqtt 0.2.33b31
Python library for iNELS mqtt protocol
License: MIT
Keywords: iNels, Elko EP, Home assistant integration

# Elkoep-mqtt

A Python library that handles communication with inels over mqtt
[iNELS](https://www.inels.com/) by ElkoEP company.

[Pypi](https://pypi.org/project/elkoep-mqtt/)

# Requirements

For smooth using you need to have Python 3.9 or higher.

# Install

Use PyPI repository

```
pip install elkoep-mqtt
```

# Testing

I use [tox](https://tox.readthedocs.io) for testing.

```
$ pip install tox

```

# Development status

Supported RF devices

- Switches (01, 02)
- Shutters (03, 21)
- Light dimmers (04, 05)
- RGB light (06)
- Switches with external temperature sensors (07)
- Wireless thermovalves (09)
- Temperature sensors (10)
- Thermostats (12)
- Flood detectors (15)
- Generic detector (16)
- Motion detector (17)
- Controllers/buttons (18, 19)
- Temperature and humidity sensors (29)

Supported bus devices

- SA3-01B (100)
- DA3-22M (101)
- GRT3-50 (102)
- GSB3-90Sx (103)
- SA3-02B (104)
- SA3-02M (105)
- SA3-04M (106)
- SA3-06M (107)
- SA3-012M (108)
- SA3-022M (109)
- FA3-612M (111)
- RC3-610DALI (114)
- IM3_20B (115)
- IM3_40B (116)
- IM3_80B (117)
- DMD3-1 (120)
- IM3-140M (121)
- WSB3-20 (122)
- WSB3-40 (123)
- WSB3-20H (124)
- WSB3-40H (125)
- GCR3-11 (128)
- GCH3-31 (129)
- GSP3-100 (136)
- GDB3-10 (137)
- GSB3-40SX (138)
- GSB3-60SX (139)
- GSB3-20SX (140)
- GBP3-60 (141)
- GSB3-40-V2 (143)
- GSB3-60-V2 (144)
- GSB3-90-V2 (146)
- DAC3-04B (147)
- DAC3-04M (148)
- DCDA-33M (150)
- DA3-66M (151)
- DA3-03M/RGBW (153)
- ADC3-60M (156)
- TI3-10B (157)
- TI3-40B (158)
- TI3-60M (159)
- IDRT3-1 (160)
- JA3-018M (163)
- Virtual heating regulator (167)
- Virtual cooling regulator (168)
- SA3_014M (169)
- JA3_014M (170)
- MCD3-01 (171)
- PMS3-01 (172)
- GSB3-40Sx-V2 (174)
- GSB3-60Sx-V2 (175)
- GSB3-90Sx-V2 (176)
- MSB3-40 (177)
- MSB3-60 (178)
- MSB3-90 (179)
- GRT3-70 (180)
- GRT3-270 (180)
- BITS (bits)
- INTEGETS (integers)
nicely 0.2542.0
Python Fancy Printer
License: MIT
Requires Python: >=3.12
Keywords: util

# nicely

Python Fancy Printer


## Abstract

The **nicely** package is yet another 'pretty printer'.

It is meant to:

* have a **readable and consistent** output.
    - Nested levels are indented. (the indentation string is configurable (4 spaces by default))
    - The sequences and the mapping keys are sorted. (can be disabled)
    - Mapping keys are padded. (so the values are aligned)
    - The data types may be shown. (disabled by default)

* be **simple** to use.
    - Only one class is required.
    - Convinience functions are also provided.

* be **extensible**
    - If the provided support for standard types doesn't suit your need, it's easy to modify it.
    - Any object can easaly be supported.

* be able to handle **large data structure**.
    - Sequences, mappings, strings and multi-lines can be truncated as needed.
    - Mapping items can be omitted based on regex.


## Usage

There are several ways to use nicel.

### The Printer class:

    from nicely import Printer

    p = Printer()
    p.print(some_data_structure)

The **Printer.print** method sends a formatted representation of its argument to a file-like destination (stdout by default).

### The dump function:

    from nicely import dump

    dump(some_data_structure)

The **dump** function uses the **Printer** class to 'dump' its argument on stdout as well as to a file ('nicely.dump' by default).

### The format function:

    from nicely import format

    string = format(some_data_structure)

The **format** function uses the **Printer** class to get a string representation of an object.


## Data Types support

There are 2 ways for an object to be "printable" / "dumpable":

### The Formatter class

The **Printer** class needs one **Formatter** for each supported data type (exept for string).

A set of default **Formatter** is provided by the formatters module for Python's builtin types and should be good enough for most purposes.

These formatters can be modified or extended at will to support new types or modify the output for existing ones.

### The __print__ method

Any object can become 'printable' by implementing the **__print__** method which will call the Printer's methods in appropriate ways.


## Installation

    $ pip install nicely