install_playwright


Nameinstall_playwright JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/eggplants/install-playwright-python
SummaryExecute `playwright install` from Python
upload_time2024-04-30 02:40:35
maintainerNone
docs_urlNone
authoreggplants
requires_python<4,>=3.8
licenseMIT
keywords playwright install browser
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`](https://playwright.dev/python/docs/cli) 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": null,
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": null,
    "keywords": "playwright, install, browser",
    "author": "eggplants",
    "author_email": "w10776e8w@yahoo.co.jp",
    "download_url": "https://files.pythonhosted.org/packages/c3/11/4d7cb2d9404a3c17a65e550ac903c2430e4f8e1b34c3239fa4f85afd086c/install_playwright-0.1.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`](https://playwright.dev/python/docs/cli) 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.1.0",
    "project_urls": {
        "Homepage": "https://github.com/eggplants/install-playwright-python",
        "Repository": "https://github.com/eggplants/install-playwright-python"
    },
    "split_keywords": [
        "playwright",
        " install",
        " browser"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9926ac0f806e4fd297df90ee69e3273bf84fc079cfc6254184cadda1f9f58cc0",
                "md5": "a04e871cd5ec7af3654bd8d08a15e1f8",
                "sha256": "37850e49bdae09b72c0922b64bb623f4c44fd9ea09ba9ad5e113735399d8f8d2"
            },
            "downloads": -1,
            "filename": "install_playwright-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a04e871cd5ec7af3654bd8d08a15e1f8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 3236,
            "upload_time": "2024-04-30T02:40:34",
            "upload_time_iso_8601": "2024-04-30T02:40:34.090925Z",
            "url": "https://files.pythonhosted.org/packages/99/26/ac0f806e4fd297df90ee69e3273bf84fc079cfc6254184cadda1f9f58cc0/install_playwright-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c3114d7cb2d9404a3c17a65e550ac903c2430e4f8e1b34c3239fa4f85afd086c",
                "md5": "67a694b1d48e0c6dd723ff76cd3fa60b",
                "sha256": "bd9eb0ee05cfb2734b21d3a42ae3cf253840d858c3a7d867f015b54000f955c8"
            },
            "downloads": -1,
            "filename": "install_playwright-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "67a694b1d48e0c6dd723ff76cd3fa60b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.8",
            "size": 2969,
            "upload_time": "2024-04-30T02:40:35",
            "upload_time_iso_8601": "2024-04-30T02:40:35.593508Z",
            "url": "https://files.pythonhosted.org/packages/c3/11/4d7cb2d9404a3c17a65e550ac903c2430e4f8e1b34c3239fa4f85afd086c/install_playwright-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-30 02:40:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "eggplants",
    "github_project": "install-playwright-python",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "install_playwright"
}
        
Elapsed time: 1.26940s