{"id":24232613,"url":"https://github.com/viklover/translators-test","last_synced_at":"2025-03-04T12:51:31.113Z","repository":{"id":211626116,"uuid":"600403685","full_name":"viklover/translators-test","owner":"viklover","description":"Testing translators python libraries","archived":false,"fork":false,"pushed_at":"2023-02-18T18:42:41.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T16:06:47.746Z","etag":null,"topics":["python","translators"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viklover.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-02-11T11:42:26.000Z","updated_at":"2024-01-27T22:50:46.000Z","dependencies_parsed_at":"2023-12-09T20:22:51.668Z","dependency_job_id":"fa77ce1f-04aa-4a16-a2c5-eb3eaa485c88","html_url":"https://github.com/viklover/translators-test","commit_stats":null,"previous_names":["viklover/translators-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viklover%2Ftranslators-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viklover%2Ftranslators-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viklover%2Ftranslators-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viklover%2Ftranslators-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viklover","download_url":"https://codeload.github.com/viklover/translators-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241852158,"owners_count":20030969,"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":["python","translators"],"created_at":"2025-01-14T15:55:49.371Z","updated_at":"2025-03-04T12:51:31.083Z","avatar_url":"https://github.com/viklover.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Translators test\n================\n\nТестирование различных библиотек машинного перевода\n\n* [translators](https://github.com/UlionTse/translators)\n* [py-googletrans](https://github.com/ssut/py-googletrans)\n* [yandexfreetranslate](https://github.com/alekssamos/yandexfreetranslate.git)\n\n\nУстановка зависимостей\n-----------------------\n* Python 3.10+\n\n```bash\npip install -r requirements.txt\n```\n\nИспользование\n---------------------\nПосмотреть все команды и аргументы к ним: \n\n```bash\npython main.py -h\n```\nПеревод введённого предложения\n```bash\n\u003e python main.py translate \"你好世界\" -api google yandex -target en ru\n\nSentence: 你好世界\n--------------------\n  Google Translator\n  ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\n  EN - 0.22s:\n  Hello World\n\n  RU - 0.22s:\n  Привет, мир\n\n--------------------\n  Yandex Translator\n  ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\n  EN - 0.27s:\n  Hello world\n\n  RU - 0.18s:\n  Привет, мир\n```\n\nПеревод названия товара из [китайского онлайн-магазина](\nhttps://list.jd.com/):\n```bash\n\u003e python main.py catalog -p 18 -i 1 -api google -target ru\n\nSentence: 歌珀莱（GEPORAIS）品牌女装高端提花连衣裙女春季2023年新款收腰气质设计感中长裙子 粉色 M 预售15天\n--------------------\n  Google Translator\n  ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\n  RU - 0.44s:\n  Бренд GEPORAIS, женское жаккардовое платье высокого класса, женская весна 2023, новый дизайн, юбка средней длины с талией и темпераментом, розовый M, предпродажа в течение 15 дней.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviklover%2Ftranslators-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviklover%2Ftranslators-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviklover%2Ftranslators-test/lists"}