llm-trans


Namellm-trans JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/RussellLuo/llm-trans
SummaryYour personal Language Translator powered by LLMs.
upload_time2025-02-16 07:40:28
maintainerNone
docs_urlNone
authorRussellLuo
requires_python<3.14,>=3.10.0
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 🌐 LLM Translate

Your personal Language Translator powered by LLMs.

<p align="center">
<img src="screenshot.png" height="500">
</p>


## 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}
> ```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/RussellLuo/llm-trans",
    "name": "llm-trans",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.14,>=3.10.0",
    "maintainer_email": null,
    "keywords": null,
    "author": "RussellLuo",
    "author_email": "luopeng.he@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ba/1a/744a60ff9ce5e5f4c5762d521cea8b6f8ce1755e2d6d395f141040c0f561/llm_trans-0.2.1.tar.gz",
    "platform": null,
    "description": "# \ud83c\udf10 LLM Translate\n\nYour personal Language Translator powered by LLMs.\n\n<p align=\"center\">\n<img src=\"screenshot.png\" height=\"500\">\n</p>\n\n\n## Installation\n\n```bash\npip install llm-trans\n```\n\n\n## Quick Start\n\nCopy [settings.yaml](./settings.yaml) to your local directory, and run LLM Translate:\n\n```bash\nexport OPENAI_API_KEY=\"your-openai-key\"\nllm-trans ./settings.yaml\n```\n\n> You can also add your own LLM by changing the settings as below:\n>\n> ```yaml\n> llms:\n> ...\n> - title: Your LLM\n>   model: your-model\n>   api_base: your-api-base\n>   api_version: your-api-version\n>   api_key: your-api-key # plain key string, or environment variable: ${YOUR_API_KEY}\n> ```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Your personal Language Translator powered by LLMs.",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/RussellLuo/llm-trans",
        "Repository": "https://github.com/RussellLuo/llm-trans"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "0eafd26f388ad6ca3e0f6ef6ee45e8c185ed1cf2eea6a75a7767685d27fe6042",
                "md5": "1e288c3788d9d9816b65291a7e7b0303",
                "sha256": "2d441a19ace7f1e5eee9741657d1759060088c4b90ac0d2a5511458f8e117203"
            },
            "downloads": -1,
            "filename": "llm_trans-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1e288c3788d9d9816b65291a7e7b0303",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.10.0",
            "size": 8922,
            "upload_time": "2025-02-16T07:40:26",
            "upload_time_iso_8601": "2025-02-16T07:40:26.115097Z",
            "url": "https://files.pythonhosted.org/packages/0e/af/d26f388ad6ca3e0f6ef6ee45e8c185ed1cf2eea6a75a7767685d27fe6042/llm_trans-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ba1a744a60ff9ce5e5f4c5762d521cea8b6f8ce1755e2d6d395f141040c0f561",
                "md5": "895190e689f8fec423e6cf1c935af6dc",
                "sha256": "53e513b8b0d6b4595a8451d4a5a8ad0793473968c9c96a4c4e53001b6fea9265"
            },
            "downloads": -1,
            "filename": "llm_trans-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "895190e689f8fec423e6cf1c935af6dc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.14,>=3.10.0",
            "size": 8039,
            "upload_time": "2025-02-16T07:40:28",
            "upload_time_iso_8601": "2025-02-16T07:40:28.072725Z",
            "url": "https://files.pythonhosted.org/packages/ba/1a/744a60ff9ce5e5f4c5762d521cea8b6f8ce1755e2d6d395f141040c0f561/llm_trans-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-16 07:40:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "RussellLuo",
    "github_project": "llm-trans",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "llm-trans"
}
        
Elapsed time: 1.12595s