Mock-webusb
An AI-generated mock implementation of WebUSB API for PySide. (Screenshot of the F12 console during testing.)
To run minimal_browser.py from this release on Windows, use this PowerShell command:
$env:PYTHONPATH = "src"
$env:QTWEBENGINE_REMOTE_DEBUGGING = "9222"
python examples/minimal_browser.py
(Since the F12 feature is not enabled by default, please make sure to include $env:QTWEBENGINE_REMOTE_DEBUGGING = "9222" if you need to use the F12 functionality.)
However, please be aware that this configuration might not work out of the box. It is recommended to personally implement the required F12 execution logic within the minimal_browser.py file
"Honestly, since this is just a test/check build, it'd be faster to just have each person tweak and embed the logic on their end."
License
This project is licensed under the MIT License - see the LICENSE file for details.
Third-Party Notices
- qwebchannel.js: Loaded at runtime from your own Qt installation (BSD-3-Clause, © The Qt Company) and is not redistributed in this repository.
Release files for pyside6-webusb 0.0.4.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyside6_webusb-0.0.4.post1.tar.gz | 86.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyside6_webusb-0.0.4.post1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 146.5 kB
Release files / pyside6_webusb-0.0.4.post1.tar.gz
| Download URL | pyside6_webusb-0.0.4.post1.tar.gz |
|---|---|
| Size | 86.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
779af212aa6d5701610c823ae17fd24e5b815c6e6892071a4f5b2aaa695d87ba
|
|
BLAKE2b-256 checksum How to use checksums |
df24349b7532a5009f9fdffe9b9ecab02061c8f6103f829a0bcba8cb19d82f33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / pyside6_webusb-0.0.4.post1-py3-none-any.whl
| Download URL | pyside6_webusb-0.0.4.post1-py3-none-any.whl |
|---|---|
| Size | 60.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7869079baf4a181fad5b6d7c77f583e2ea5b8fb07b335af0dd57c1b752c2abad
|
|
BLAKE2b-256 checksum How to use checksums |
68a131684b33219477f431101f891854bea31e68a915961299ad2b67b3378494
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|