pyrotel


Namepyrotel JSON
Version 0.9.2 PyPI version JSON
download
home_pagehttps://github.com/Erfan-Bafandeh/pyrotel
Summarypyrotel is a library for telegram bots.
upload_time2024-03-22 22:45:14
maintainerNone
docs_urlNone
authorErfan Bafandeh
requires_python~=3.6
licenseNone
keywords bot robot pyrotel telegram telegrambot
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## pyrotel 0.9.2v

<h3 align="center">pyrotel is a library for telegram bots.</h3>

> ## Install and Update:
```python
pip install pyrotel
```

> ## START:
```python
from pyrotel import Client
import asyncio

app = Client("API_TOKEN")

async def bot():
	for msg in app.on_message():
		if msg.text == "/start":
			app.send_message(msg.chat_id, "hello my dear.\nwelcome to my bot :)", reply_to_message_id=msg.message_id)

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

> ## Social Media:
<a href="https://t.me/persian_py">TELEGRAM</a><br>
<a href="https://github.com/Erfan-Bafandeh/pyrotel">GITHUB</a>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Erfan-Bafandeh/pyrotel",
    "name": "pyrotel",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.6",
    "maintainer_email": null,
    "keywords": "Bot, Robot, pyrotel, telegram, telegrambot",
    "author": "Erfan Bafandeh",
    "author_email": "user.enbh@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1f/62/35a614760db706a27008977c3c567190edb93712a124317df1313d0be6b7/pyrotel-0.9.2.tar.gz",
    "platform": null,
    "description": "## pyrotel 0.9.2v\r\n\r\n<h3 align=\"center\">pyrotel is a library for telegram bots.</h3>\r\n\r\n> ## Install and Update:\r\n```python\r\npip install pyrotel\r\n```\r\n\r\n> ## START:\r\n```python\r\nfrom pyrotel import Client\r\nimport asyncio\r\n\r\napp = Client(\"API_TOKEN\")\r\n\r\nasync def bot():\r\n\tfor msg in app.on_message():\r\n\t\tif msg.text == \"/start\":\r\n\t\t\tapp.send_message(msg.chat_id, \"hello my dear.\\nwelcome to my bot :)\", reply_to_message_id=msg.message_id)\r\n\r\nif __name__ == \"__main__\":\r\n\tasyncio.run(bot())\r\n```\r\n\r\n> ## Social Media:\r\n<a href=\"https://t.me/persian_py\">TELEGRAM</a><br>\r\n<a href=\"https://github.com/Erfan-Bafandeh/pyrotel\">GITHUB</a>\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "pyrotel is a library for telegram bots.",
    "version": "0.9.2",
    "project_urls": {
        "Homepage": "https://github.com/Erfan-Bafandeh/pyrotel"
    },
    "split_keywords": [
        "bot",
        " robot",
        " pyrotel",
        " telegram",
        " telegrambot"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "df1adb7df7c485c682a4fb5b32f5704f7dfdc5782dec4d5dc92679e24bfe407e",
                "md5": "6ea327d8964d07f8ea24622040998956",
                "sha256": "349d98719a3a98951a580294fc3188703ea531ddd0b98eb50b9b7aec19384c41"
            },
            "downloads": -1,
            "filename": "pyrotel-0.9.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6ea327d8964d07f8ea24622040998956",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.6",
            "size": 6540,
            "upload_time": "2024-03-22T22:45:12",
            "upload_time_iso_8601": "2024-03-22T22:45:12.061433Z",
            "url": "https://files.pythonhosted.org/packages/df/1a/db7df7c485c682a4fb5b32f5704f7dfdc5782dec4d5dc92679e24bfe407e/pyrotel-0.9.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1f6235a614760db706a27008977c3c567190edb93712a124317df1313d0be6b7",
                "md5": "f633a921727af9b0a57b46a9266d8c32",
                "sha256": "8fe19aa101b7d7bae73bc1ae95d65109242f69e3891cac022002efcced548861"
            },
            "downloads": -1,
            "filename": "pyrotel-0.9.2.tar.gz",
            "has_sig": false,
            "md5_digest": "f633a921727af9b0a57b46a9266d8c32",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.6",
            "size": 6771,
            "upload_time": "2024-03-22T22:45:14",
            "upload_time_iso_8601": "2024-03-22T22:45:14.376423Z",
            "url": "https://files.pythonhosted.org/packages/1f/62/35a614760db706a27008977c3c567190edb93712a124317df1313d0be6b7/pyrotel-0.9.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-22 22:45:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Erfan-Bafandeh",
    "github_project": "pyrotel",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyrotel"
}
        
Elapsed time: 0.22437s