{ "info": { "author": "Roman Inflianskas", "author_email": "infroma@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# aiosplinter - asynchronous splinter wrapper Python library\nAsynchronous [splinter](https://github.com/cobrateam/splinter) wrapper Python library\n\n## Installation\nTo install from [PyPI](https://pypi.org/project/aiosplinter/) run:\n```shell\n$ pip install aiosplinter\n```\n\n## Usage\nSee `splinter` [documentation](https://splinter.readthedocs.io/en/latest/), because `aiosplinter` uses the same API as \n`splinter` with 2 exceptions:\n1. All functions are converted to coroutines, that means you have to add `await` keyword before all function calls.\n2. To asynchronously create classes from `aiosplinter` use static method `create`.\n\nExample (open https://google.com with `chrome`, make screenshot and show it in default browser):\n```python\n#!/usr/bin/env python\n\nimport asyncio\nimport webbrowser\nfrom pathlib import Path\n\nimport aiosplinter\n\n\nbrowser_name = 'chrome'\nbrowser = asyncio.run(aiosplinter.Browser(driver_name=browser_name))\nurl = 'https://google.com'\nasyncio.run(browser.visit(url=url))\nscreenshot_filename_base = str(Path('~/google.com_screenshot_').expanduser())\nscreenshot_filename = asyncio.run(browser.screenshot(name=screenshot_filename_base, full=True))\nwebbrowser.open(url=f'file://{screenshot_filename}')\nasyncio.run(browser.quit())\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/rominf/aiosplinter", "keywords": "splinter,web,browser,web-browser,automation,selenium,async,asyncio", "license": "Apache-2.0", "maintainer": "Roman Inflianskas", "maintainer_email": "infroma@gmail.com", "name": "aiosplinter", "package_url": "https://pypi.org/project/aiosplinter/", "platform": "", "project_url": "https://pypi.org/project/aiosplinter/", "project_urls": { "Homepage": "https://github.com/rominf/aiosplinter", "Repository": "https://github.com/rominf/aiosplinter" }, "release_url": "https://pypi.org/project/aiosplinter/0.1.2/", "requires_dist": [ "poetry-version (>=0.1.2,<0.2.0)", "splinter (>=0.9.0,<0.10.0)", "aioify" ], "requires_python": ">=3.6,<4.0", "summary": "Asynchronous splinter wrapper Python library", "version": "0.1.2" }, "last_serial": 4481048, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "208fea450e57ec28016d19db831a42c2", "sha256": "267044a1d26e266631e24971e0f94f1877f241cab7d81706881e6b51de2b3293" }, "downloads": -1, "filename": "aiosplinter-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "208fea450e57ec28016d19db831a42c2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 14426, "upload_time": "2018-10-30T13:00:15", "url": "https://files.pythonhosted.org/packages/92/18/96784f4c4536cbc4bfca552b9822d66775c7bcfcb883e0a3642dc95f7957/aiosplinter-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5047b791c63c28e88587785380282928", "sha256": "24b9b08a87a740a8bef57f836c36b7d5c8dd4b598dec16c9ac24d3417e4b067d" }, "downloads": -1, "filename": "aiosplinter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5047b791c63c28e88587785380282928", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 6291, "upload_time": "2018-10-30T13:00:17", "url": "https://files.pythonhosted.org/packages/0e/5a/a8b4b387db7b0cac278da83c8c4f552cf73a379db96dd0a9cbff98dd882c/aiosplinter-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "3060030c917fa6d1de5295bca14b7fd5", "sha256": "a0e4e8e1717f6aac32cbb66ce4045955873e7ad76aadca004b4fe9e935c9b6f1" }, "downloads": -1, "filename": "aiosplinter-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3060030c917fa6d1de5295bca14b7fd5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 14435, "upload_time": "2018-11-11T18:17:03", "url": "https://files.pythonhosted.org/packages/11/9a/83084e41f04361b0e9f5a38fdc5575081fc1aa8daf7782618b36f4fd25dd/aiosplinter-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b6d3ffd462673c6e83f8e2debf2b97d6", "sha256": "8ce9774e01ba8a1c4bb745b89b07725765a87e249ba25cc2a59b83d0c8601bdb" }, "downloads": -1, "filename": "aiosplinter-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b6d3ffd462673c6e83f8e2debf2b97d6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 6260, "upload_time": "2018-11-11T18:17:05", "url": "https://files.pythonhosted.org/packages/29/cb/2a0d72ab8ce9ba5d923fb32ca9251f615d040921107f5c478352414eaca6/aiosplinter-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "a0a8b581cca4383325e6c7c336eec642", "sha256": "e3c2671cc24c6d6d41024ed746305c16829c61f7dcc340b8ad7d5fcf55f6dff4" }, "downloads": -1, "filename": "aiosplinter-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a0a8b581cca4383325e6c7c336eec642", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 14365, "upload_time": "2018-11-13T09:36:27", "url": "https://files.pythonhosted.org/packages/f9/ba/a3be9249f5e6e9fb16940f91c17a7127237c3e46351d38d3699735535366/aiosplinter-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f96efbbde1550b3770fd3346499ed261", "sha256": "4ca3a704a1f194f18c11fe2ecbf4943a160a50e03bdebae42845d206c2c62b4a" }, "downloads": -1, "filename": "aiosplinter-0.1.2.tar.gz", "has_sig": false, "md5_digest": "f96efbbde1550b3770fd3346499ed261", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 6283, "upload_time": "2018-11-13T09:36:28", "url": "https://files.pythonhosted.org/packages/23/37/8aa4db2ff4cbefe9137ec31dbd8e61d587526f2f64c814ba91d872ab6e2e/aiosplinter-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a0a8b581cca4383325e6c7c336eec642", "sha256": "e3c2671cc24c6d6d41024ed746305c16829c61f7dcc340b8ad7d5fcf55f6dff4" }, "downloads": -1, "filename": "aiosplinter-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a0a8b581cca4383325e6c7c336eec642", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 14365, "upload_time": "2018-11-13T09:36:27", "url": "https://files.pythonhosted.org/packages/f9/ba/a3be9249f5e6e9fb16940f91c17a7127237c3e46351d38d3699735535366/aiosplinter-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f96efbbde1550b3770fd3346499ed261", "sha256": "4ca3a704a1f194f18c11fe2ecbf4943a160a50e03bdebae42845d206c2c62b4a" }, "downloads": -1, "filename": "aiosplinter-0.1.2.tar.gz", "has_sig": false, "md5_digest": "f96efbbde1550b3770fd3346499ed261", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 6283, "upload_time": "2018-11-13T09:36:28", "url": "https://files.pythonhosted.org/packages/23/37/8aa4db2ff4cbefe9137ec31dbd8e61d587526f2f64c814ba91d872ab6e2e/aiosplinter-0.1.2.tar.gz" } ] }