install-playwright


Nameinstall-playwright JSON
Version 0.0.0 PyPI version JSON
download
home_pagehttps://github.com/eggplants/install-playwright-python
SummaryExecute `playwright install` from Python
upload_time2022-12-23 19:16:27
maintainer
docs_urlNone
authoreggplants
requires_python>=3.8
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # install-playwright-python

[![PyPI version](
  https://badge.fury.io/py/install-playwright.svg
  )](
  https://badge.fury.io/py/install-playwright
) [![Maintainability](
  https://api.codeclimate.com/v1/badges/75293ef4c40e3382cfe8/maintainability
  )](
  https://codeclimate.com/github/eggplants/install-playwright-python/maintainability
) [![pre-commit.ci status](
  https://results.pre-commit.ci/badge/github/eggplants/install-playwright-python/master.svg
  )](
  https://results.pre-commit.ci/latest/github/eggplants/install-playwright-python/master
) [![Test Coverage](
  https://api.codeclimate.com/v1/badges/75293ef4c40e3382cfe8/test_coverage
  )](
  https://codeclimate.com/github/eggplants/install-playwright-python/test_coverage
) [![Test](
  https://github.com/eggplants/install-playwright-python/actions/workflows/test.yml/badge.svg
  )](
  https://github.com/eggplants/install-playwright-python/actions/workflows/test.yml
)

Execute `playwright install` from Python.

```python
from install_playwright import install
```

```python
from playwright.sync_api import sync_playwright

with sync_playwright() as p:
    install(p.chrome)
    browser = p.chrome.launch()
    # ...
```

```python
import asyncio
from playwright.async_api import async_playwright

async def main():
    async with async_playwright() as p:
        install(p.chrome)
        browser = await p.chrome.launch()
        # ...
```

## Install

```bash
pip install install-playwright
```

## License

MIT

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/eggplants/install-playwright-python",
    "name": "install-playwright",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "eggplants",
    "author_email": "w10776e8w@yahoo.co.jp",
    "download_url": "https://files.pythonhosted.org/packages/0c/95/5703b9c395d04899690d7a52f440962d270168eedeed382ed9d8cef23838/install_playwright-0.0.0.tar.gz",
    "platform": null,
    "description": "# install-playwright-python\n\n[![PyPI version](\n  https://badge.fury.io/py/install-playwright.svg\n  )](\n  https://badge.fury.io/py/install-playwright\n) [![Maintainability](\n  https://api.codeclimate.com/v1/badges/75293ef4c40e3382cfe8/maintainability\n  )](\n  https://codeclimate.com/github/eggplants/install-playwright-python/maintainability\n) [![pre-commit.ci status](\n  https://results.pre-commit.ci/badge/github/eggplants/install-playwright-python/master.svg\n  )](\n  https://results.pre-commit.ci/latest/github/eggplants/install-playwright-python/master\n) [![Test Coverage](\n  https://api.codeclimate.com/v1/badges/75293ef4c40e3382cfe8/test_coverage\n  )](\n  https://codeclimate.com/github/eggplants/install-playwright-python/test_coverage\n) [![Test](\n  https://github.com/eggplants/install-playwright-python/actions/workflows/test.yml/badge.svg\n  )](\n  https://github.com/eggplants/install-playwright-python/actions/workflows/test.yml\n)\n\nExecute `playwright install` from Python.\n\n```python\nfrom install_playwright import install\n```\n\n```python\nfrom playwright.sync_api import sync_playwright\n\nwith sync_playwright() as p:\n    install(p.chrome)\n    browser = p.chrome.launch()\n    # ...\n```\n\n```python\nimport asyncio\nfrom playwright.async_api import async_playwright\n\nasync def main():\n    async with async_playwright() as p:\n        install(p.chrome)\n        browser = await p.chrome.launch()\n        # ...\n```\n\n## Install\n\n```bash\npip install install-playwright\n```\n\n## License\n\nMIT\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Execute `playwright install` from Python",
    "version": "0.0.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "4bb529e59842fdc66b917303b79eefcb",
                "sha256": "78b87a24e122b507995594fc0a18ab19078e3aae99c640f029203b0a46904b19"
            },
            "downloads": -1,
            "filename": "install_playwright-0.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4bb529e59842fdc66b917303b79eefcb",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 2567,
            "upload_time": "2022-12-23T19:16:26",
            "upload_time_iso_8601": "2022-12-23T19:16:26.048204Z",
            "url": "https://files.pythonhosted.org/packages/27/1f/23c2d72c31078e98e7bb2e79bbb2cdf1e80caa90e5a70e07207a9067ab78/install_playwright-0.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "8589fe3d17498d51f19c0658d3095a62",
                "sha256": "ece6bf90ef620c324287f199947f75c69972ebd371f342d74b72fdab690bd56f"
            },
            "downloads": -1,
            "filename": "install_playwright-0.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8589fe3d17498d51f19c0658d3095a62",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 2384,
            "upload_time": "2022-12-23T19:16:27",
            "upload_time_iso_8601": "2022-12-23T19:16:27.257025Z",
            "url": "https://files.pythonhosted.org/packages/0c/95/5703b9c395d04899690d7a52f440962d270168eedeed382ed9d8cef23838/install_playwright-0.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-23 19:16:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "eggplants",
    "github_project": "install-playwright-python",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "install-playwright"
}
        
Elapsed time: 0.03996s