semvec/pypi-packages huggingface dataset:
pyHomie 0.0.4
A Python library for Homie Convention
License: MIT
Keywords: mqtt, paho-mqtt, homie


## Motivation

easy to use and flexible library in python for <a href="https://homieiot.github.io">homie</a> convention

Python 3
Homie 4.0.0

configuration of homie device is mainly carried out in a Yaml file

mqtt configuration in section mqtt
~~~~yaml
mqtt:
    host: 192.168.2.20
    port: 1889 <optional>
    user: markus <optional>
    passwd: Geheim <optional>
~~~~
homie section
~~~~yaml
homie:
    device01:
        topic: homieTest
        id: device01
        name: Dishwasher
        node01:
            name: Program
            switch01:
                name: Power1
                type: switch
                settable: True
            float02:
                name: Power2
                type: string
                settable: True
        node02:
            name: Program
            string21:
                name: Power1
                type: string
                settable: True
            switch22:
                name: Power2
                type: switch
                settable: True
~~~~
## Example

~~~~python
import pyhomie

if __name__ == "__main__":
    homie = pyhomie()
    homie.init('config.yaml')
    homie.run()
    homie.switch01('True')
~~~~
wagtail-guide 2.2.0
Adds functionality to add and edit a CMS guide page for editors.
License: MIT

# Wagtail Guide

![tests](https://github.com/torchbox/wagtailguide/workflows/Test/badge.svg) [![codecov](https://codecov.io/gh/kevinhowbrook/wagtailguide/branch/master/graph/badge.svg?token=K2XKBfubBh)](https://codecov.io/gh/kevinhowbrook/wagtailguide)

## What is it?

The Wagtail Guide app adds functionality for creating and editing a guide for editors and publishers to help them create good content.

## Installation

Wagtailguide has a pypi package and can be installed with:

```bash
pip install wagtail-guide
```

After installing, add it to your settings file along with `wagtail.contrib.settings`, the settings inclusion should be placed with your other wagtail.contrib libraries:

```python
INSTALLED_APPS = [
    ...
    'wagtail_guide',
    'wagtail.contrib.settings',
]
```

## Settings and configuration

Wagtail guide has some customisation options...

**WAGTAIL_GUIDE_MENU_LABEL**
Use this setting to define your own menu label for viewing the guide.

**ADD_WAGTAIL_GUIDE_TO_HELP_MENU**
This setting will place the guide within the 'Help' menu.

**HIDE_WAGTAIL_CORE_EDITOR_GUIDE**
You can use this setting to turn off the Wagtail core Editor Guide link

### Examples of customisation via settings

Here is an example of a custom menu label (outlined here in orange),
and placing the editor guide link in the help menu:

```python
WAGTAIL_GUIDE_SETTINGS = {
    "ADD_WAGTAIL_GUIDE_TO_HELP_MENU": True,
    "WAGTAIL_GUIDE_MENU_LABEL": "CMS Publishing Guide",
    "HIDE_WAGTAIL_CORE_EDITOR_GUIDE": False,
}
```

![custom label](screenshots/custom-label.png)

Here is an example of hiding the core Editor Guide link and just using ours:

```python
WAGTAIL_GUIDE_SETTINGS = {
    "ADD_WAGTAIL_GUIDE_TO_HELP_MENU": True,
    "WAGTAIL_GUIDE_MENU_LABEL": "CMS Publishing Guide",
    "HIDE_WAGTAIL_CORE_EDITOR_GUIDE": True,
}
```

![remove help](screenshots/remove-help.png)

You can define them in your project settings file like this:

```python
WAGTAIL_GUIDE_SETTINGS = {
    "ADD_WAGTAIL_GUIDE_TO_HELP_MENU": False,
    "WAGTAIL_GUIDE_MENU_LABEL": "WG guide menu label",
    "HIDE_WAGTAIL_CORE_EDITOR_GUIDE": True,
}
```

## Usage

To edit the guide, the user needs to be an admin, or have the `Manage editor guide` 'change' value checked in their user group permissions.

### Editing the guide

To edit the guide, from the left hand menu open settings > then click 'Manage editor guide'. Edit your content and then save.

![guide edit](screenshots/editing.png)

#### Guide navigation menu

If more than one 'heading' blocks are added to the content, an automatic menu will be displayed at the top of the guide under the heading 'Contents'

### Viewing the guide

Once logged in, a new menu icon towards the bottom of the left hand menu will be visible labeled as 'Editor guide':

![guide view](screenshots/default.png)

## Dependencies

Wagtail Guide requires `wagtail>=5.2`

## Contributing

We welcome contributions to this project, see [CONTRIBUTING.md](docs/CONTRIBUTING.md) for more details.
PyYAML-tabs 6.0.3
YAML parser and emitter for Python with tabs indentation support
License: MIT
Requires Python: >=3.6

This is a fork of PyYAML with tabs indentation support.

YAML is a data serialization format designed for human readability
and interaction with scripting languages.  PyYAML is a YAML parser
and emitter for Python.

PyYAML features a complete YAML 1.1 parser, Unicode support, pickle
support, capable extension API, and sensible error messages.  PyYAML
supports standard YAML tags and provides Python-specific tags that
allow to represent an arbitrary Python object.

PyYAML is applicable for a broad range of tasks from complex
configuration files to object serialization and persistence.