Translator
==========
.. image:: https://img.shields.io/pypi/v/simplebot_translator.svg
:target: https://pypi.org/project/simplebot_translator
.. image:: https://img.shields.io/pypi/pyversions/simplebot_translator.svg
:target: https://pypi.org/project/simplebot_translator
.. image:: https://pepy.tech/badge/simplebot_translator
:target: https://pepy.tech/project/simplebot_translator
.. image:: https://img.shields.io/pypi/l/simplebot_translator.svg
:target: https://pypi.org/project/simplebot_translator
.. image:: https://github.com/adbenitez/simplebot_translator/actions/workflows/python-ci.yml/badge.svg
:target: https://github.com/adbenitez/simplebot_translator/actions/workflows/python-ci.yml
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
🌎 Translator plugin for `SimpleBot`_.
This plugin registers the ``/tr`` command that end-users can use to
translate text. Example: ``/tr en es hello world``.
Install
-------
To install run::
pip install simplebot-translator
To configure default engine use::
simplebot db -s simplebot_translator/engine deepl
To configure default language used in filter use::
simplebot db -s global/language en
To disable the default filter and only allow to translate with commands::
simplebot db -s global/filter_enabled no
You may need to install other dependencies to make some engines work, check: https://github.com/UlionTse/translators
Available engines
-----------------
- google
- yandex
- bing
- sogou
- baidu
- tencent
- youdao
- alibaba
- deepl
.. _SimpleBot: https://github.com/simplebot-org/simplebot
Raw data
{
"_id": null,
"home_page": "https://github.com/adbenitez/simplebot_translator",
"name": "simplebot-translator",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "simplebot plugin deltachat",
"author": "adbenitez",
"author_email": "adbenitez@nauta.cu",
"download_url": "https://files.pythonhosted.org/packages/5b/af/e7e41059fcf1014e16c10a581b51d22eedca3d2077f0194753401c3a9f89/simplebot_translator-1.4.1.tar.gz",
"platform": null,
"description": "Translator\n==========\n\n.. image:: https://img.shields.io/pypi/v/simplebot_translator.svg\n :target: https://pypi.org/project/simplebot_translator\n\n.. image:: https://img.shields.io/pypi/pyversions/simplebot_translator.svg\n :target: https://pypi.org/project/simplebot_translator\n\n.. image:: https://pepy.tech/badge/simplebot_translator\n :target: https://pepy.tech/project/simplebot_translator\n\n.. image:: https://img.shields.io/pypi/l/simplebot_translator.svg\n :target: https://pypi.org/project/simplebot_translator\n\n.. image:: https://github.com/adbenitez/simplebot_translator/actions/workflows/python-ci.yml/badge.svg\n :target: https://github.com/adbenitez/simplebot_translator/actions/workflows/python-ci.yml\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :target: https://github.com/psf/black\n\n\ud83c\udf0e Translator plugin for `SimpleBot`_.\n\nThis plugin registers the ``/tr`` command that end-users can use to\ntranslate text. Example: ``/tr en es hello world``.\n\nInstall\n-------\n\nTo install run::\n\n pip install simplebot-translator\n\nTo configure default engine use::\n\n simplebot db -s simplebot_translator/engine deepl\n\nTo configure default language used in filter use::\n\n simplebot db -s global/language en\n\n\nTo disable the default filter and only allow to translate with commands::\n\n simplebot db -s global/filter_enabled no\n\nYou may need to install other dependencies to make some engines work, check: https://github.com/UlionTse/translators\n\nAvailable engines\n-----------------\n\n- google\n- yandex\n- bing\n- sogou\n- baidu\n- tencent\n- youdao\n- alibaba\n- deepl\n\n.. _SimpleBot: https://github.com/simplebot-org/simplebot\n",
"bugtrack_url": null,
"license": "MPL",
"summary": "\ud83c\udf0e Translator plugin for SimpleBot",
"version": "1.4.1",
"project_urls": {
"Homepage": "https://github.com/adbenitez/simplebot_translator"
},
"split_keywords": [
"simplebot",
"plugin",
"deltachat"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "55eff16df48c124bca86d1dbf78339caede22cfee05ab7f2acc4f2d03c026f65",
"md5": "b12472c163ef12ad808c485d1fdd96fb",
"sha256": "45a66124847f66f630c380baf20782fb412a6b1431c84237b47e1035cfc52191"
},
"downloads": -1,
"filename": "simplebot_translator-1.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b12472c163ef12ad808c485d1fdd96fb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 10493,
"upload_time": "2023-10-27T03:16:34",
"upload_time_iso_8601": "2023-10-27T03:16:34.196241Z",
"url": "https://files.pythonhosted.org/packages/55/ef/f16df48c124bca86d1dbf78339caede22cfee05ab7f2acc4f2d03c026f65/simplebot_translator-1.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5bafe7e41059fcf1014e16c10a581b51d22eedca3d2077f0194753401c3a9f89",
"md5": "0e43b3ff226114752530f2fed9c9ebba",
"sha256": "95b1be5f6e06704e177b31c5a7ebb4d9370c03e3e4f3d76c1e0fdd60d1faea05"
},
"downloads": -1,
"filename": "simplebot_translator-1.4.1.tar.gz",
"has_sig": false,
"md5_digest": "0e43b3ff226114752530f2fed9c9ebba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12683,
"upload_time": "2023-10-27T03:16:35",
"upload_time_iso_8601": "2023-10-27T03:16:35.556339Z",
"url": "https://files.pythonhosted.org/packages/5b/af/e7e41059fcf1014e16c10a581b51d22eedca3d2077f0194753401c3a9f89/simplebot_translator-1.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-27 03:16:35",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "adbenitez",
"github_project": "simplebot_translator",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "simplebot-translator"
}