python2wb


Namepython2wb JSON
Version 0.1.7 PyPI version JSON
download
home_pagehttps://github.com/aadegtyarev/python2wb
SummaryModule for Python integration with Wiren Board MQTT
upload_time2024-01-06 11:20:31
maintainer
docs_urlNone
authorAlexander Degtyarev
requires_python>=3.8,<4.0
license
keywords mqtt wirenboard
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python2wb
## Description
A wrapper for paho-mqtt with which you can work with MQTT [Wiren Board](https://wirenboard.com) from Python.

In the Wiren Board controller, information is exchanged through an MQTT broker, where devices are created according to the convention. Wiren Board has a standard tool for creating automation scripts [wb-rules](https://wirenboard.com/wiki/Wb-rules), but it has disadvantages: there are no community modules for different tasks, you cannot run and debug scripts on computer. Using Python allows you to write scripts the way you are used to and debug them in a familiar IDE: run the scripts locally on your computer and connect to the controller via MQTT.

Files in the repository:
- Module source code in the `python2wb` folder
- Examples in the `examples` folder

It was done “for oneself”, without guarantees and technical support, only for those who understand what they are doing.

## Install
Install the module and dependencies using pip: `pip install paho-mqtt python2wb`.

## Starting work
Connect the module to your script, create an object and specify the parameters for connecting to the MQTT broker. Minimal script example:

```python
# Import module
from python2wb.mqtt import WbMqtt

# Creating an object and passing connection parameters
wb = WbMqtt("wirenboard-a25ndemj.local", 1883)  # server, port, username, password

# Declaring a function to handle subscriptions
def log(device_id, control_id, new_value):
    print("log: %s %s %s" % (device_id, control_id, new_value))

# Subscription to all system device topics
wb.subscribe('system/+', log)
# Subscribe to LVA15 value of device metrics
wb.subscribe('metrics/load_average_15min', log)

try:
    # Looping a script so it doesn't terminate
    wb.loop_forever()
finally:
    # Cleaning virtual devices and subscriptions before exiting
    wb.clear()
```

## Deploying the project to the controller
After writing and debugging the project on the computer, you need to move it to the controller. Let's say the script will be in the folder `/mnt/data/bin/python2wb/`:
1. Copy our files to the controller, for example, like this: `scp -r ./* root@wirenboard-a25ndemj.local:/mnt/data/bin/python2wb`
2. Go to the controller console again and make the script file executable `chmod +x /mnt/data/bin/python2wb/script.py`
3. Next, create a description of the service `nano /etc/systemd/system/python2wb.service`, for example with the following content:

```
[Unit]
Description=python2wb
After=network.target

[Service]
ExecStart=python3 /mnt/data/bin/python2wb/script.py
WorkingDirectory=/mnt/data/bin/python2wb/
StandardOutput=inherit
StandardError=inherit
Restart=always
User=root

[Install]
WantedBy=multi-user.target
```
5. Start the service and place it in autostart `systemctl start python2wb ; systemctl enable python2wb`

## Working with device controls
The wrapper hides long topic names from the user, providing a simple interface for interacting with device controls, allowing you to read and write data using a short path notation `device_id/control_id`:
```python
# Write value to device control
wb.set("wb-mr6c_226/K1", new_value)

# Read value from control
print(wb.get("wb-mr6c_226/K1"))
```

## Subscription to controls
In addition, you can subscribe to one or more controls, including using the `+` wildcard character. Event processing occurs in the callback function that needs to be specified. The function returns:
- `device_id` — device identifier;
- `control_id` — control identifier `wb-gpio/A1_OUT` or list of controls `["wb-gpio/A1_OUT", "wb-gpio/A2_OUT"]`;
- `new_value` — new value of the control, converted to one of the types (`float`, `int`, `str`).

You can bind multiple subscriptions to one function:
```python
# Callback function
def log(device_id, control_id, new_value):
print("log: %s %s %s" % (device_id, control_id, new_value))

# Subscribe using wildcards
wb.subscribe('wb-gpio/+', log)

# Subscribe to one control
wb.subscribe("wb-mr6c_226/K1", log)

# Subscribe to several controls
wb.subscribe(["wb-gpio/A1_OUT", "wb-gpio/A2_OUT"], log)
```

You can also unsubscribe from the control if necessary:
```python
# Unsubscribe from one control
wb.unsubscribe("wb-mr6c_226/K1")

# Unsubscribe from several controls
wb.unsubscribe(["wb-gpio/A1_OUT", "wb-gpio/A2_OUT"])
```

## Subscribe to errors
When working with devices through the wb-mqtt-serial driver, you can receive exchange errors that are published by the driver in MQTT:
- r — error reading from device;
- w — error writing to the device;
- p — the driver could not maintain the specified polling period.

There can be several errors in one message, for example `rwp` or `rp`.

Subscribe to errors of a specific control:
```python

# Callback function
def log_errors(device_id, control_id, error_value):
print("log_errors: %s %s %s" % (device_id, control_id, error_value))

# Subscribe to control errors wb-mr6c_226/K1
wb.subscribe_errors("wb-mr6c_226/K1", log_errors)

```
You can use the `+` wildcard, for example:
```python
# Subscribe to all errors of the wb-mr6c_226 module
wb.subscribe_errors("wb-mr6c_226/+", log_errors)
```

You can also subscribe to errors from several controls through the list:
```python
# Subscribe to errors of several controls
wb.subscribe_errors(["wb-gpio/A1_OUT", "wb-gpio/A2_OUT"], log_errors)
```

Unsubscribe from one or more controls:
```python
# Note from control errors wb-mr6c_226/K1
wb.unsubscribe_errors("wb-mr6c_226/K1")

# Note about control errors with wildcard character
wb.unsubscribe_errors("wb-mr6c_226/+")

# Unsubscribe from errors of several controls
wb.unsubscribe_errors(["wb-gpio/A1_OUT", "wb-gpio/A2_OUT"])
```

## Subscribe to team topic /on
If you use a module in a converter, it will be useful to subscribe to a command topic in order to process actions in the web interface or third-party software. You can use the `+` wildcard character.

```python

# Callback function
def log_on(device_id, control_id, error_value):
print("log_on: %s %s %s" % (device_id, control_id, error_value))

# Subscribe to the command control topic wb-mr6c_226/K1
wb.subscribe_on("wb-mr6c_226/K1", log_on)

```

## Subscription to arbitrary MQTT topics
Sometimes you need to work with topics from third-party devices that do not know anything about the Wiren Board convention. For this purpose, there are functions for subscribing, unsubscribing and publishing with the full name of the topic. Event processing occurs in the callback function that needs to be specified. The function returns two parameters:
- `mqtt_topic` — full path to the topic;
- `new_value` — new value of type str.

When subscribing, you can use wildcard characters `+` - subscribe to one level and `#` - subscribe to all levels below.

Example:
```python
# Callback function
def log_raw(mqtt_topic, new_value):
print("log_raw: %s %s" % (mqtt_topic, new_value))

# Subscribe to topic
wb.subscribe_raw('/wbrules/#', log_raw)

# Publish a new value to a topic
wb.publish_raw('/wbrules/log/info', 'New Log Value')

# Unsubscribe from topic
wb.unsubscribe_raw('/wbrules/#')
```

## Virtual devices

You can also create virtual devices with an arbitrary number of controls and use them to interact with the user or store data:

```python
# Description of the virtual device
wb.create_virtual_device(
    "my-device", # device id
    {"ru": "Моё устройство", "en": "My Device"}, # device title
    [
        {
            "name": "temp", # control identifier in mqtt. Required.     
            "title": {"ru": "Температура", "en": "Temperature"}, # control title. Required.
            "type": "value", # control type. Required.
            "default": 50, # default value
            "order": 1, # number fo sorting
            "units": "°C" # unit         
        },
        {
            "name": "set_temp",
            "title": {"ru": "Уставка", "en": "Set Temperature"},
            "type": "value",
            "readonly": False, # prohibits editing the control. Default True.
            "default": 12.5,
            "order": 2,
            "units": "°C",
            "min": 0,
            "max": 100        
        },        
        {
            "name": "slider",
            "title": {"ru": "Ползунок", "en": "Slider"},
            "type": "range",
            "default": 13,
            "order": 3,
            "units": "%",
            "min": 10,
            "max": 35
        },          
        {
            "name": "switch",
            "title": {"ru": "Переключатель", "en": "Switch"},
            "type": "switch",
            "default": 1,
            "order": 4,
        },
        {
            "name": "log",
            "title": "Text Control", # you can have one line for all languages
            "type": "text",
            "default": "",
            "order": 5,
        },      
    ],
)
```
The title of the device and controls can be specified using the line `"My Device Title"` or a dictionary indicating the languages ​​`{"ru": "Switch", "en": "Switch 1"}`.

Controls are passed by an array of dictionaries. The description of the controls corresponds to the current [Wiren Board convention](https://github.com/wirenboard/conventions), with the exception of `default` for `switch`, the values ​​`0` and `1` should be used in the module.

List of types and available options for each type:
| type       | Possible values                  | default | order | units | min/max | readonly |
|------------|----------------------------------|---------|-------|-------|---------|----------|
| value      | any numbers: int, float          | +       |+      |+      |+        |+         |
| range      | any numbers: int, float          | +       |+      |+      |+        |+         |
| rgb        | format "R;G;B", each 0...255     | +       |+      |+      |         |+         |
| text       | text                             | +       |+      |+      |         |+         |
| alarm      | text                             | +       |+      |       |         |          |
| switch     | 0 or 1                           | +       |+      |       |         |+         |
| pushbutton | 1                                | +       |+      |       |         |          |

List of available `units`:
| Value     | Description, EN                                   |
|---        |---                                                |
| mm/h      | mm per hour, precipitation rate (rainfall rate)   |
| m/s       | meter per second, speed                           |
| W         | watt, power                                       |
| kWh       | kilowatt hour, power consumption                  |
| V         | voltage                                           |
| mV        | voltage (millivolts)                              |
| m^3/h     | cubic meters per hour, flow                       |
| m^3       | cubic meters, volume                              |
| Gcal/h    | giga calories per hour, heat power                |
| cal       | calories, energy                                  |
| Gcal      | giga calories, energy                             |
| Ohm       | resistance                                        |
| mOhm      | resistance (milliohms)                            |
| bar       | pressure                                          |
| mbar      | pressure (100Pa)                                  |
| s         | second                                            |
| min       | minute                                            |
| h         | hour                                              |
| m         | meter                                             |
| g         | gram                                              |
| kg        | kilo gram                                         |
| mol       | mole, amount of substance                         |
| cd        | candela, luminous intensity                       |
| %, RH     | relative humidity                                 |
| deg C     | temperature                                       |
| %         | percent                                           |
| ppm       | parts per million                                 |
| ppb       | parts per billion                                 |
| A         | ampere, current                                   |
| mA        | milliampere, current                              |
| deg       | degree, angle                                     |
| rad       | radian, angle                                     |

## Known issues
Created virtual devices are not always deleted. It is possible that the script ends before the deletion procedures are completed.

During installation, you need to create a description of the system for autorun, so you must update the controller software strictly via apt. When updating from a flash drive or in the web interface, the service description will be deleted. As a crutch, you can write a script on wb-rules that will run the script in Python :D


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/aadegtyarev/python2wb",
    "name": "python2wb",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "mqtt,wirenboard",
    "author": "Alexander Degtyarev",
    "author_email": "adegtyarev.ap@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/61/cb/25a6ea6e0588faed73cdd12dea0c848edf4934bc0730fe59734904ad0041/python2wb-0.1.7.tar.gz",
    "platform": null,
    "description": "# python2wb\n## Description\nA wrapper for paho-mqtt with which you can work with MQTT [Wiren Board](https://wirenboard.com) from Python.\n\nIn the Wiren Board controller, information is exchanged through an MQTT broker, where devices are created according to the convention. Wiren Board has a standard tool for creating automation scripts [wb-rules](https://wirenboard.com/wiki/Wb-rules), but it has disadvantages: there are no community modules for different tasks, you cannot run and debug scripts on computer. Using Python allows you to write scripts the way you are used to and debug them in a familiar IDE: run the scripts locally on your computer and connect to the controller via MQTT.\n\nFiles in the repository:\n- Module source code in the `python2wb` folder\n- Examples in the `examples` folder\n\nIt was done \u201cfor oneself\u201d, without guarantees and technical support, only for those who understand what they are doing.\n\n## Install\nInstall the module and dependencies using pip: `pip install paho-mqtt python2wb`.\n\n## Starting work\nConnect the module to your script, create an object and specify the parameters for connecting to the MQTT broker. Minimal script example:\n\n```python\n# Import module\nfrom python2wb.mqtt import WbMqtt\n\n# Creating an object and passing connection parameters\nwb = WbMqtt(\"wirenboard-a25ndemj.local\", 1883)  # server, port, username, password\n\n# Declaring a function to handle subscriptions\ndef log(device_id, control_id, new_value):\n    print(\"log: %s %s %s\" % (device_id, control_id, new_value))\n\n# Subscription to all system device topics\nwb.subscribe('system/+', log)\n# Subscribe to LVA15 value of device metrics\nwb.subscribe('metrics/load_average_15min', log)\n\ntry:\n    # Looping a script so it doesn't terminate\n    wb.loop_forever()\nfinally:\n    # Cleaning virtual devices and subscriptions before exiting\n    wb.clear()\n```\n\n## Deploying the project to the controller\nAfter writing and debugging the project on the computer, you need to move it to the controller. Let's say the script will be in the folder `/mnt/data/bin/python2wb/`:\n1. Copy our files to the controller, for example, like this: `scp -r ./* root@wirenboard-a25ndemj.local:/mnt/data/bin/python2wb`\n2. Go to the controller console again and make the script file executable `chmod +x /mnt/data/bin/python2wb/script.py`\n3. Next, create a description of the service `nano /etc/systemd/system/python2wb.service`, for example with the following content:\n\n```\n[Unit]\nDescription=python2wb\nAfter=network.target\n\n[Service]\nExecStart=python3 /mnt/data/bin/python2wb/script.py\nWorkingDirectory=/mnt/data/bin/python2wb/\nStandardOutput=inherit\nStandardError=inherit\nRestart=always\nUser=root\n\n[Install]\nWantedBy=multi-user.target\n```\n5. Start the service and place it in autostart `systemctl start python2wb ; systemctl enable python2wb`\n\n## Working with device controls\nThe wrapper hides long topic names from the user, providing a simple interface for interacting with device controls, allowing you to read and write data using a short path notation `device_id/control_id`:\n```python\n# Write value to device control\nwb.set(\"wb-mr6c_226/K1\", new_value)\n\n# Read value from control\nprint(wb.get(\"wb-mr6c_226/K1\"))\n```\n\n## Subscription to controls\nIn addition, you can subscribe to one or more controls, including using the `+` wildcard character. Event processing occurs in the callback function that needs to be specified. The function returns:\n- `device_id` \u2014 device identifier;\n- `control_id` \u2014 control identifier `wb-gpio/A1_OUT` or list of controls `[\"wb-gpio/A1_OUT\", \"wb-gpio/A2_OUT\"]`;\n- `new_value` \u2014 new value of the control, converted to one of the types (`float`, `int`, `str`).\n\nYou can bind multiple subscriptions to one function:\n```python\n# Callback function\ndef log(device_id, control_id, new_value):\nprint(\"log: %s %s %s\" % (device_id, control_id, new_value))\n\n# Subscribe using wildcards\nwb.subscribe('wb-gpio/+', log)\n\n# Subscribe to one control\nwb.subscribe(\"wb-mr6c_226/K1\", log)\n\n# Subscribe to several controls\nwb.subscribe([\"wb-gpio/A1_OUT\", \"wb-gpio/A2_OUT\"], log)\n```\n\nYou can also unsubscribe from the control if necessary:\n```python\n# Unsubscribe from one control\nwb.unsubscribe(\"wb-mr6c_226/K1\")\n\n# Unsubscribe from several controls\nwb.unsubscribe([\"wb-gpio/A1_OUT\", \"wb-gpio/A2_OUT\"])\n```\n\n## Subscribe to errors\nWhen working with devices through the wb-mqtt-serial driver, you can receive exchange errors that are published by the driver in MQTT:\n- r \u2014 error reading from device;\n- w \u2014 error writing to the device;\n- p \u2014 the driver could not maintain the specified polling period.\n\nThere can be several errors in one message, for example `rwp` or `rp`.\n\nSubscribe to errors of a specific control:\n```python\n\n# Callback function\ndef log_errors(device_id, control_id, error_value):\nprint(\"log_errors: %s %s %s\" % (device_id, control_id, error_value))\n\n# Subscribe to control errors wb-mr6c_226/K1\nwb.subscribe_errors(\"wb-mr6c_226/K1\", log_errors)\n\n```\nYou can use the `+` wildcard, for example:\n```python\n# Subscribe to all errors of the wb-mr6c_226 module\nwb.subscribe_errors(\"wb-mr6c_226/+\", log_errors)\n```\n\nYou can also subscribe to errors from several controls through the list:\n```python\n# Subscribe to errors of several controls\nwb.subscribe_errors([\"wb-gpio/A1_OUT\", \"wb-gpio/A2_OUT\"], log_errors)\n```\n\nUnsubscribe from one or more controls:\n```python\n# Note from control errors wb-mr6c_226/K1\nwb.unsubscribe_errors(\"wb-mr6c_226/K1\")\n\n# Note about control errors with wildcard character\nwb.unsubscribe_errors(\"wb-mr6c_226/+\")\n\n# Unsubscribe from errors of several controls\nwb.unsubscribe_errors([\"wb-gpio/A1_OUT\", \"wb-gpio/A2_OUT\"])\n```\n\n## Subscribe to team topic /on\nIf you use a module in a converter, it will be useful to subscribe to a command topic in order to process actions in the web interface or third-party software. You can use the `+` wildcard character.\n\n```python\n\n# Callback function\ndef log_on(device_id, control_id, error_value):\nprint(\"log_on: %s %s %s\" % (device_id, control_id, error_value))\n\n# Subscribe to the command control topic wb-mr6c_226/K1\nwb.subscribe_on(\"wb-mr6c_226/K1\", log_on)\n\n```\n\n## Subscription to arbitrary MQTT topics\nSometimes you need to work with topics from third-party devices that do not know anything about the Wiren Board convention. For this purpose, there are functions for subscribing, unsubscribing and publishing with the full name of the topic. Event processing occurs in the callback function that needs to be specified. The function returns two parameters:\n- `mqtt_topic` \u2014 full path to the topic;\n- `new_value` \u2014 new value of type str.\n\nWhen subscribing, you can use wildcard characters `+` - subscribe to one level and `#` - subscribe to all levels below.\n\nExample:\n```python\n# Callback function\ndef log_raw(mqtt_topic, new_value):\nprint(\"log_raw: %s %s\" % (mqtt_topic, new_value))\n\n# Subscribe to topic\nwb.subscribe_raw('/wbrules/#', log_raw)\n\n# Publish a new value to a topic\nwb.publish_raw('/wbrules/log/info', 'New Log Value')\n\n# Unsubscribe from topic\nwb.unsubscribe_raw('/wbrules/#')\n```\n\n## Virtual devices\n\nYou can also create virtual devices with an arbitrary number of controls and use them to interact with the user or store data:\n\n```python\n# Description of the virtual device\nwb.create_virtual_device(\n    \"my-device\", # device id\n    {\"ru\": \"\u041c\u043e\u0451 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\", \"en\": \"My Device\"}, # device title\n    [\n        {\n            \"name\": \"temp\", # control identifier in mqtt. Required.     \n            \"title\": {\"ru\": \"\u0422\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430\", \"en\": \"Temperature\"}, # control title. Required.\n            \"type\": \"value\", # control type. Required.\n            \"default\": 50, # default value\n            \"order\": 1, # number fo sorting\n            \"units\": \"\u00b0C\" # unit         \n        },\n        {\n            \"name\": \"set_temp\",\n            \"title\": {\"ru\": \"\u0423\u0441\u0442\u0430\u0432\u043a\u0430\", \"en\": \"Set Temperature\"},\n            \"type\": \"value\",\n            \"readonly\": False, # prohibits editing the control. Default True.\n            \"default\": 12.5,\n            \"order\": 2,\n            \"units\": \"\u00b0C\",\n            \"min\": 0,\n            \"max\": 100        \n        },        \n        {\n            \"name\": \"slider\",\n            \"title\": {\"ru\": \"\u041f\u043e\u043b\u0437\u0443\u043d\u043e\u043a\", \"en\": \"Slider\"},\n            \"type\": \"range\",\n            \"default\": 13,\n            \"order\": 3,\n            \"units\": \"%\",\n            \"min\": 10,\n            \"max\": 35\n        },          \n        {\n            \"name\": \"switch\",\n            \"title\": {\"ru\": \"\u041f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u0435\u043b\u044c\", \"en\": \"Switch\"},\n            \"type\": \"switch\",\n            \"default\": 1,\n            \"order\": 4,\n        },\n        {\n            \"name\": \"log\",\n            \"title\": \"Text Control\", # you can have one line for all languages\n            \"type\": \"text\",\n            \"default\": \"\",\n            \"order\": 5,\n        },      \n    ],\n)\n```\nThe title of the device and controls can be specified using the line `\"My Device Title\"` or a dictionary indicating the languages \u200b\u200b`{\"ru\": \"Switch\", \"en\": \"Switch 1\"}`.\n\nControls are passed by an array of dictionaries. The description of the controls corresponds to the current [Wiren Board convention](https://github.com/wirenboard/conventions), with the exception of `default` for `switch`, the values \u200b\u200b`0` and `1` should be used in the module.\n\nList of types and available options for each type:\n| type       | Possible values                  | default | order | units | min/max | readonly |\n|------------|----------------------------------|---------|-------|-------|---------|----------|\n| value      | any numbers: int, float          | +       |+      |+      |+        |+         |\n| range      | any numbers: int, float          | +       |+      |+      |+        |+         |\n| rgb        | format \"R;G;B\", each 0...255     | +       |+      |+      |         |+         |\n| text       | text                             | +       |+      |+      |         |+         |\n| alarm      | text                             | +       |+      |       |         |          |\n| switch     | 0 or 1                           | +       |+      |       |         |+         |\n| pushbutton | 1                                | +       |+      |       |         |          |\n\nList of available `units`:\n| Value     | Description, EN                                   |\n|---        |---                                                |\n| mm/h      | mm per hour, precipitation rate (rainfall rate)   |\n| m/s       | meter per second, speed                           |\n| W         | watt, power                                       |\n| kWh       | kilowatt hour, power consumption                  |\n| V         | voltage                                           |\n| mV        | voltage (millivolts)                              |\n| m^3/h     | cubic meters per hour, flow                       |\n| m^3       | cubic meters, volume                              |\n| Gcal/h    | giga calories per hour, heat power                |\n| cal       | calories, energy                                  |\n| Gcal      | giga calories, energy                             |\n| Ohm       | resistance                                        |\n| mOhm      | resistance (milliohms)                            |\n| bar       | pressure                                          |\n| mbar      | pressure (100Pa)                                  |\n| s         | second                                            |\n| min       | minute                                            |\n| h         | hour                                              |\n| m         | meter                                             |\n| g         | gram                                              |\n| kg        | kilo gram                                         |\n| mol       | mole, amount of substance                         |\n| cd        | candela, luminous intensity                       |\n| %, RH     | relative humidity                                 |\n| deg C     | temperature                                       |\n| %         | percent                                           |\n| ppm       | parts per million                                 |\n| ppb       | parts per billion                                 |\n| A         | ampere, current                                   |\n| mA        | milliampere, current                              |\n| deg       | degree, angle                                     |\n| rad       | radian, angle                                     |\n\n## Known issues\nCreated virtual devices are not always deleted. It is possible that the script ends before the deletion procedures are completed.\n\nDuring installation, you need to create a description of the system for autorun, so you must update the controller software strictly via apt. When updating from a flash drive or in the web interface, the service description will be deleted. As a crutch, you can write a script on wb-rules that will run the script in Python :D\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Module for Python integration with Wiren Board MQTT",
    "version": "0.1.7",
    "project_urls": {
        "Homepage": "https://github.com/aadegtyarev/python2wb",
        "Repository": "https://github.com/aadegtyarev/python2wb"
    },
    "split_keywords": [
        "mqtt",
        "wirenboard"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9a241663e76bee61150da5f9853f91d1405119f026759367e04f51ea5c3e8717",
                "md5": "89c9ce57fd1ecb204dd9e04a8e1a12eb",
                "sha256": "e8afad7836dd98d776391964e02cfa659614998cdaf9b383d468c9357332d4b7"
            },
            "downloads": -1,
            "filename": "python2wb-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "89c9ce57fd1ecb204dd9e04a8e1a12eb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 10207,
            "upload_time": "2024-01-06T11:20:29",
            "upload_time_iso_8601": "2024-01-06T11:20:29.528748Z",
            "url": "https://files.pythonhosted.org/packages/9a/24/1663e76bee61150da5f9853f91d1405119f026759367e04f51ea5c3e8717/python2wb-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "61cb25a6ea6e0588faed73cdd12dea0c848edf4934bc0730fe59734904ad0041",
                "md5": "8d01953e5eb2abb46a6fc2648ffdd8f5",
                "sha256": "1a409819d8fd7d97f9e8a2fa60058826accbc16aad6e7614b3b12fff49edb76c"
            },
            "downloads": -1,
            "filename": "python2wb-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "8d01953e5eb2abb46a6fc2648ffdd8f5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 13323,
            "upload_time": "2024-01-06T11:20:31",
            "upload_time_iso_8601": "2024-01-06T11:20:31.064139Z",
            "url": "https://files.pythonhosted.org/packages/61/cb/25a6ea6e0588faed73cdd12dea0c848edf4934bc0730fe59734904ad0041/python2wb-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-06 11:20:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "aadegtyarev",
    "github_project": "python2wb",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "python2wb"
}
        
Elapsed time: 0.17687s