{"id":13545326,"url":"https://github.com/eggplants/deepl-cli","last_synced_at":"2025-12-28T14:53:03.471Z","repository":{"id":37955424,"uuid":"263507990","full_name":"eggplants/deepl-cli","owner":"eggplants","description":"DeepL Translator CLI (without API Key)","archived":false,"fork":false,"pushed_at":"2025-05-06T08:47:20.000Z","size":716,"stargazers_count":271,"open_issues_count":0,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-06T09:47:48.962Z","etag":null,"topics":["cli","deepl-translator","docker","puppeteer","pyppeteer","python","translator"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/deepl-cli/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eggplants.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-13T02:45:07.000Z","updated_at":"2025-05-06T08:47:11.000Z","dependencies_parsed_at":"2023-10-28T10:25:18.579Z","dependency_job_id":"f6959db2-e0e1-47f1-ba6c-94fad460ed2e","html_url":"https://github.com/eggplants/deepl-cli","commit_stats":{"total_commits":359,"total_committers":8,"mean_commits":44.875,"dds":"0.49582172701949856","last_synced_commit":"67e09e6c99297bed4738f54efb5998512a467683"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fdeepl-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fdeepl-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fdeepl-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggplants%2Fdeepl-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eggplants","download_url":"https://codeload.github.com/eggplants/deepl-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254355335,"owners_count":22057354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","deepl-translator","docker","puppeteer","pyppeteer","python","translator"],"created_at":"2024-08-01T11:01:00.958Z","updated_at":"2025-12-28T14:53:03.454Z","avatar_url":"https://github.com/eggplants.png","language":"Python","funding_links":[],"categories":["Python","Translate"],"sub_categories":["Open USP Tsukubai"],"readme":"# deepl-cli\n\n[![Release Package](\n  \u003chttps://github.com/eggplants/deepl-cli/workflows/Release%20Package/badge.svg\u003e\n  )](\n  \u003chttps://github.com/eggplants/deepl-cli/actions/workflows/release.yml\u003e\n) [![PyPI version](\n  \u003chttps://badge.fury.io/py/deepl-cli.svg\u003e\n  )](\n  \u003chttps://badge.fury.io/py/deepl-cli\u003e\n) [![Code Coverage](\n  \u003chttps://qlty.sh/badges/bafc68a7-d3c7-4f3f-b09b-b86739801231/test_coverage.svg\u003e\n  )](\n  \u003chttps://qlty.sh/gh/eggplants/projects/deepl-cli\u003e\n) [![CI](\n  \u003chttps://github.com/eggplants/deepl-cli/actions/workflows/ci.yml/badge.svg\u003e\n  )](\n  \u003chttps://github.com/eggplants/deepl-cli/actions/workflows/test.yml\u003e\n) [![Maintainability](\n  \u003chttps://qlty.sh/badges/bafc68a7-d3c7-4f3f-b09b-b86739801231/maintainability.svg\u003e\n  )](\n  \u003chttps://qlty.sh/gh/eggplants/projects/deepl-cli\u003e\n)\n\n![image](https://user-images.githubusercontent.com/42153744/159145088-752decf7-8736-44c3-86aa-37fd0cee83df.png)\n\n- [DeepL Translator](https://www.deepl.com/translator) CLI using [playwright-python](https://github.com/microsoft/playwright-python)\n\nNote: *This project works without DeepL API key. With DeepL API, use [DeepLcom/deepl-python](https://github.com/DeepLcom/deepl-python)*\n\n## Install\n\n```bash\npip install deepl-cli\n```\n\n## Usage\n\n### CLI\n\n```bash\ndeepl -F en -T ja -s \u003c\u003c\u003c'This tool is useful for me.'\n# このツールは私にとって便利だ。\ndeepl -F ja -T en -s \u003c\u003c\u003c'このツールは私にとって便利だ。'\n# This tool is useful for me.\n\ncurl https://example.com | sed -nr '/^\u003cbody\u003e/,/\u003c\\/body\u003e/s/\u003c[^\u003e]+\u003e//gp' | tr -d \\\\n \u003e txt\ndeepl -f txt -F en -T ja\n# 例文ドメイン このドメインは、文書の例文に使用するためのものです。事前の調整や許可を得ることなく、このドメインを文献で使用することができます。   詳細はこちら\n```\n\n```shellsession\n$ deepl -h\nusage: deepl [-h] (-f PATH | -s) -F FR -T TO [-t MS] [-v] [-V]\n\nDeepL Translator CLI without API Key\n\noptions:\n  -h, --help        show this help message and exit\n  -f, --file PATH   source text file to translate (default: None)\n  -s, --stdin       read source text from stdin (default: False)\n  -F, --fr FR       input language (default: None)\n  -T, --to TO       output language (default: None)\n  -t, --timeout MS  timeout interval (default: 5000)\n  -v, --verbose     make output verbose (default: False)\n  -V, --version     show program's version number and exit\n\nvalid languages of `-F` / --fr`:\n{'cs', 'fr', 'ru', 'hu', 'zh', 'da', 'nl', 'es', 'lv', 'nb', 'de', 'ko', 'it', 'pt', 'pl', 'et', 'ar', 'el', 'en', 'id', 'sv', 'ro', 'ja', 'uk', 'bg', 'sk', 'fi', 'tr', 'sl', 'lt'}\n\nvalid languages of `-T` / `--to`:\n{'cs', 'fr', 'ru', 'hu', 'zh', 'da', 'nl', 'en-gb', 'es', 'lv', 'nb', 'de', 'ko', 'it', 'pt', 'zh-hans', 'pl', 'et', 'pt-br', 'ar', 'el', 'en', 'id', 'sv', 'ro', 'ja', 'uk', 'bg', 'en-us', 'sk', 'zh-hant', 'pt-pt', 'fi', 'tr', 'sl', 'lt'}\n```\n\n### Package\n\n```python\nfrom deepl import DeepLCLI\n\ndeepl = DeepLCLI(\"en\", \"ja\")\ndeepl.translate(\"hello\") #=\u003e \"こんにちわ\"\n```\n\nIf you use with asyncio, Use `DeepLCLI.translate_async`. See [examples/async.py](https://github.com/eggplants/deepl-cli/blob/master/examples/async.py).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggplants%2Fdeepl-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feggplants%2Fdeepl-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggplants%2Fdeepl-cli/lists"}