pywebview DevTools Helper
pywebview-devtools is the optional native helper package for pywebview-devtools-mcp.
Install it in the same Python environment as your pywebview app:
pip install pywebview-devtools
Enable it before creating pywebview windows:
import pywebview_devtools
import webview
pywebview_devtools.enable()
remote_port = pywebview_devtools.remote_debugging_port()
if remote_port:
webview.settings["REMOTE_DEBUGGING_PORT"] = remote_port
window = webview.create_window("Demo", "https://example.com")
webview.start(debug=True)
The helper only starts when PYWEBVIEW_DEVTOOLS is enabled. Launch mode in the MCP server sets this automatically. For manual attach mode, set PYWEBVIEW_DEVTOOLS=1 before starting the app and provide stable helper connection values with PYWEBVIEW_DEVTOOLS_HOST, PYWEBVIEW_DEVTOOLS_PORT, and PYWEBVIEW_DEVTOOLS_TOKEN when needed.
The helper listens on a local HTTP endpoint and requires a Bearer token. Treat the token as sensitive and avoid enabling the helper in production builds unless you have a deliberate debugging workflow.
Metadata
Release files for pywebview-devtools 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pywebview_devtools-0.1.0.tar.gz | 11.0 kB | Without provenance | Details for pywebview_devtools-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pywebview_devtools-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pywebview_devtools-0.1.0-py3-none-any.whl |
Total release size: 21.1 kB
Release files / pywebview_devtools-0.1.0.tar.gz
| Download URL | pywebview_devtools-0.1.0.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b18155c587e1c54114ef7de61610b9957c87479ff3696b354323c00aa0f5354
|
|
BLAKE2b-256 checksum How to use checksums |
55bf9ad84f6da3b8a2f579c9d126b9e1d8d9ae80131b55f5b6e2d04b70762424
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pywebview_devtools-0.1.0-py3-none-any.whl
| Download URL | pywebview_devtools-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b5f88090a426540ccaaefb04320ed59b80bdc3dc0bc715f17d27f1c48ba2d24
|
|
BLAKE2b-256 checksum How to use checksums |
495f1484132235d9e536d5682bb86c87e02055ca83fe9ca195ab0abc211cd6ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for pywebview-devtools 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.