semvec/pypi-packages huggingface dataset:
currency-extractor-easyocr 0.0.1
Extract Currency Symbols on image using EasyOCR

## CURRENCY_EXTRACTOR_EASYOCR

```markdown
# Currency Extractor EasyOCR

Currency Extractor EasyOCR is a Python package that leverages the EasyOCR library to detect currency symbols in images. This package provides a convenient command-line interface for easy integration into your projects.

## Installation

You can install the package using `pip`:

```bash
pip install currency_extractor_easyocr
```

## Usage

### Command-line Interface

```bash
currency_symbol_extract <image_path> [--symbols SYMBOLS [SYMBOLS ...]] [--languages LANGUAGES [LANGUAGES ...]] [--image_rescale IMAGE_RESCALE]
```

#### Parameters:

- `image_path`: Path to the input image.
- `--symbols`: List of currency symbols to detect. Default is `['$', '€', '£', '¥', '₹','د.ك','₣','AED', 'INR','USD','CAD']`.
- `--languages`: List of OCR languages. Default is `['en', 'ar']`.
- `--image_rescale`: Rescale factor for the image size. Default is `50`.

#### Example:

```bash
currency_symbol_extract path/to/your/image.jpg --symbols $ € £ --languages en
```

### Dependencies

- `opencv-python`: OpenCV library for image processing.
- `easyocr`: EasyOCR library for Optical Character Recognition.

## How it Works

The package utilizes EasyOCR to read text from the input image. It then searches for currency symbols in the recognized text and returns the detected symbols.




## Acknowledgments

- [EasyOCR](https://github.com/JaidedAI/EasyOCR): The OCR library used in this project.

## Support

For any questions or issues, please contact [aswath.codes@gmail.com or GitHub repository issues](https://github.com/aswath-mahi/currency-extractor-easyocr/issues).

```

In this example, I've included sections on usage, dependencies, how it works, licensing, contributing, acknowledgments, and support. You may want to customize these sections based on your specific project details and structure.
Libreria-generador-QR-CodBarras 0.2
Libreria diseñada para la generación de QRs para paginas web, especialmente e-commerce, donde además tiene la posibilidad de generar códigos de barras para cada uno de los distintos productos que están a la venta en la tienda.

# GuardarCodigo_Progra_bda4_Sara_Nahia

README: ExplicaciÃ³n del CÃ³digo

### Clase GuardarCodigo

La clase `GuardarCodigo` sirve como clase base para guardar cÃ³digos generados como imÃ¡genes. Incluye un mÃ©todo `guardar_imagen` para almacenar imÃ¡genes en una carpeta especÃ­fica con un directorio, nombre y extensiÃ³n dados.

### Clase GeneradorDominioYQR

La clase `GeneradorDominioYQR`, que hereda de `GuardarCodigo`, genera dominios web a partir de nombres dados y cÃ³digos QR a partir de esos dominios. Contiene los siguientes mÃ©todos:

- `init(nombre_sitio_web)`: Inicializa una instancia con el nombre del sitio web proporcionado.
- `generar_dominio()`: Genera un URL de dominio a partir del nombre del sitio web.
- `generar_qr(carpeta_guardado='QRs', extension_guardado='png', tamano_cuadrado=10, tamano_borde=4)`: Genera un cÃ³digo QR a partir del dominio y lo guarda como una imagen con las caracterÃ­sticas introducidas.

### Clase GeneradorCodigosDeBarras

La clase `GeneradorCodigosDeBarras`, tambiÃ©n heredando de `GuardarCodigo`, genera cÃ³digos de barras EAN-13. Contiene el siguiente mÃ©todo:

- `generar_codigo_de_barras(producto, codigo, carpeta_guardado='codigos_barras', extension_guardado='png')`: Genera un cÃ³digo de barras EAN-13 y lo guarda como una imagen. Toma un nombre de producto y un cÃ³digo de barras de 12 dÃ­gitos o genera uno aleatorio si no se proporciona.

### Ejemplo

