Metadata-Version: 2.1
Name: llm-trans
Version: 0.1.0
Summary: Your personal Language Translator powered by LLMs.
Home-page: https://github.com/RussellLuo/llm-trans
Author: RussellLuo
Author-email: luopeng.he@gmail.com
Requires-Python: >=3.10.0,<3.14
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: coagent-python (==0.0.1)
Requires-Dist: gradio (==5.16.0)
Requires-Dist: pyyaml (==6.0.2)
Project-URL: Repository, https://github.com/RussellLuo/llm-trans
Description-Content-Type: text/markdown

# LLM Translate

Your personal Language Translator powered by LLMs.


## Installation

```bash
pip install llm-trans
```


## Quick Start

Copy [settings.yaml](./settings.yaml) to your local directory, and run LLM Translate:

```bash
export OPENAI_API_KEY="your-openai-key"
llm-trans ./settings.yaml
```

> You can also add your own LLM by changing the settings as below:
>
> ```yaml
> llms:
> ...
> - title: Your LLM
>   model: your-model
>   api_base: your-api-base
>   api_version: your-api-version
>   api_key: your-api-key # plain key string, or environment variable: ${YOUR_API_KEY}
> ```
