semvec/pypi-packages huggingface dataset:
prag-matic-image-converter 0.1.1
A tool for optimizing images and converting to WebP format
Requires Python: >=3.7
Keywords: image, converter, webp, conversion, image processing

# image_converter

A Python package for optimizing images and converting them to WebP format.

## Installation

```bash
pip install prag-matic-image-converter
```

### Usage

```python

from image_converter import ImageConverter

# Create an optimizer instance
optimizer = ImageConverter(quality=85)

# Convert a single image
optimizer.convert_to_webp('input.jpg', 'output.webp')

# Convert all images in a folder
optimizer.batch_convert('input_folder', 'output_folder')

```

### Features

- Convert images to WebP format
- Batch processing support
- Quality control for optimization
- Handles RGBA images
- Supports PNG, JPG, JPEG, TIFF, BMP formats


### License
MIT License
spssdecode 0.1.0
A library to decode star maps into structured data.
Requires Python: >=3.7

# spssdecode

The `spssdecode` library decodes captured star maps into structured data (e.g., positions, colors, animations). It extracts session-specific information and analyzes visual patterns like star positions, twinkling patterns, and gradients.

## Installation

Install the library using pip:

```bash
pip install spssdecode

USAGE:
from spssdecode.decoder import Decoder
import numpy as np

# Initialize the Decoder
decoder = Decoder()

# Example image data (replace with real image data)
image_data = np.zeros((400, 400, 3), dtype=np.uint8)
center = (200, 200)
boundary_radius = 150
image_data[190:200, 190:200] = 255  # Bright region (simulating a star)

# Decode the star map
decoded_data = decoder.decode_star_map(image_data, center, boundary_radius)

print(decoded_data)
```
pytoque 0.2.0
A package that facilitates requests and has some tools for the El-Toque API
Requires Python: >=3.11

# PyToque Class

Class with methods to make requests to the ElToque API (Cuba).
## Installation
```python
pip install pytoque
```

## How to use
First you will need to request a personal token from the ElToque site. 

### Explanation
https://eltoque.com/eltoque-abre-acceso-a-su-api-de-las-tasas-de-cambio

### Form to obtain token
https://tasas-token.eltoque.com/

Open your virtual environment and install dependencies

_Create Virtual Environment_
```python
python -m venv .venv   
```
If you use Linux remember to use python3

<br/>

_Activate Virtual Environment_
### Linux
```bash
source .venv/bin/activate
```

### Windows
```bash
.venv\Scripts\activate
```

_Install Dependencies_
```python
pip install -r requirements.txt
```

_Import the PyToque class and initialize it by sending the api_key obtained on the official ElToque site as a parameter._

**Warning** Remember to be careful with the privacy of your personal token.

```python
from pytoque.pytoque.core import PyToque

toque = PyToque(api_key=API_KEY)
```

## Docs

### get_today() -> dict
Returns the exchange rates for the current date.

#### Additional Params

- filters: List of strings with exchange rate abbreviations

Available filters: ['ECU', 'TRX', 'USDT_TRC20', 'BTC', 'BNB', 'USD', 'MLC']

#### Exceptions
- Exception('Incorrect Filters') If filters are not available
- Exception(f'The response was not satisfactory, HTTP STATUS: {response.status_code}') In case the API returns another
status code, check the eltoque api documentation to see more.
- RequestException() In case a failure occurs in the request


### get_date(date: str) -> dict
Date parameter in format (YYYY-MM-DD)

Returns the exchange rates of the given date.

#### Additional Params

- filters: List of strings with exchange rate abbreviations

Available filters: ['ECU', 'TRX', 'USDT_TRC20', 'BTC', 'BNB', 'USD', 'MLC']

#### Exceptions
- Exception('Incorrect Filters') If filters are not available
- Exception(f'The response was not satisfactory, HTTP STATUS: {response.status_code}') In case the API returns another
status code, check the eltoque api documentation to see more.
- RequestException() In case a failure occurs in the request
- Exception('Please provide a date in format "YYYY-MM-DD"') In case a bad date format is sent
imageOptimization 0.1.0
A tool for optimizing images and converting to WebP format
Requires Python: >=3.7
Keywords: image, optimization, webp, conversion, image processing

# imageOptimization

A Python package for optimizing images and converting them to WebP format.

## Installation

```bash
pip install imageOptimization
```

### Usage

```python

from imageOptimization import ImageOptimizer

# Create an optimizer instance
optimizer = ImageOptimizer(quality=85)

# Convert a single image
optimizer.convert_to_webp('input.jpg', 'output.webp')

# Convert all images in a folder
optimizer.batch_optimize('input_folder', 'output_folder')

```

### Features

- Convert images to WebP format
- Batch processing support
- Quality control for optimization
- Handles RGBA images
- Supports PNG, JPG, JPEG, TIFF, BMP formats


### License
MIT License
calculadora-imc-novo-dio 0.1.0
Uma calculadora simples de IMC
Requires Python: >=3.6

# package_name

Description. 
The package package_name is used to:
	Esta é uma biblioteca Python simples para calcular o Índice de Massa Corporal (IMC). Basta informar o peso (kg) e a altura (m), e a função retornará o valor do IMC junto com a classificação correspondente.
	

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install package_name

```bash
pip install calculadora_imc
```

## Author
Thiago Silva

## License
[MIT](https://choosealicense.com/licenses/mit/)