semvec/pypi-packages huggingface dataset:
py-style-flattener 0.0.3
Manipulate HTML by moving <style> to style=".
Requires Python: >=3.6
Keywords: html,style,css,parser,regex

# Py Style Flattener

## Introduction

This module is useful to move all the css from style tags to inline style attribute

Makes use of pyquery and regex (due to stdlib's re module not supporting recursion)

Keeps all the @font-face but removes everything else

### Installation

```bash
pip install py_style_flattener
```

### Usage

It can be used from cli:
```bash
$ py-style-flattener INPUT OUTPUT
```
(note that INPUT and OUTPUT can be either paths or stdin/stdout)

Or as a python module

```python
>>> import py_style_flattener
>>> # using files, you need to open them before.
>>> py_style_flattener.using_files(INPUT, OUTPUT)
>>> # using plain strings
>>> OUTPUT = dpy_style_flattener.using_strings(INPUT)
```

### Current limitations:

- doesn't fetch remote style
- cannot set pseudo elements (limitation inherited from cssselect used by pyquery)
- only takes care of @media screen{} avoiding all other media queries


## Contributing

### build & release
```bash
pip install build twine
python -m build
python -m twine upload --config-file .pypirc dist/*
```
plexflo 1.2.1
Open-source Python wrapper around Plexflo's apps, APIs, and algorithms that help researchers, engineers and energy companies build intelligence, apps, and dashboards to accelerate clean-tech adoption across all communities.
Requires Python: >=3.6

"
## Plexflo
Plexflo offers a comprehensive ecosystem of tools and libraries that lets you build Deep Learning powered applications for effective management of grid with accurate forecasting and analytics.

### Plexflo's Open-Source library
We have built an Open-Source library datastream that aids researchers and engineers to try our Deep Learning models for detection of EVs (Electric Vehicles) charging events from smart home meter data.

### datastream
datastream helps researchers and engineers to try our Deep Learning models for detection of Electric Vehicles charging events from smart home meter data.

### connect
connect helps users to leverage our easy-to-use socket programming wrapper for hassle free client-server use-cases.

### loadprofiles
loadprofiles helps researchers and engineers to try our pre-defined 24-hour load profiles for various scenarios in their load forecasting use-cases.

### utils
utils helps users take advantage of our easy-to-use mathematical and statistical functions.