Metadata-Version: 2.4
Name: TranslateINPy
Version: 1.5.0
Summary: A Python translation module and CLI tool which works with Gemini Live Translate API for Audio file translation.
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: google-genai>=1.35.0
Requires-Dist: pyaudiowpatch<=0.2.12.9
Requires-Dist: ffmpeg>=0.2.0
Dynamic: license-file

# TranslateINPy
A python translation module for translating live responses using Gemini API inside your application.

## Usage

### As a Module:

```python
from translateinpy import Translator
import os

api_key = os.getenv("GEMINI_API_KEY")

Translator("../sample/hi-1.wav", "en", api_key)
```

### As a CLI Tool:

```bash
translateinpy --url  "./sample/Hi-1.wav" --target bn --api-key "YOUR_API_KEY"
```

## Installation

### As a Module:

```bash
pip install TranslateINPY
```

or via UV:

```bash
uv add TranslateINPy
```

### As a CLI Tool:

```bash
pipx install TranslateINPY
```

or via UV:

```bash
uv tool install TranslateINPY
```
