semvec/pypi-packages huggingface dataset:
ytpa-api-utils 0.1.8
API utils for the YouTube Predictive Analytics system
License: MIT
Requires Python: >=3.11.5,<4.0.0

# ytpa-api-utils

## Description

This package contains utility functions used by the YouTube video predictive analytics (YTPA) system's API engine.
They support functionality for:
- requests: `request_utils.py`
- websockets: `websocket_utils.py`
- other: `misc_utils.py`

The file `websocket_utils.py` implements the send/receive logic for chunking a large pandas DataFrame, 
sending the chunks through a websocket connection, and assembling them into a single DataFrame on the other side. 
This allows for streaming DataFrames in a dynamic way while minimizing bandwidth per unit time.
It hides the websocket logic from both sides of the transaction, making it possible to set up the websocket
connection once and then deal only with DataFrame generators.


## Installation

Install from PyPI with `pip install ytpa-api-utils`.

## Make commands

Several make commands are implemented in `Makefile`.

### Testing

Tests are implemented in the `test/` directory, one file per module. Run them locally with `make test`.

### Deploying a new package version

A new version of the package can be deployed by incrementing the version number in `pyproject.toml` and running 
`make deploy`. 
A better practice is to `git push` and allow the Github Actions pipeline to take care of running tests and deploying 
the new version only when the entire pipeline succeeds.
Make sure to use the right version of the package in your other environments (update it in a requirements file and 
update the environment).
ytpa-utils 0.1.16
Utils for the YouTube Predictive Analytics system
License: MIT
Requires Python: >=3.11.5,<4.0.0

# ytpa-utils

## Description

This package contains utility functions used by the YouTube video predictive analytics (YTPA) system.
They support extended functionality for:
- pandas: `df_utils.py`
- gensim (text processing): `gensim_utils.py`
- data I/O: `io_utils.py`
- numpy: `np_utils.py`
- SQL: `sql_utils.py`
- timing: `time_utils.py`
- object type validation: `val_utils.py`
- other: `misc_utils.py`

## Installation

Install from PyPI with `pip install ytpa-utils`.

## Make commands

Several make commands are implemented in `Makefile`.

### Testing

Tests are implemented in the `test/` directory, one file per module. Run them locally with `make test`.

### Deploying a new package version

A new version of the package can be deployed by incrementing the version number in `pyproject.toml` and running 
`make deploy`. 
A better practice is to `git push` and allow the Github Actions pipeline to take care of running tests and deploying 
the new version only when the entire pipeline succeeds.
Make sure to use the right version of the package in your other environments (update it in a requirements file and 
update the environment).
growhat 0.0.3
Grow HAT Mini. A plant valet add-on for the Raspberry Pi
License: MIT
Requires Python: >=3
Keywords: Raspberry Pi

# Grow HAT Mini

Designed as a tiny valet for your plants, Grow HAT mini will monitor the soil moiture for up to 3 plants, water them with tiny pumps, and show you their health on its small but informative screen. Learn more - https://shop.pimoroni.com/products/grow

[![Build Status](https://travis-ci.com/pimoroni/enviroplus-python.svg?branch=master)](https://travis-ci.com/pimoroni/grow-python)
[![Coverage Status](https://coveralls.io/repos/github/pimoroni/grow-python/badge.svg?branch=master)](https://coveralls.io/github/pimoroni/grow-python?branch=master)
[![PyPi Package](https://img.shields.io/pypi/v/enviroplus.svg)](https://pypi.python.org/pypi/growhat)
[![Python Versions](https://img.shields.io/pypi/pyversions/enviroplus.svg)](https://pypi.python.org/pypi/growhat)

# Installing

You're best using the "One-line" install method.

## One-line (Installs from GitHub)

```
curl -sSL https://get.pimoroni.com/grow | bash
```

**Note** report issues with one-line installer here: https://github.com/pimoroni/get

## Or... Install and configure dependencies from GitHub:

* `git clone https://github.com/pimoroni/grow-python`
* `cd grow-python`
* `sudo ./install.sh`

**Note** Raspbian Lite users may first need to install git: `sudo apt install git`

## Or... Install from PyPi and configure manually:

* Install dependencies:

```
sudo apt install python3-setuptools python3-pip python3-yaml python3-smbus python3-pil python3-spidev python3-rpi.gpio
```

* Run `sudo pip3 install growhat`

**Note** this wont perform any of the required configuration changes on your Pi, you may additionally need to:

* Enable i2c: `sudo raspi-config nonint do_i2c 0`
* Enable SPI: `sudo raspi-config nonint do_spi 0`
* Add the following to `/boot/config.txt`: `dtoverlay=spi0-cs,cs0_pin=14`

## Monitoring

You should read the following to get up and running with our monitoring script:

* [Using and configuring monitor.py](examples/README.md)
* [Setting up monitor.py as a service](service/README.md)

## Help & Support

* GPIO Pinout - https://pinout.xyz/pinout/grow_hat_mini
* Support forums - http://forums.pimoroni.com/c/support
* Discord - https://discord.gg/hr93ByC

# Changelog
0.0.3
-----

* Pin dependences to pre-Bookworm migration

0.0.2
-----

* Add mutually exclusive locking to pumps to avoid brownout running multiple pumps at once

0.0.1
-----

* Initial Release