{"id":22887637,"url":"https://github.com/dedinc/mintrans","last_synced_at":"2025-07-18T14:37:05.748Z","repository":{"id":112939855,"uuid":"609889668","full_name":"DedInc/mintrans","owner":"DedInc","description":"Mintrans is a free API wrapper that utilizes Bing, DeepL, and Google Translate for translation purposes.","archived":false,"fork":false,"pushed_at":"2024-12-13T03:20:54.000Z","size":9,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-29T06:42:29.822Z","etag":null,"topics":["api-wrapper","bing-translate","bing-translator","i18n","language","microsoft-translator","microsoft-translator-api","translate","translation","translator","unofficial-library"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/mintrans/","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/DedInc.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}},"created_at":"2023-03-05T14:47:55.000Z","updated_at":"2024-12-17T10:36:42.000Z","dependencies_parsed_at":"2023-12-03T09:43:54.425Z","dependency_job_id":"e348b1bd-eeee-435b-ac93-884211af7b80","html_url":"https://github.com/DedInc/mintrans","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedInc%2Fmintrans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedInc%2Fmintrans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedInc%2Fmintrans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedInc%2Fmintrans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DedInc","download_url":"https://codeload.github.com/DedInc/mintrans/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866123,"owners_count":21816397,"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":["api-wrapper","bing-translate","bing-translator","i18n","language","microsoft-translator","microsoft-translator-api","translate","translation","translator","unofficial-library"],"created_at":"2024-12-13T20:37:32.296Z","updated_at":"2025-05-07T11:21:41.142Z","avatar_url":"https://github.com/DedInc.png","language":"Python","readme":"# 🗺️ mintrans - A translation API wrapper 🗺️\n\nmintrans is a free API wrapper that utilizes Bing, DeepL, and Google Translate for translation purposes. 🤖\n\n## 💡 How to use 💡\n\n```python \nfrom mintrans import BingTranslator, DeepLTranslator, GoogleTranslator\nfrom mintrans import RateLimitException\n\ntext = 'Hello World!'\nfrom_lang = 'en'  \nto_lang = 'fr'\n\n# Bing Translator\nbing_translator = BingTranslator()  \nbing_translation = bing_translator.translate(text, from_lang, to_lang)\nprint(bing_translation)\n\n# DeepL Translator  \ndeepl_translator = DeepLTranslator()\ntry:\n\tdeepl_translation = deepl_translator.translate(text, from_lang, to_lang)\n\tprint(deepl_translation)\nexcept RateLimitException:\n\tprint('Limit of DeepL Translator reached!')\n\n# Google Translator\ngoogle_translator = GoogleTranslator()  \ngoogle_translation = google_translator.translate(text, from_lang, to_lang)\nprint(google_translation)\n```\n\n## 🔑 Features 🔑\n\n- Bing, DeepL and Google translators for more translation options!\n- Easy switching between translators.\n- Supports 100+ languages across translators. 🌍\n\n## 🏆 Examples 🏆\n\n```python\ntext = 'This is a longer text to test the translation.'\n\nbing_translation = bing_translator.translate(text, 'en', 'es') \n\ndeepl_translation = deepl_translator.translate(text, 'en', 'de')\n\ngoogle_translation = google_translator.translate(text, 'en', 'fr')  \n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedinc%2Fmintrans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedinc%2Fmintrans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedinc%2Fmintrans/lists"}