# TLAPI
![Static Badge](https://img.shields.io/badge/fork-opentele-blue)
![Static Badge](https://img.shields.io/badge/customize-HashemDalijeh-red)
![Static Badge](https://img.shields.io/badge/version-0.0.1-yellow)
A **Python Telegram API Library** for converting between **tdata** and **telethon** sessions, with built-in **official Telegram APIs**. [**Read the documentation**](https://opentele.readthedocs.io/en/latest/documentation/telegram-desktop/tdesktop/).
## Features
- **[opentele]** - Convert [Telegram Desktop](https://github.com/telegramdesktop/tdesktop) **tdata** sessions to [telethon](https://github.com/LonamiWebs/Telethon) sessions and vice versa.
- **[opentele]** - Use **telethon** with [official APIs](#authorization) to avoid bot detection.
- **[opentele]** - Randomize [device info](https://opentele.readthedocs.io/en/latest/documentation/authorization/api/#generate) using real data that recognized by Telegram server.
## Dependencies
- [telethon](https://github.com/LonamiWebs/Telethon) - Widely used Telegram's API library for Python.
- [tgcrypto](https://github.com/pyrogram/tgcrypto) - AES-256-IGE encryption to works with `tdata`.
- [pyQt5](https://www.riverbankcomputing.com/software/pyqt/) - Used by Telegram Desktop to streams data from files.
## Installation
- Install from [PyPI](https://pypi.org/project/tlapi/):
```pip title="pip"
pip install --upgrade tlapi
```
## Examples
The best way to learn anything is by looking at the examples. Am I right?
- Example on [readthedocs](https://opentele.readthedocs.io/en/latest/examples/)
Raw data
{
"_id": null,
"home_page": "https://github.com/hashemdalijeh/tlapi",
"name": "tlapi",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "tdata,tdesktop,telegram,telethon,opentele,tlapi,official_Telegram_APIs,tl_api,Telegram_API",
"author": "hashemdalijeh",
"author_email": "hashemdalijeh@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/53/ce/defb06998218f8ecdff84fd4656d29e0526264310d6cc8d52ffe1772954b/tlapi-0.0.1.tar.gz",
"platform": null,
"description": "# TLAPI\r\n\r\n![Static Badge](https://img.shields.io/badge/fork-opentele-blue)\r\n![Static Badge](https://img.shields.io/badge/customize-HashemDalijeh-red)\r\n![Static Badge](https://img.shields.io/badge/version-0.0.1-yellow)\r\n\r\nA **Python Telegram API Library** for converting between **tdata** and **telethon** sessions, with built-in **official Telegram APIs**. [**Read the documentation**](https://opentele.readthedocs.io/en/latest/documentation/telegram-desktop/tdesktop/).\r\n\r\n## Features\r\n- **[opentele]** - Convert [Telegram Desktop](https://github.com/telegramdesktop/tdesktop) **tdata** sessions to [telethon](https://github.com/LonamiWebs/Telethon) sessions and vice versa.\r\n- **[opentele]** - Use **telethon** with [official APIs](#authorization) to avoid bot detection.\r\n- **[opentele]** - Randomize [device info](https://opentele.readthedocs.io/en/latest/documentation/authorization/api/#generate) using real data that recognized by Telegram server.\r\n\r\n## Dependencies\r\n\r\n- [telethon](https://github.com/LonamiWebs/Telethon) - Widely used Telegram's API library for Python.\r\n- [tgcrypto](https://github.com/pyrogram/tgcrypto) - AES-256-IGE encryption to works with `tdata`.\r\n- [pyQt5](https://www.riverbankcomputing.com/software/pyqt/) - Used by Telegram Desktop to streams data from files.\r\n\r\n## Installation\r\n- Install from [PyPI](https://pypi.org/project/tlapi/):\r\n```pip title=\"pip\"\r\npip install --upgrade tlapi\r\n```\r\n\r\n## Examples\r\nThe best way to learn anything is by looking at the examples. Am I right?\r\n\r\n- Example on [readthedocs](https://opentele.readthedocs.io/en/latest/examples/)\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python Telegram API Library for converting between tdata and telethon sessions, with built-in official Telegram APIs.",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/hashemdalijeh/tlapi"
},
"split_keywords": [
"tdata",
"tdesktop",
"telegram",
"telethon",
"opentele",
"tlapi",
"official_telegram_apis",
"tl_api",
"telegram_api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aaaceb9a05e13ab6238f4934d248c3446dde32ec2ad654e7b14f36f935958356",
"md5": "700181e5b7838fbfcb913d8fbbfae933",
"sha256": "2fc6f263a8824b1c2046d11f22b7ab7fdbd781326c1666db26fbdb9c1ce0f2eb"
},
"downloads": -1,
"filename": "tlapi-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "700181e5b7838fbfcb913d8fbbfae933",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 78131,
"upload_time": "2023-12-14T17:32:42",
"upload_time_iso_8601": "2023-12-14T17:32:42.471818Z",
"url": "https://files.pythonhosted.org/packages/aa/ac/eb9a05e13ab6238f4934d248c3446dde32ec2ad654e7b14f36f935958356/tlapi-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "53cedefb06998218f8ecdff84fd4656d29e0526264310d6cc8d52ffe1772954b",
"md5": "e46bc847ed98b29f8582d8fd17de53ba",
"sha256": "f967814d7e1f9d249e5a8d72973a62da79c6096334b81ccb2857aeea0a9d3482"
},
"downloads": -1,
"filename": "tlapi-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "e46bc847ed98b29f8582d8fd17de53ba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 72184,
"upload_time": "2023-12-14T17:32:44",
"upload_time_iso_8601": "2023-12-14T17:32:44.753289Z",
"url": "https://files.pythonhosted.org/packages/53/ce/defb06998218f8ecdff84fd4656d29e0526264310d6cc8d52ffe1772954b/tlapi-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-14 17:32:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hashemdalijeh",
"github_project": "tlapi",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "tlapi"
}