{ "info": { "author": "Vd", "author_email": "vd@vd2.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: AsyncIO", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Communications :: Chat", "Topic :: Internet", "Topic :: Software Development", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Application Frameworks", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "# Rocketgram\n\n[![Build Status](https://www.travis-ci.com/vd2org/rocketgram.svg?branch=master)](https://www.travis-ci.com/vd2org/rocketgram)\n\nModern and powerful asynchronous telegram bot framework.\n\nRelease news available here: [@RocketgramNews](https://t.me/RocketgramNews)\n\n## How to install\n\n#### For development\n\n```bash\npip install rocketgram[aiohttp]\n```\n\n#### For production\n\n```bash\npip install rocketgram[aiohttp,ujson]\n```\n\n## Dependencies\n\nAll dependencies are optional but you should install one of `aiohttp` and `tornado` to use framework.\n\n`ujson` is highly recommended to speedup json parsing.\n\nAlso you can use `uvloop` as alternative to standard event loop.\n\n* Python >= 3.7\n* aiohttp >= 3.5.4\n* ujson >= 1.35\n* tornado >= 6.0.2\n* uvloop >= 0.12.1\n\n## Example\n\nThere is a trivial example below.\n[Here](https://github.com/vd2org/rocketgram-template) is useful bot template.\n\n```python\nfrom rocketgram import Bot, Dispatcher, UpdatesExecutor\nfrom rocketgram import context2, commonfilters\nfrom rocketgram import SendMessage\n\ntoken = 'YOUR_BOT_TOKEN'\n\nrouter = Dispatcher()\nbot = Bot(token, router=router)\n\n@router.handler\n@commonfilters.command('/start')\nasync def start_command():\n await SendMessage(context2.user.user_id, 'Hello there!').send()\n\n@router.handler\n@commonfilters.command('/help')\nasync def start_command():\n await SendMessage(context2.user.user_id, 'Some userful help!').send()\n\nUpdatesExecutor.run(bot)\n```\n\n# Testing\n\nCode tested automatically using `travis`. You can see build status **[here](https://travis-ci.com/vd2org/rocketgram)**.\n\nTo test code manually install and run `pytest`:\n\n```bash\npip install pytest\npython -m pytest\n```\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/vd2org/rocketgram", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "rocketgram", "package_url": "https://pypi.org/project/rocketgram/", "platform": "", "project_url": "https://pypi.org/project/rocketgram/", "project_urls": { "Homepage": "https://github.com/vd2org/rocketgram" }, "release_url": "https://pypi.org/project/rocketgram/1.5/", "requires_dist": [ "aiohttp (>=3.5.4) ; extra == 'aiohttp'", "tornado (>=6.0.2) ; extra == 'tornado'", "ujson (>=1.35) ; extra == 'ujson'", "uvloop (>=0.12.1) ; extra == 'uvloop'" ], "requires_python": "", "summary": "Modern and powerful asynchronous telegram bot framework.", "version": "1.5" }, "last_serial": 5630068, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "76c759fac5cedf8914bbc02d850bdbed", "sha256": "322ebc41ea745d8ed24ca314140e08fb63f6a57b421f1302ed27fb2935b43102" }, "downloads": -1, "filename": "rocketgram-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "76c759fac5cedf8914bbc02d850bdbed", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 50938, "upload_time": "2019-04-26T16:15:50", "url": "https://files.pythonhosted.org/packages/ab/8b/089d3364a0a8a20293daf682102cc4e1bb47cc1d7ac0e11f9dead291ed5f/rocketgram-1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "52651b9c792b64988ff1be21f403a615", "sha256": "c235260856551e75200c52ec94a3ccf9d10cfdc9188226016b88472fb6320c3f" }, "downloads": -1, "filename": "rocketgram-1.0.tar.gz", "has_sig": false, "md5_digest": "52651b9c792b64988ff1be21f403a615", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32210, "upload_time": "2019-04-26T16:16:06", "url": "https://files.pythonhosted.org/packages/3e/28/886e79e7c7fb4f6399d3f39961224e34da797049025039de295a1c317e47/rocketgram-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "22b93a3efad716297fb80e98ce4e702f", "sha256": "5af059dae576b6b36ffc75598e25015c3eecc32b0274b736f702cf25739ba1d7" }, "downloads": -1, "filename": "rocketgram-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "22b93a3efad716297fb80e98ce4e702f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 51090, "upload_time": "2019-05-31T17:54:37", "url": "https://files.pythonhosted.org/packages/69/7d/c33c904892c4701f5d077db865fa75988be3eb6666f16cadfe9542ff2d9c/rocketgram-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0ff48ca6698d09d8daad699eccdecc34", "sha256": "56e989022004ad77c9d81524c5220eba5dbd6bc21d3aad5d48686522928cf013" }, "downloads": -1, "filename": "rocketgram-1.1.tar.gz", "has_sig": false, "md5_digest": "0ff48ca6698d09d8daad699eccdecc34", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32558, "upload_time": "2019-05-31T17:54:41", "url": "https://files.pythonhosted.org/packages/15/4e/4ea989406c7fb462f901bf30ab958a27614fd7b51115778c7c6953e600fc/rocketgram-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "b107594505adf3b97d586fec21cb3864", "sha256": "6176ad805a72f17221eb7f64740d5d81881d1a5ac549ca69dc9dffca0e996fd2" }, "downloads": -1, "filename": "rocketgram-1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "b107594505adf3b97d586fec21cb3864", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 51574, "upload_time": "2019-06-01T12:47:08", "url": "https://files.pythonhosted.org/packages/ed/7f/86a2160a246e3ccc6fbb88922dba1aac1110895aa10137e0e795bd03a9d7/rocketgram-1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8c39346201d674c584e7d76231e59d48", "sha256": "0099f02e39fee6cc4bdfc42eacc677e3ffdc8c9c8b00e3f235393314ac733d7d" }, "downloads": -1, "filename": "rocketgram-1.2.tar.gz", "has_sig": false, "md5_digest": "8c39346201d674c584e7d76231e59d48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32960, "upload_time": "2019-06-01T12:47:12", "url": "https://files.pythonhosted.org/packages/8b/50/c81786ebec4a28a5cd3691fcfdca3c97f68a9e758e4025993abfa9457b06/rocketgram-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "5c564c45abd94faa2d4ad106c9e11dac", "sha256": "f28f1cf38cde5427afea7cea589a55357f06a734afc6fc7e4267d7f4b69bd5a5" }, "downloads": -1, "filename": "rocketgram-1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "5c564c45abd94faa2d4ad106c9e11dac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 51801, "upload_time": "2019-07-12T22:34:00", "url": "https://files.pythonhosted.org/packages/bf/1e/8a3c492045020ccd7489d6eb0b63d482b0b5fe4aa05595e7a3ca0b955f10/rocketgram-1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8cb4db2a4297a9979316ec0a9d756f6", "sha256": "844ea2e56b0e9a089a79c624f248cbcb4ae1a9c727fc906953ed34901161289e" }, "downloads": -1, "filename": "rocketgram-1.3.tar.gz", "has_sig": false, "md5_digest": "e8cb4db2a4297a9979316ec0a9d756f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33287, "upload_time": "2019-07-12T22:34:06", "url": "https://files.pythonhosted.org/packages/4a/77/fa99d08c8fd1c0a8efb2b36163b437b323cfd52db33e5d20286c9de0455a/rocketgram-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "46d351b0be6a1342f8241009c3f3d94d", "sha256": "a695d0f592908b8a34a55a10320398cd7003e2892f7056e00d7a9b4f13af456e" }, "downloads": -1, "filename": "rocketgram-1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "46d351b0be6a1342f8241009c3f3d94d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 51826, "upload_time": "2019-07-26T11:11:14", "url": "https://files.pythonhosted.org/packages/6d/ee/4054888bb328dfd6b0e4c2e7b65d3ab23f8ffbf5c35aa493ccbb74d5ac6e/rocketgram-1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7795452b07e7cfb0e7e81805e479f323", "sha256": "cec548aaddcfa2f80105a117166a523fcd8107c4ba90d1329edffe49228f4686" }, "downloads": -1, "filename": "rocketgram-1.4.tar.gz", "has_sig": false, "md5_digest": "7795452b07e7cfb0e7e81805e479f323", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33322, "upload_time": "2019-07-26T11:11:16", "url": "https://files.pythonhosted.org/packages/ba/56/2e2aaecb03c0633e32306cf46374fa9bd18053ed961e2ab936f1b349caf4/rocketgram-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "63f0d72b99c3797ffaf48c24cb664cf9", "sha256": "ef94853e00ee666ce8961a76c34aa2bb3ea62b19760b3f2f26245d1a66a87257" }, "downloads": -1, "filename": "rocketgram-1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "63f0d72b99c3797ffaf48c24cb664cf9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 51920, "upload_time": "2019-08-04T07:35:03", "url": "https://files.pythonhosted.org/packages/e4/4b/2ad6e4d39542d944d067bf3aaf25ed6292ab2c37e56dbd25a71fcf3a2b4a/rocketgram-1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba79d92a7cc636ce7ac6166a5eb7c412", "sha256": "e4457cc008ab72337d1ab33fd2179bddc973df042929868fd3f9e8b1eaa664e5" }, "downloads": -1, "filename": "rocketgram-1.5.tar.gz", "has_sig": false, "md5_digest": "ba79d92a7cc636ce7ac6166a5eb7c412", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33499, "upload_time": "2019-08-04T07:35:05", "url": "https://files.pythonhosted.org/packages/9c/d8/24491c3236fe1920901190da7256b1c7b89fa7761137689c828c19887ab7/rocketgram-1.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "63f0d72b99c3797ffaf48c24cb664cf9", "sha256": "ef94853e00ee666ce8961a76c34aa2bb3ea62b19760b3f2f26245d1a66a87257" }, "downloads": -1, "filename": "rocketgram-1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "63f0d72b99c3797ffaf48c24cb664cf9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 51920, "upload_time": "2019-08-04T07:35:03", "url": "https://files.pythonhosted.org/packages/e4/4b/2ad6e4d39542d944d067bf3aaf25ed6292ab2c37e56dbd25a71fcf3a2b4a/rocketgram-1.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba79d92a7cc636ce7ac6166a5eb7c412", "sha256": "e4457cc008ab72337d1ab33fd2179bddc973df042929868fd3f9e8b1eaa664e5" }, "downloads": -1, "filename": "rocketgram-1.5.tar.gz", "has_sig": false, "md5_digest": "ba79d92a7cc636ce7ac6166a5eb7c412", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33499, "upload_time": "2019-08-04T07:35:05", "url": "https://files.pythonhosted.org/packages/9c/d8/24491c3236fe1920901190da7256b1c7b89fa7761137689c828c19887ab7/rocketgram-1.5.tar.gz" } ] }