etranslate


Nameetranslate JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/ixabolfazl/etranslate
Summaryetranslate is a free and unlimited python library for translate your texts
upload_time2024-08-29 17:54:15
maintainerNone
docs_urlNone
authorAbolfazl Khalili
requires_python>=3.7
licenseMIT
keywords translate
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Etranslate

[![python](https://img.shields.io/static/v1?label=python+&message=3.7%2B&color=blue)](https://img.shields.io/static/v1?label=python+&message=3.7%2B&color=blue) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![PyPI version](https://badge.fury.io/py/etranslate.svg)](https://badge.fury.io/py/etranslate)

**Etranslate** is a **free** and **unlimited** python library for translating your texts 

## Install it

```shell
#to install:
pip install etranslate

# to upgrade:
pip install etranslate -U

```

## Features
-  Fast and reliable - it uses `Google translate`
-  Auto language detection
-  Bulk translations


## Use it

The quality from this service is not as good as web google translate. There is nothing we can do about it.

It's unclear whether your ip will be blocked if you relentlessly use the service. Please feedback should you find out any information.

```python
from etranslate import translate

# Translate to English by default
translate("Hallo Welt!")  # 'Hello world!'

translate("Hello world!", to="fa")  # '!سلام دنیا'
translate("Hello world!", to="de")  # 'Hallo Welt!'
translate("Hello world!", src="en", to="fa")  # '!سلام دنیا'

# Detect the language of texts
detect_laguage("Hello world!")  # 'en'
detect_laguage("سلام دنیا")      # 'fa'
```

## Requirements

```
Python >=3.7
requests
```


## Disclaimer

``Etranslate`` makes use of a translate interface floating around the net and is for study and research purpose only.

 The interface may become invalid without notice, which would render ``Etranslate`` completely useless.

## Licenses

This project is licensed under the MIT License - see the [LICENSE](https://github.com/ixabolfazl/etranslate/LICENSE) file for details


## Change log
```
0.0.1 (23/8/2021)
-------------------
- First Release

0.0.2 (23/8/2021)
-------------------
- fix some problems

0.0.3 (23/8/2021)
-------------------
- fix README.md

0.1.0 (29/8/2024)
-------------------
- refactor base-code
- add detect_language method
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ixabolfazl/etranslate",
    "name": "etranslate",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "translate",
    "author": "Abolfazl Khalili",
    "author_email": "kabolfazl39@gmail.com.org",
    "download_url": "https://files.pythonhosted.org/packages/81/9e/35e256dd1ea5785d2440f983d9af7a6e73f875fb3b080baece06c1588374/etranslate-0.1.0.tar.gz",
    "platform": null,
    "description": "# Etranslate\n\n[![python](https://img.shields.io/static/v1?label=python+&message=3.7%2B&color=blue)](https://img.shields.io/static/v1?label=python+&message=3.7%2B&color=blue) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![PyPI version](https://badge.fury.io/py/etranslate.svg)](https://badge.fury.io/py/etranslate)\n\n**Etranslate** is a **free** and **unlimited** python library for translating your texts \n\n## Install it\n\n```shell\n#to install:\npip install etranslate\n\n# to upgrade:\npip install etranslate -U\n\n```\n\n## Features\n-  Fast and reliable - it uses `Google translate`\n-  Auto language detection\n-  Bulk translations\n\n\n## Use it\n\nThe quality from this service is not as good as web google translate. There is nothing we can do about it.\n\nIt's unclear whether your ip will be blocked if you relentlessly use the service. Please feedback should you find out any information.\n\n```python\nfrom etranslate import translate\n\n# Translate to English by default\ntranslate(\"Hallo Welt!\")  # 'Hello world!'\n\ntranslate(\"Hello world!\", to=\"fa\")  # '!\u0633\u0644\u0627\u0645 \u062f\u0646\u06cc\u0627'\ntranslate(\"Hello world!\", to=\"de\")  # 'Hallo Welt!'\ntranslate(\"Hello world!\", src=\"en\", to=\"fa\")  # '!\u0633\u0644\u0627\u0645 \u062f\u0646\u06cc\u0627'\n\n# Detect the language of texts\ndetect_laguage(\"Hello world!\")  # 'en'\ndetect_laguage(\"\u0633\u0644\u0627\u0645 \u062f\u0646\u06cc\u0627\")      # 'fa'\n```\n\n## Requirements\n\n```\nPython >=3.7\nrequests\n```\n\n\n## Disclaimer\n\n``Etranslate`` makes use of a translate interface floating around the net and is for study and research purpose only.\n\n The interface may become invalid without notice, which would render ``Etranslate`` completely useless.\n\n## Licenses\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/ixabolfazl/etranslate/LICENSE) file for details\n\n\n## Change log\n```\n0.0.1 (23/8/2021)\n-------------------\n- First Release\n\n0.0.2 (23/8/2021)\n-------------------\n- fix some problems\n\n0.0.3 (23/8/2021)\n-------------------\n- fix README.md\n\n0.1.0 (29/8/2024)\n-------------------\n- refactor base-code\n- add detect_language method\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "etranslate is a free and unlimited python library for translate your texts",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/ixabolfazl/etranslate"
    },
    "split_keywords": [
        "translate"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bbb88759b192c49d4b207eeccfa6bf87b640774766467ef55d60cf0035a24723",
                "md5": "26009213471d89bcd748397a7e2626f4",
                "sha256": "f5b2150ad82c04815f4e2695b2c280024289377db6eb758781b84e9e164a0eac"
            },
            "downloads": -1,
            "filename": "etranslate-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "26009213471d89bcd748397a7e2626f4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 4571,
            "upload_time": "2024-08-29T17:54:13",
            "upload_time_iso_8601": "2024-08-29T17:54:13.481682Z",
            "url": "https://files.pythonhosted.org/packages/bb/b8/8759b192c49d4b207eeccfa6bf87b640774766467ef55d60cf0035a24723/etranslate-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "819e35e256dd1ea5785d2440f983d9af7a6e73f875fb3b080baece06c1588374",
                "md5": "a988650c0b39fa634d2533e64a5231f4",
                "sha256": "a3acc0176e908eb91bdc1e47eea2f77ecac3be25e8d77eaa6b9cae0326efef5c"
            },
            "downloads": -1,
            "filename": "etranslate-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a988650c0b39fa634d2533e64a5231f4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4277,
            "upload_time": "2024-08-29T17:54:15",
            "upload_time_iso_8601": "2024-08-29T17:54:15.090278Z",
            "url": "https://files.pythonhosted.org/packages/81/9e/35e256dd1ea5785d2440f983d9af7a6e73f875fb3b080baece06c1588374/etranslate-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-29 17:54:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ixabolfazl",
    "github_project": "etranslate",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "etranslate"
}
        
Elapsed time: 0.36494s