semvec/pypi-packages huggingface dataset:
aio-intex-spa 0.9.1
Python client for Intex Spa wifi interface

# aio-intex-spa

<!-- badges start -->

[![PyPI version][pypibadge]][pypilink]
![Project Maintenance][maintenance-shield]
[![Open in Remote - Containers][devcontainer-badge]][devcontainer]

<!-- badges end -->

_An AsyncIO-compatible Python client for Intex Spa wifi interface_

## Description

This python package aims to provide an interface with the Intex Spa wifi module.

It is compatible with Intex wifi-enabled spas without any specific hardware, as it uses the built-in Intex wifi module.

It uses direct TCP connection to the spa, and does not require access to the Intex cloud. The built-in Intex wifi module only has to be connected to a wifi Access Point.

It is written with asyncio network functions. It only supports asyncio usage.

## User installation

```bash
python3 -m pip install -U aio-intex-spa
```

## Usage examples

Below are some examples, see `examples` directory for more delight.

### Retrieve spa status
```python
from aio_intex_spa import IntexSpa

async def get_spa_status():
    spa = IntexSpa(SPA_ADDRESS)
    await spa.async_update_status()

asyncio.run(get_spa_status())
```

### Set spa heater state
```python
from aio_intex_spa import IntexSpa

async def set_spa_heater_state():
    spa = IntexSpa(SPA_ADDRESS)
    await spa.async_set_heater(True)

asyncio.run(set_spa_heater_state())
```

## Versioning

The versioning of this python package follows Semantic Versioning 2.0.0

***Reminder**: Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.*

For Changelog, please read [releases].

<!-- links start -->

[pypilink]: https://pypi.org/project/aio-intex-spa/
[pypibadge]: https://badge.fury.io/py/aio-intex-spa.svg
[releases]: https://github.com/mathieu-mp/aio-intex-spa/releases
[maintenance-shield]: https://img.shields.io/maintenance/yes/2024.svg
[devcontainer]: https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/mathieu-mp/aio-intex-spa
[devcontainer-badge]: https://img.shields.io/static/v1?label=Remote%20-%20Containers&message=Open&color=blue&logo=visualstudiocode

<!-- links end -->
grigode-env-2 1.0
grigode-env-2 is a library for reading and managing key-value pairs from .env files in your projects.

# grigode-env-2

grigode-env-2 is a library for reading and managing key-value pairs from .env files in your projects.

- [Installation](#installation)
- [The syntax of the `.env` file](#the-syntax-of-the-env-file)
- [Available data types](#available-data-types)

## Installation

```bash
pip install grigode-env-2
```

If you need to use system environment variables and want to add more environment variables without having to configure them manually or modify the system variables, you can choose to add grigode_env to your application to load the configuration from one or more .env files:

```python
from grigodeenv2 import datetime, Env, read_environ

read_environ('.env')

env = Env(
    EMAIL_PORT=(int, 45),
    ANY_DATETIME=(datetime, None, {"format": '%d/%m/%y %H:%M:%S'})
)

SECRET_KEY = env('SECRET_KEY')  # str
DEBUG = env.bool('DEBUG')  # bool
SERVER_PORT = env.int('SERVER_PORT')  #int
EMAIL_PORT = env('EMAIL_PORT')  #int
HOSTS = env.list('HOSTS')  # list
ANY_DATETIME = env('ANY_DATETIME')  # datetime

```

## The syntax of the `.env` file

```
# App Config
SECRET_KEY=mi_clave_secreta
DEBUG=true

# Server Config
SERVER_PORT=3000
HOSTS=["localhost"]

# Configuración de correo electrónico
EMAIL_HOST=smtp.example.com
EMAIL_PORT=587
EMAIL_USER=usuario@example.com
EMAIL_PASSWORD=mi_password_secreto

# Other
ANY_DATETIME=15/03/24 13:55:26
```

## Available data types

```python
STRING = env.str('STRING')  # str
BYTES = env.bytes('BYTES')  # bytes
BOOLEAN = env.bool('BOOLEAN')  # bool
INTEGER = env.int('INTEGER')  # int
FLOAT = env.float('FLOAT')  # float
JSON = env.json('JSON')  # dict
LIST = env.list('LIST')  # list
TUPLE = env.tuple('TUPLE')  # tuple
DICTIONARY = env.dict('DICTIONARY')  # dict
DATETIME = env.datetime('DATETIME')  # datetime.datetime
```
redundantcss 0.0.3
Identifies redundant CSS classes not used by the templates provided.
Keywords: python, css, html, redundantcss, remove unused css


# RedundantCSS

##### Current Version: V0.0.3



### **Contents:**

- [Description](#description)

- [Installation](#installation)

- [Usage](#usage)



## **Description:**

This script analyzes a stylesheet and identifies redundant CSS classes not used by the templates provided. The script prints the names of all unused classes to the terminal, at which point you can go to the stylesheet and delete unused classes.

<br>

Currently this package only detects unused classes, [more features](#coming-soon) are on the way!



## **Installation:**

    pip install redundantcss



## **Usage:**

    redundantcss 'stylesheet_path' 'template_path_or_template_paths'



Arguments:

  - 'stylesheet_path': Path to the CSS stylesheet to be analyzed.

    - If your styles.css sheet is within another folder, please specify this folder first, eg *static/styles.css*.

  - 'template_path_or_template_paths': Path to a folder containing HTML templates or paths to individual template files.



Examples:

  1. Analyze a single template:

     python redundantcss.py 'styles.css' 'template.html'



  2. Analyze multiple templates in a folder:

     python redundantcss.py 'styles.css' 'templates/'



  3. Analyze multiple templates provided as separate arguments:

     python redundantcss.py 'styles.css' 'template1.html' 'template2.html' 'template3.html'



<hr>



## **COMING SOON:** 

- Use argparse for specific arguments, eg --usage, --dil, --rc

- Give option to rewrite CSS file without redundant classes.

- Create detect_inline_styling(). Dict with value being list of tuples.

- Refactor functions and create more specific functions for current actions.

- Provide clear documentation.

- Detect media queries, id styles, and element styles.

- Allow user to pass just the folder name containing .css file.

- Parameterize ‘.html’ stuff.