Hay un ejemplo al final que demuestra cÃ³mo usar estas clases. Crea instancias de `GeneradorDominioYQR` y `GeneradorCodigosDeBarras`, genera un cÃ³digo QR para una tienda ficticia ("mi_tienda") y cÃ³digos de barras EAN-13 para dos productos ("Producto1" y "Producto2") con cÃ³digos predefinidos o generados aleatoriamente.

Para ejecutar el ejemplo, ejecuta el script, y crearÃ¡ cÃ³digos QR e imÃ¡genes de cÃ³digos de barras en las carpetas especificadas. AsegÃºrate de tener instaladas las bibliotecas necesarias (`qrcode`, `os`, `random`, `barcode`) antes de ejecutar el script.

SiÃ©ntete libre de adaptar e integrar estas clases en tus proyectos para generar cÃ³digos QR y cÃ³digos de barras.
dynu-renew 1.0.3
A Python module to renew public IP address associated with a Dynu domain.
Requires Python: >=3.10,<4.0

![GitHub release (latest by date)](https://img.shields.io/github/v/release/CoffeePerry/dynu-renew)
![PyPI](https://img.shields.io/pypi/v/dynu-renew?logo=PyPI&logoColor=white)
![PyPI - Status](https://img.shields.io/pypi/status/dynu-renew)

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/dynu-renew?logo=Python&logoColor=white)
![PyPI - Implementation](https://img.shields.io/pypi/implementation/dynu-renew)

[![GitHub license](https://img.shields.io/github/license/CoffeePerry/dynu-renew)](https://github.com/CoffeePerry/dynu-renew/blob/master/LICENSE)

[![GitHub issues](https://img.shields.io/github/issues/CoffeePerry/dynu-renew)](https://github.com/CoffeePerry/dynu-renew/issues)

# dynu-renew

A Python module to renew public IP address associated with a *Dynu* domain.

This Python module, through the "_renew_domains_ip_" function, retrieves the current public IP address, stores it in a local _SQLite_ database, and communicates it to _Dynu_.

## Quick Start

First you need to download the "_dynu-renew_" package, for example via _pip_:

```
pip install dynu-renew
```

At this point you need to create the "_instance_" folder:

```
mkdir instance
```

And create the "_config.py_" file inside, taking inspiration from what you can find inside the "_configs_" folder of this repo.

In the "_DYNU_PASSWORD_" field I recommend you enter the _Dynu IP Update Password_ instead of the Dynu account access password, because the _Dynu IP Update Password_ has limited privileges.

Finally, to start it via _CLI_ simply send the command:

```
python -m dynu_renew
```

If the output is empty, then the IP renewal was successful, otherwise the error received from the _Dynu_ API is returned.

I recommend you add scheduled execution of _dynu-renew_ by adding it to the _crontab_, as follows:

```
crontab -e
```

Then inserting a new line like this:

```
*/5 * * * * python -m dynu_renew >> ~/dynu_renew.log 2>&1
```
wildfire-evac 0.0.15
An RL OpenAI Gym Environment for Wildfire Evacuation

# Wildfire Evacuation RL Gym Environment

A new reinforcement learning OpenAI Gym environment built for the simulation of wildfire evacuation. Check out the [docs](https://wildfire-evac.surge.sh/) and the [demo](https://www.loom.com/share/39ddd19c790a49c0a1ea7e13cd4d1005?sid=679b631a-74b7-41e3-bd88-3e7d14c0adc2).

## How To Use

First, install our package:

```bash
pip install wildfire-evac
```

To use our wildfire evacuation environment, define the dimensions of your grid, where the populated areas are, the paths, and which populated areas can use which path. See an example below.

```python
# Create environment
kwargs = {
    'num_rows': num_rows,
    'num_cols': num_cols,
    'populated_areas': populated_areas,
    'paths': paths,
    'paths_to_pops': paths_to_pops
}
env = gymnasium.make('wildfire_evac/WildfireEvacuation-v0', **kwargs)

# Run a simple loop of the environment
env.reset()
for _ in range(10):

    # Take action and observation
    action = env.action_space.sample()
    observation, reward, terminated, truncated, info = env.step(action)

    # Render environment and print reward
    env.render()
    print("Reward: " + str(reward))
```

For more examples, check out `examples/`.