semvec/pypi-packages huggingface dataset:
homie-helpers 0.0.7
A set of helpers for implementing Homie IoT Convention
Keywords: HOMIE,MQTT

# homie-helpers

Yet another python implementation of [Homie Convection](https://homieiot.github.io/)

In fact, it's a wrapper around another library [Homie4](https://github.com/mjcumming/homie4) - just with changed API

# Quick start

There are two possible approaches - choose one that suits you more!

### Approach 1: setting properties using device object
```python
# Let's create settings first...
SETTINGS = HomieSettings('mqtt.eclipseprojects.io', port=1883, username='...' password='...')

# Callback for 'ison' property
def set_enabled(value):
    print('Turning %s' % ('on' if value else 'off'))

# Create Homie object
# At this moment the MQTT messages will be sent!
homie = Homie(SETTINGS, "my-thermometer", nodes=[
    Node("status", properties=[
        FloatProperty("temperature", unit="C"),             # client cannot modify this property
        BooleanProperty('ison', set_handler=set_enabled)    # client CAN modify this property - will call callback
    ])
])

homie['temperature'] = 20.0
```

### Approach 2: setting properties using property objects
```python
# Let's create settings first...
SETTINGS = HomieSettings('mqtt.eclipseprojects.io', port=1883, username='...' password='...')

# Callback for 'ison' property
def set_enabled(value):
    print('Turning %s' % ('on' if value else 'off'))

property_temperature = FloatProperty("temperature", unit="C"),      # client cannot modify this property
property_ison = BooleanProperty('ison', set_handler=set_enabled)    # client CAN modify this property - will call callback 
    
# Create Homie object
# At this moment the MQTT messages will be sent!
homie = Homie(SETTINGS, "my-thermometer", nodes=[
    Node("status", properties=[property_temperature, property_ison])

property_temperature.value = 20.0
```
add-swap-space 1.1.0
A Python package to add swap space to a Linux system
Requires Python: >=3.6
Keywords: swap,add swap,swap space,linux swap,swap memory

# add-swap-space
A Python package to add swap space to a Linux system

![GitHub language count](https://img.shields.io/github/languages/count/rbashish/add-swap-space?style=plastic)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/add-swap-space?style=plastic)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/add-swap-space?style=plastic)



![GitHub issues](https://img.shields.io/github/issues/rbashish/add-swap-space?style=plastic)
![PyPI - License](https://img.shields.io/pypi/l/add-swap-space?style=plastic)
![PyPI - Downloads](https://img.shields.io/pypi/dm/add-swap-space?color=orange&label=PyPI%20downloads&style=plastic)


Description
-----
This package provides a command-line interface to add swap space to a Linux system.

It prompts the user for the desired swap size in GB and then adds the swap space using the dd and mkswap commands. After the swap space has been added, it updates `/etc/fstab` to make the swap permanent.

Download & Install
-----
```
pip install add-swap-space
```

`Note:` If pip is unrecognized try pip3 instead. 

Usage
----
```
sudo python3 -m add_swap_space
```
`Note:` Make sure you have pip install under root user as updating /etc/fstab requires root permission.

Screenshot
----
![pypi-add-swap-space.png](https://github.com/rbashish/add-swap-space/blob/main/image/pypi-add-swap-space.png)

Feedback/Issue
----
Have a feedback, feature request, known bug, please report it at this [issue page](https://github.com/rbashish/add-swap-space/issues)
linkedin-cv 0.1.1
Create LinkedIn inspired CVs from the command line
Requires Python: >=3.8.0,<4.0

# linkedincv

<p align="center">
<a href="https://pypi.org/project/linkedin-cv" target="_blank">
    <img src="https://img.shields.io/pypi/v/linkedin-cv?label=version&logo=python&logoColor=%23fff&color=306998" alt="PyPI - version">
</a>

<a href="https://pypi.org/project/linkedin-cv" target="_blank">
    <img src="https://img.shields.io/pypi/pyversions/linkedin-cv.svg?logo=python&logoColor=%23fff&color=306998" alt="PyPI - supported versions">
</a>
</p>

Create LinkedIn inspired CVs from the command line.

## Installation

`linkedin-cv` is available through PyPI:

```bash
  pip install linkedin-cv
```