semvec/pypi-packages huggingface dataset:
PyDeepLX 1.0.7
A Python package for unlimited DeepL translation
License: MIT

# PyDeepLX

A Python package for unlimited DeepL translation

## API Version

[OwO-Network/DeepLX](https://github.com/OwO-Network/DeepLX): Permanently free DeepL API written in Golang.

## Description

This is a Python package for DeepL translation, I didn't limit the number of translations in the code, if there is a `429` error, it means your IP has been blocked by DeepL temporarily, please don't request it frequently in a short time.

## Usage

### Install Package

```bash
pip install PyDeepLX
```

### Use in code

```python
from PyDeepLX import PyDeepLX
# By default, the source language is automatically recognized and translated into English without providing any alternative results.
PyDeepLX.translate("你好世界") # Return String

# Specify the source and target languages
PyDeepLX.translate("你好世界", "ZH", "EN") # Return String

# Need alternative results
PyDeepLX.translate("毫无疑问的", "ZH", "EN", 3) # Return List: ['Without a doubt', 'No doubt']

# Print the results
PyDeepLX.translate("毫无疑问的", "ZH", "EN", 3, True)

# Using proxy
PyDeepLX.translate(text="毫无疑问的", sourceLang="ZH", targetLang="EN", numberAlternative=0, printResult=False, proxies="socks5://127.0.0.1:7890")
```

## PyPi

<a href="https://pypi.org/project/PyDeepLX/"><img src="https://img.shields.io/badge/Pypi-000000?style=for-the-badge&logo=pypi&logoColor=red" /></a>

## Author

**PyDeepLX** © [Vincent Young](https://github.com/missuo), Released under the [MIT](./LICENSE) License.<br>
hair-color-detector 0.5
Package used to get hair color or simularity between two hairs
License: MIT



# Hair Color Detector [pypi](https://pypi.org/project/hair-color-detector/)

Segmentator based from [nganngants/hair-dye-web-app](https://github.com/nganngants/hair-dye-web-app)

## Overview

This project allows you to get hair color of a person from an image. 

Basic Usage
-----------

```python
from hair_color_detector import HairColorDetector
hcd = HairColorDetector()
hcd.get_color('test.png',  save_result=True, n_clusters=10)
```