install-playwright-python
Execute playwright install from Python.
Install
pip install install-playwright
Example
from install_playwright import install
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
install([p.chromium])
browser = p.chromium.launch()
# ...
import asyncio
from playwright.async_api import async_playwright
async def main():
async with async_playwright() as p:
install([p.chromium])
browser = await p.chromium.launch()
# ...
License
MIT
Metadata
Release files for install-playwright 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| install_playwright-1.0.2.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| install_playwright-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.6 kB
Release files / install_playwright-1.0.2.tar.gz
| Download URL | install_playwright-1.0.2.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1bb31a6eee97416acb73ccba7bdc031fff45008ac4bf1ec75298d19b202add0
|
|
BLAKE2b-256 checksum How to use checksums |
bfddbcd960f6522142809fe293e02bb1feaca7af6f49e09d9827b6806ccdcb4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / install_playwright-1.0.2-py3-none-any.whl
| Download URL | install_playwright-1.0.2-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
151de353be64cf49f29589df22c3073a6a313060f4f751deabf2eee20b4e9b59
|
|
BLAKE2b-256 checksum How to use checksums |
a260b1cb7293356292abba91908b33f2093ac314751148d84095f387081d10ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|