{ "info": { "author": "Christo Goosen", "author_email": "christogoosen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: AsyncIO", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX :: BSD :: FreeBSD", "Operating System :: POSIX :: Linux", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development", "Topic :: System :: Networking", "Typing :: Typed" ], "description": "# Python asyncio railgun\nA python3.4+ asyncio library wrapper for utilzing asyncio tasks and gather(*) functionality. Library is meant to make concurrent tasks easier and safer through the use of semaphores.\n\n\n[![pypi package][pypi-image]][pypi-url]\n[![Build Status][travis-image]][travis-url]\n[![Python Version][python-version]][pypi-url]\n[![codecov][codecov-image]][codecov-url]\n\n\n## Table of contents\n\n\n### Requirements\n---\nThis library requires Python 3.6 and above. \n\n> **Note:** You may need to use `python3` before your commands to ensure you use the correct Python path. e.g. `python3 --version`\n\n\n```bash\npython --version\n\n-- or --\n\npython3 --version\n```\n\n### Installation\n\nWe recommend using [PyPI][pypi] to install the Slack Developer Kit for Python.\n\n\n```bash\npip3 install asyncio-railgun==0.0.1\n```\n\n### Basic Usage examples\n---\n\n\n#### Run\n```python\nfrom asyncio import get_event_loop\nfrom railgun.railgun import Railgun\nfrom http import client\n\ndef example_call_api(host='www.google.com', url='/'):\n conn = client.HTTPSConnection(host, port=443, timeout=5)\n conn.request(method='GET', url=url)\n response = conn.getresponse()\n return response.status\n\nrail_gun = Railgun(semaphores_count=10)\nresults = rail_gun.run([example_call_api(), example_call_api()])\nprint(results)\n```\n\n#### Run async\nTBD\n#### Repeat\nTBD\n### Support\n---\nTBD\n\nContact me on christogoosen@gmail.com\n\nOtherwise see the examples and log an issue.\n\n\n[pypi-image]: https://badge.fury.io/py/asyncio-railgun.svg\n[pypi-url]: https://pypi.python.org/pypi/asyncio-railgun\n[travis-image]: https://api.travis-ci.org/c-goosen/asyncio-railgun.svg?branch=master\n[travis-url]: https://travis-ci.org/c-goosen/asyncio-railgun\n[codecov-image]: https://codecov.io/gh/c-goosen/asyncio-railgun/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/c-goosen/asyncio-railgun\n[pypi]: https://pypi.python.org/pypi\n[pipenv]: https://pypi.org/project/pipenv/\n[gh-issues]: https://github.com/c-goosen/asyncio-railgun/issues\n[aiohttp]: https://aiohttp.readthedocs.io/\n[python-version]: https://img.shields.io/pypi/pyversions/asyncio-railgun.svg", "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/c-goosen/asyncio-railgun", "keywords": "asyncio concurrent gather tasks", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "asyncio-railgun", "package_url": "https://pypi.org/project/asyncio-railgun/", "platform": "", "project_url": "https://pypi.org/project/asyncio-railgun/", "project_urls": { "Homepage": "https://github.com/c-goosen/asyncio-railgun" }, "release_url": "https://pypi.org/project/asyncio-railgun/0.0.3/", "requires_dist": null, "requires_python": ">=3.6.0", "summary": "Library for easier asyncio concurrent tasks.", "version": "0.0.3" }, "last_serial": 5438157, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a081ba08071ccd519e2c2646c8ad6499", "sha256": "f6ae5c663d3040297326a391898ed616492f806d301f3c6ca603bccd53b22463" }, "downloads": -1, "filename": "asyncio_railgun-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a081ba08071ccd519e2c2646c8ad6499", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6.0", "size": 4090, "upload_time": "2019-06-23T19:11:12", "url": "https://files.pythonhosted.org/packages/1a/1b/d11759ab482d66a2ed545e523a413badfe420020ce639364c346919539ed/asyncio_railgun-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a0c235c5ca145fa7c8fcc6a4568ce0af", "sha256": "42b57f84cb236b0386df96ae1cfc3147b6758c8be869a27f34230dcadb1beaa8" }, "downloads": -1, "filename": "asyncio-railgun-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a0c235c5ca145fa7c8fcc6a4568ce0af", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4841, "upload_time": "2019-06-23T19:11:15", "url": "https://files.pythonhosted.org/packages/3e/6d/56162b7a38d456a4a646df65b678faed9a735235f1292c71c0320340d7ff/asyncio-railgun-0.0.1.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "899e179eb0c7380ec0666e4f21f474f8", "sha256": "d78454334f8657572f632f04d09915ccd6c0e6f7aaa2f4c1e31f26dfc7210246" }, "downloads": -1, "filename": "asyncio-railgun-0.0.3.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "899e179eb0c7380ec0666e4f21f474f8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4810, "upload_time": "2019-06-23T20:22:51", "url": "https://files.pythonhosted.org/packages/78/91/74ff15979f625baa0ef056f897210d6dfcd4d17a4bfabb01ec388553768b/asyncio-railgun-0.0.3.linux-x86_64.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "899e179eb0c7380ec0666e4f21f474f8", "sha256": "d78454334f8657572f632f04d09915ccd6c0e6f7aaa2f4c1e31f26dfc7210246" }, "downloads": -1, "filename": "asyncio-railgun-0.0.3.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "899e179eb0c7380ec0666e4f21f474f8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4810, "upload_time": "2019-06-23T20:22:51", "url": "https://files.pythonhosted.org/packages/78/91/74ff15979f625baa0ef056f897210d6dfcd4d17a4bfabb01ec388553768b/asyncio-railgun-0.0.3.linux-x86_64.tar.gz" } ] }