1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
# -*- coding: utf-8 -*-
from setuptools import setup
package_dir = \
{'': 'src'}
packages = \
['arsenic']
package_data = \
{'': ['*']}
install_requires = \
['aiohttp>=3', 'attrs>=17.4.0', 'structlog>=20.1.0,<21.0.0']
entry_points = \
{'console_scripts': ['arsenic-check-ie11 = '
'arsenic.helpers:check_ie11_environment_cli',
'arsenic-configure-ie11 = '
'arsenic.helpers:configure_ie11_environment_cli']}
setup_kwargs = {
'name': 'arsenic',
'version': '21.8',
'description': 'Asynchronous WebDriver client',
'long_description': "# Async Webdriver\n\n[](https://circleci.com/gh/HDE/arsenic/tree/main) [](http://arsenic.readthedocs.io/en/latest/?badge=latest)\n[](https://automate.browserstack.com/public-build/QmtNVHFnWWRFSEVUdTBZNWU5NGMraVorWVltazFqRk1VNWRydW5FRXU2dz0tLVhoTlFuK2tZUTJ1UGx0UmZaWjg4R1E9PQ==--35ef3d28fbf8ea24ee7fa2a435f9271fbaaf85d4)\n[](https://ci.appveyor.com/project/ojii/arsenic)\n[](https://badge.fury.io/py/arsenic)\n[](https://github.com/ambv/black)\n[](https://opensource.org/licenses/Apache-2.0)\n\n\nAsynchronous webdriver client built on asyncio.\n\n\n## Quickstart\n\nLet's run a local Firefox instance.\n\n\n```python\n\nfrom arsenic import get_session\nfrom arsenic.browsers import Firefox\nfrom arsenic.services import Geckodriver\n\n\nasync def example():\n # Runs geckodriver and starts a firefox session\n async with get_session(Geckodriver(), Firefox()) as session:\n # go to example.com\n await session.get('http://example.com')\n # wait up to 5 seconds to get the h1 element from the page\n h1 = await session.wait_for_element(5, 'h1')\n # print the text of the h1 element\n print(await h1.get_text())\n```\n\nFor more information, check [the documentation](https://arsenic.readthedocs.io/)\n\n## CI Supported by Browserstack\n\nContinuous integration for certain browsers is generously provided by [Browserstack](http://browserstack.com).\n\n[](http://browserstack.com/)\n",
'author': 'Jonas Obrist',
'author_email': 'jonas.obrist@hennge.com',
'maintainer': None,
'maintainer_email': None,
'url': 'https://github.com/HDE/arsenic',
'package_dir': package_dir,
'packages': packages,
'package_data': package_data,
'install_requires': install_requires,
'entry_points': entry_points,
'python_requires': '>=3.7,<4.0',
}
setup(**setup_kwargs)
|