aiolang


Nameaiolang JSON
Version 0.0.3 PyPI version JSON
download
home_pageNone
SummaryTranslate Google Framework For Python
upload_time2024-12-10 10:22:51
maintainerNone
docs_urlNone
authorNone
requires_pythonNone
licenseNone
keywords python translate
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
<p align="center">
<img src="https://raw.githubusercontent.com/S5W1n72/aiolang/refs/heads/main/icon.png" alt="icon" width="128">
<br>

<b> Translate Google Framework For Python</b>
</p>

## aiolang

> Simple, modern, asynchronous for API building use or normal user use.

---

### Example Usage
#### Model 1
```python
import asyncio
import asyncio
from aiolang import Aiolang, TranslationError

async def main():
    async with Aiolang() as aiolang:
        try:
            result = await aiolang.translate_text("hello", "fa")
            print(result)
        except TranslationError as log:
            log.display_error()

if __name__ == "__main__":
    asyncio.run(main())
```
#### Model 2
```python
import asyncio
from aiolang import Aiolang, TranslationError

async def main():
    aiolang = Aiolang()
    try:
        result = await aiolang.translate_text("hello", "fa")
        print(result)
    except TranslationError as log:
        log.display_error()

if __name__ == "__main__":
    asyncio.run(main())
```
---

### Key Features

- API:
>No key needed. Google translator public API is used.

- Easy:
>Simple appearance and syntax for novice users.

- Async:
>Written asynchronously for greater flexibility.

---

### Install

```bash
pip3 install -U aiolang
```

### support
- [email](mailto:aiolang.python@gmail.com)
- [telegram](https://t.me/aiolang)

<p align="center">
<img src="https://raw.githubusercontent.com/S5W1n72/aiolang/refs/heads/main/cover.png" alt="cover", width="360">
</p>

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aiolang",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "python, translate",
    "author": null,
    "author_email": "aiolang.python@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/99/56/b4b2feff8cd6f55747d599ee1e20d605b05f80c5c3fe2de3b9c20a63e664/aiolang-0.0.3.tar.gz",
    "platform": null,
    "description": "\n<p align=\"center\">\n<img src=\"https://raw.githubusercontent.com/S5W1n72/aiolang/refs/heads/main/icon.png\" alt=\"icon\" width=\"128\">\n<br>\n\n<b> Translate Google Framework For Python</b>\n</p>\n\n## aiolang\n\n> Simple, modern, asynchronous for API building use or normal user use.\n\n---\n\n### Example Usage\n#### Model 1\n```python\nimport asyncio\nimport asyncio\nfrom aiolang import Aiolang, TranslationError\n\nasync def main():\n    async with Aiolang() as aiolang:\n        try:\n            result = await aiolang.translate_text(\"hello\", \"fa\")\n            print(result)\n        except TranslationError as log:\n            log.display_error()\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n#### Model 2\n```python\nimport asyncio\nfrom aiolang import Aiolang, TranslationError\n\nasync def main():\n    aiolang = Aiolang()\n    try:\n        result = await aiolang.translate_text(\"hello\", \"fa\")\n        print(result)\n    except TranslationError as log:\n        log.display_error()\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n---\n\n### Key Features\n\n- API:\n>No key needed. Google translator public API is used.\n\n- Easy:\n>Simple appearance and syntax for novice users.\n\n- Async:\n>Written asynchronously for greater flexibility.\n\n---\n\n### Install\n\n```bash\npip3 install -U aiolang\n```\n\n### support\n- [email](mailto:aiolang.python@gmail.com)\n- [telegram](https://t.me/aiolang)\n\n<p align=\"center\">\n<img src=\"https://raw.githubusercontent.com/S5W1n72/aiolang/refs/heads/main/cover.png\" alt=\"cover\", width=\"360\">\n</p>\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Translate Google Framework For Python",
    "version": "0.0.3",
    "project_urls": null,
    "split_keywords": [
        "python",
        " translate"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29c66ab8e3fdb0e1dad94583253446a8843999c006872785e0eaeeead966521c",
                "md5": "b581732f8a78ee17b30748d5dfc2ca12",
                "sha256": "0b21652ae60c141aa2b5d0dfc069eeac517c1e1405bf9df3aa6d7efe8f1cf205"
            },
            "downloads": -1,
            "filename": "aiolang-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b581732f8a78ee17b30748d5dfc2ca12",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 12517,
            "upload_time": "2024-12-10T10:22:49",
            "upload_time_iso_8601": "2024-12-10T10:22:49.213231Z",
            "url": "https://files.pythonhosted.org/packages/29/c6/6ab8e3fdb0e1dad94583253446a8843999c006872785e0eaeeead966521c/aiolang-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9956b4b2feff8cd6f55747d599ee1e20d605b05f80c5c3fe2de3b9c20a63e664",
                "md5": "c1108c5f22b72d9242e1ddcc455498fc",
                "sha256": "66e4443585d579edacd6f807131a913e27b2064d37bea3a594379b0d8170c035"
            },
            "downloads": -1,
            "filename": "aiolang-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c1108c5f22b72d9242e1ddcc455498fc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9101,
            "upload_time": "2024-12-10T10:22:51",
            "upload_time_iso_8601": "2024-12-10T10:22:51.934656Z",
            "url": "https://files.pythonhosted.org/packages/99/56/b4b2feff8cd6f55747d599ee1e20d605b05f80c5c3fe2de3b9c20a63e664/aiolang-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-10 10:22:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aiolang"
}
        
Elapsed time: 1.33378s