semvec/pypi-packages huggingface dataset:
heatzy 0.0.11
Controller for Heatzy products

# python-heatzy - Python Heatzy controller
## heatzy
Heatzy (https://heatzy.com/) is a provider of heating control solutions (such as Pilot Wire addons to radiators). There is an API available on Google Drive, this software was created to control the Pilot Wire solution from a Python library.
## Usage
### Python
```python
>>> import heatzy
# First create the handler with your heatzy app login/password
>>> hh = heatzy.HeatzyHandler('bidon@bidon.fr', 'p@ssw0rd')

# Get the devices dictionary (containing object type HeatzyDevice) associated to your account. The key is the device name
>>> deviceDict = hh.getHeatzyDevices()

# Assigns the device named 'Chambre'
>>> device = deviceDict['Chambre']  
# Gets status
>>> device.status() 
'ECO'
### Sets 'confort' mode 
>>> device.confort()
# Gets status
>>> device.status() 
'CONFORT'
>>> device.off()            # Sets mode to 'off'
>>> device.horsgel()        # Anti-freezing mode
>>> device.eco()            # Sets 'ECO' mode
>>> device.setMode('ECO')   # Different way to set 'ECO' mode

```
### CLI
A CLI tool for interacting with the library is included (bin/heatzy-cli)
```bash
heatzy-cli
usage: heatzy.py [-h] [-u USERNAME] [-p PASSWORD] [-d DEVICE] [-l]
                 [-m SETMODE]

Controls Heatzy devices throught the CLI

optional arguments:
  -h, --help            show this help message and exit
  -u USERNAME, --username USERNAME
                        Username on the Heatzy (Gizwits) platform
  -p PASSWORD, --password PASSWORD
                        Password of the user
  -d DEVICE, --device DEVICE
                        Name of the Heatzy device you wish to control
  -l, --list            List all devices
  -m SETMODE, --setmode SETMODE
                        Sets the mode of the device
heatzy-cli -u login@heatzy.com -p p@ssw0rd -l                        # Lists the devices
heatzy-cli -u login@heatzy.com -p p@ssw0rd -d Bedroom                # Prints the info of the device
heatzy-cli -u login@heatzy.com -p p@ssw0rd -d Bedroom -m ECO         # Sets the device in the bedroom in ECO mode
```
### HASS Integration
An optional component is available under opt/homeassistant. Put it in your '<config>/custom_components/climate' directory, and edit your configuration.yaml file.

```YAML
# Heatzy
climate:
  - platform: heatzy
    username: 'bidon@bidon.com'
    password: 'p@ssw0rd'
```
ddsl-lambda-wg 0.1.5
This is a workload generator for aws lambda.

|PyPI| |PyPI - Status| |Travis (.com)| |Libraries.io dependency status
for latest release| |GitHub|

DDSL Lambda Workload Generator
==============================

This is a workload generator designed especifically to perform load
testing for several applications. The internal use case of this workload
generator is for load testing AWS Lambda functions, but it can be used
for other purposes. All you have to do is give it a ``worker`` function
and the number of requests per second you want to achieve on average and
it will do the rest for you.

Usage
=====

Check out the example.

Installation
============

Install using pip:

.. code:: bash

   $ pip install ddsl-lambda-wg

Upgrading:

.. code:: bash

   pip install ddsl-lambda-wg --upgrade

.. |PyPI| image:: https://img.shields.io/pypi/v/ddsl-lambda-wg.svg
.. |PyPI - Status| image:: https://img.shields.io/pypi/status/ddsl-lambda-wg.svg
.. |Travis (.com)| image:: https://img.shields.io/travis/com/nimamahmoudi/ddsl_lambda_workload_generator.svg
.. |Libraries.io dependency status for latest release| image:: https://img.shields.io/librariesio/release/pypi/ddsl_lambda_wg.svg
.. |GitHub| image:: https://img.shields.io/github/license/nimamahmoudi/ddsl_lambda_workload_generator.svg