{"id":37072721,"url":"https://github.com/ptrstn/deepl-translate","last_synced_at":"2026-01-14T08:32:24.744Z","repository":{"id":41279013,"uuid":"272225180","full_name":"ptrstn/deepl-translate","owner":"ptrstn","description":"An unofficial python package to translate text using deepl.com","archived":true,"fork":false,"pushed_at":"2022-03-13T12:20:09.000Z","size":56,"stargazers_count":202,"open_issues_count":5,"forks_count":35,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-09T01:17:42.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/ptrstn.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}},"created_at":"2020-06-14T15:04:23.000Z","updated_at":"2025-11-02T09:48:26.000Z","dependencies_parsed_at":"2022-07-14T11:30:45.320Z","dependency_job_id":null,"html_url":"https://github.com/ptrstn/deepl-translate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ptrstn/deepl-translate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptrstn%2Fdeepl-translate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptrstn%2Fdeepl-translate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptrstn%2Fdeepl-translate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptrstn%2Fdeepl-translate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ptrstn","download_url":"https://codeload.github.com/ptrstn/deepl-translate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ptrstn%2Fdeepl-translate/sbom","scorecard":{"id":748915,"data":{"date":"2025-08-11","repo":{"name":"github.com/ptrstn/deepl-translate","commit":"ca61c63ff23031291fbaf220de92018fb85a57f0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 2/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-package.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/ptrstn/deepl-translate/python-package.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/ptrstn/deepl-translate/python-package.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-package.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/ptrstn/deepl-translate/python-package.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:23","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:24","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:25","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.2.0 not signed: https://api.github.com/repos/ptrstn/deepl-translate/releases/55186036","Warn: release artifact v1.2.0 does not have provenance: https://api.github.com/repos/ptrstn/deepl-translate/releases/55186036"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 7 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T19:41:12.780Z","repository_id":41279013,"created_at":"2025-08-22T19:41:12.780Z","updated_at":"2025-08-22T19:41:12.780Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:31:27.429Z","status":"ssl_error","status_checked_at":"2026-01-14T08:31:19.098Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-14T08:32:24.028Z","updated_at":"2026-01-14T08:32:24.733Z","avatar_url":"https://github.com/ptrstn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI version](https://badge.fury.io/py/deepl-translate.svg)](https://badge.fury.io/py/deepl-translate)\n[![Python Package](https://github.com/ptrstn/deepl-translate/actions/workflows/python-package.yml/badge.svg)](https://github.com/ptrstn/deepl-translate/actions/workflows/python-package.yml)\n[![codecov](https://codecov.io/gh/ptrstn/deepl-translate/branch/master/graph/badge.svg)](https://codecov.io/gh/ptrstn/deepl-translate)\n[![Downloads](https://pepy.tech/badge/deepl-translate)](https://pepy.tech/project/deepl-translate)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n# DeepL Translate\n\nAn unofficial python package to translate text using [DeepL](https://www.deepl.com/).\n\n## Installation\n\n```bash\npip install deepl-translate\n```\n\n## Usage\n\n### Supported languages\n\nCurrently the following languages are supported:\n\n| Abbreviation | Language   | Writing in own language |\n|--------------|------------|-------------------------|\n| BG           | Bulgarian  | Български               |\n| ZH           | Chinese    | 中文                    |\n| CS           | Czech      | Česky                   |\n| DA           | Danish     | Dansk                   |\n| NL           | Dutch      | Nederlands              |\n| EN           | English    | English                 |\n| ET           | Estonian   | Eesti                   |\n| FI           | Finnish    | Suomi                   |\n| FR           | French     | Français                |\n| DE           | German     | Deutsch                 |\n| EL           | Greek      | Ελληνικά                |\n| HU           | Hungarian  | Magyar                  |\n| IT           | Italian    | Italiano                |\n| JA           | Japanese   | 日本語                  |\n| LV           | Latvian    | Latviešu                |\n| LT           | Lithuanian | Lietuvių                |\n| PL           | Polish     | Polski                  |\n| PT           | Portuguese | Português               |\n| RO           | Romanian   | Română                  |\n| RU           | Russian    | Русский                 |\n| SK           | Slovak     | Slovenčina              |\n| SL           | Slovenian  | Slovenščina             |\n| ES           | Spanish    | Español                 |\n| SV           | Swedish    | Svenska                 |\n\nYou can either input the abbreviation or the language written in english. \n\n### Command line tool\n\n#### Help\n\n```bash\ndeepl --help\n```\n\n```\nusage: deepl [-h] [--version] [--formal | --informal] [-t TEXT | -f FILE] source_language target_language\n\nPython client to translate texts using deepl.com\n\npositional arguments:\n  source_language       Source language of your text\n  target_language       Target language of your desired text\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --version             show program's version number and exit\n  --formal              Use formal tone in translation\n  --informal            Use informal tone in translation\n  -t TEXT, --text TEXT  Text to be translated\n  -f FILE, --file FILE  File to be translated\n```\n\n#### Example 1\n\nThis will translate a Spanish (```ES```) text into Russian (```RU```):\n\n```bash\ndeepl spanish russian -t \"¡Buenos días!\"\n```\n\n```\nДоброе утро!\n```\n\n#### Example 2\n\nThis will translate the file (```test.txt```) text from Italian (```IT```) into Portuguese (```PT```):\n\n```bash\ndeepl IT PT --file test.txt\n```\n\n#### Example 3\n\nThis will translate a Spanish (```ES```) text into Russian (```RU```) in _formal_ tone:\n\n```bash\ndeepl ES RU --text \"¿Cómo te llamas?\" --formal\n```\n\n```\nКак Вас зовут?\n```\n\nNote: _informal_ would be \"_Как **тебя** зовут?_\"\n\n#### Example 4\n\nThis will translate a Japanese (```JP```) text into German (```DE```) in _informal_ tone:\n\n```bash\ndeepl JP DE --text \"お元気ですか？\" --informal\n```\n\n```\nWie geht es dir?\n```\n\nNote: _formal_ would be \"_Wie geht es **Ihnen**?_\"\n\n### Python library\n\n#### Example 1\n\nThis will translate a Chinese (```ZH```) text into Dutch (```NL```):\n\n```python\nimport deepl\ndeepl.translate(source_language=\"ZH\", target_language=\"NL\", text=\"你好\")\n```\n\n```\n'Hallo'\n```\n\n#### Example 2\n\nThis will translate a ```danish``` text into ```german``` in informal tone:\n\n```python\nimport deepl\ndeepl.translate(source_language=\"danish\", target_language=\"german\", text=\"Ring til mig!\", formality_tone=\"informal\")\n```\n\n```\n'Ruf mich an!'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptrstn%2Fdeepl-translate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fptrstn%2Fdeepl-translate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fptrstn%2Fdeepl-translate/lists"}