{ "info": { "author": "Oleg Yurchik", "author_email": "oleg.yurchik@protonmail.com", "bugtrack_url": null, "classifiers": [], "description": "# aiotelegraph\n[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](\nhttps://github.com/OlegYurchik/aiotelegraph/blob/master/LICENSE)\n[![built with Python3](https://img.shields.io/badge/built%20with-Python3-red.svg)](\nhttps://www.python.org/)\n[![paypal](https://img.shields.io/badge/-PayPal-blue.svg)](\nhttps://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QEZ85BDKJCM4E)\n## Description\nThis is simple async library for interaction with Telegra.ph API\n\nContents\n=================\n* [Release Notes](#release-notes)\n * [0.1.0](#version-0-1-0)\n* [Getting Started](#getting-started)\n * [Installation from Pip](#installation-from-pip)\n * [Installation from GitHub](#installation-from-github)\n * [Quick Start](#quick-start)\n* [User Guide](#user-guide)\n* [Documentation](#documentation)\n * [Entities](#entities)\n * [Methods](#methods)\n* [Help the author](#help-the-author)\n * [Contribute repo](#contribute-repo)\n * [Donate](#donate)\n## Release Notes\n### Version 0.1.0\n* Init library\n## Getting Started\n### Installation from pip\nFor installation aiotelegraph library from pip you should have pip with python (prefer python3.6 or\nlater)\n```bash\npip install aiotelegraph\n```\n### Installation from GitHub\nTo basic installation from GitHub repository you should have git, python3 (prefer python3.6 or\nlater), pip (optionally) in your system\n```bash\ngit clone https://github.com/OlegYurchik/aiotelegraph.git\ncd aiotelegraph\npip install .\n```\nor\n```bash\ngit clone https://github.com/OlegYurchik/aiotelegraph.git\ncd aiotelegraph\npython setup.py install\n```\n### Quick Start\nAfter installation, you can use the library in your code. Below is a sneak example of using the\nlibrary.\n```python3\nfrom asyncio\nfrom aiotelegraph import NodeElement, TelegraphClient\n\n\nasync def main():\n client = TelegraphClient()\n await client.create_account(short_name=\"ShortName\", author_name=\"AuthorName\", author_url=\"AuthorUrl\")\n\n content = [\n NodeElement(text=\"Hello\"),\n NodeElement(text=\"Neighbour\"),\n ]\n page = await client.create_page(title=\"Greeting\", content=content, return_content=True) \n\n\nloop = asyncio.get_event_loop()\nloop.run_until_complete(main())\n```\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/OlegYurchik/aiotelegraph", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "aiotelegraph", "package_url": "https://pypi.org/project/aiotelegraph/", "platform": "", "project_url": "https://pypi.org/project/aiotelegraph/", "project_urls": { "Homepage": "https://github.com/OlegYurchik/aiotelegraph" }, "release_url": "https://pypi.org/project/aiotelegraph/0.1.0/", "requires_dist": [ "aiohttp" ], "requires_python": "", "summary": "", "version": "0.1.0" }, "last_serial": 5787133, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ff69f1a94a337e1a6979182f1c631c65", "sha256": "d55534ec2db70ee3b4d6043689a719db09f9f1e81a2dc5f038eafd00e9d98f5f" }, "downloads": -1, "filename": "aiotelegraph-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ff69f1a94a337e1a6979182f1c631c65", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5914, "upload_time": "2019-09-05T15:21:47", "url": "https://files.pythonhosted.org/packages/ea/56/d843ab2dc7cba5085dde1394c9de1b86e0fecfd7c7af565788fb7e33bd76/aiotelegraph-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d0ebfdc08f739873db85f49a3a902da1", "sha256": "9afead50889bb9c1a686bff2109b48d749bbb5c2e768935e622e2c69a9afbf7e" }, "downloads": -1, "filename": "aiotelegraph-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d0ebfdc08f739873db85f49a3a902da1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4203, "upload_time": "2019-09-05T15:21:50", "url": "https://files.pythonhosted.org/packages/f8/a7/26cc720130b65d4916cdff69c2ecd7c2f47ba910d8d7cf1d7b250f7cfc13/aiotelegraph-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ff69f1a94a337e1a6979182f1c631c65", "sha256": "d55534ec2db70ee3b4d6043689a719db09f9f1e81a2dc5f038eafd00e9d98f5f" }, "downloads": -1, "filename": "aiotelegraph-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ff69f1a94a337e1a6979182f1c631c65", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5914, "upload_time": "2019-09-05T15:21:47", "url": "https://files.pythonhosted.org/packages/ea/56/d843ab2dc7cba5085dde1394c9de1b86e0fecfd7c7af565788fb7e33bd76/aiotelegraph-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d0ebfdc08f739873db85f49a3a902da1", "sha256": "9afead50889bb9c1a686bff2109b48d749bbb5c2e768935e622e2c69a9afbf7e" }, "downloads": -1, "filename": "aiotelegraph-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d0ebfdc08f739873db85f49a3a902da1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4203, "upload_time": "2019-09-05T15:21:50", "url": "https://files.pythonhosted.org/packages/f8/a7/26cc720130b65d4916cdff69c2ecd7c2f47ba910d8d7cf1d7b250f7cfc13/aiotelegraph-0.1.0.tar.gz" } ] }