Skip to main content

PyCDP

PyPI Python Versions MIT License Build Status Read the Docs

Python Chrome DevTools Protocol (shortened to PyCDP) is a library that provides Python wrappers for the types, commands, and events specified in the Chrome DevTools Protocol.

The Chrome DevTools Protocol provides for remote control of a web browser by sending JSON messages over a WebSocket. That JSON format is described by a machine-readable specification. This specification is used to automatically generate the classes and methods found in this library.

You could write a CDP client by connecting a WebSocket and then sending JSON objects, but this would be tedious and error-prone: the Python interpreter would not catch any typos in your JSON objects, and you wouldn't get autocomplete for any parts of the JSON data structure. By providing a set of native Python wrappers, this project makes it easier and faster to write CDP client code.

This library does not perform any I/O! In order to maximize flexibility, this library does not actually handle any network I/O, such as opening a socket or negotiating a WebSocket protocol. Instead, that responsibility is left to higher-level libraries, for example trio-chrome-devtools-protocol.

For more information, see the complete documentation.

define hyperion gray

Metadata

Release files for chrome-devtools-protocol 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chrome-devtools-protocol 0.4.0
File Size Uploaded Provenance Actions
chrome-devtools-protocol-0.4.0.tar.gz 122.2 kB Without provenance Details for chrome-devtools-protocol-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chrome-devtools-protocol 0.4.0
File Interpreter ABI Platform Actions
chrome_devtools_protocol-0.4.0-py3-none-any.whl Python 3 none any Details for chrome_devtools_protocol-0.4.0-py3-none-any.whl

Total release size: 270.8 kB

Release files / chrome-devtools-protocol-0.4.0.tar.gz

Download URL chrome-devtools-protocol-0.4.0.tar.gz
Size 122.2 kB
Tags Source
SHA-256 checksum
How to use checksums
eb26b540c2e0bc2e35021e2347e5af2b0c5b9f8d0f5a2136dc64d1ae7e7e9328
BLAKE2b-256 checksum
How to use checksums
7949c47ed78b619abe76d76032af2739a3ea2b4ee96b7400ea2f09b5ae7cbacb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.7.5 Linux/5.3.0-40-generic

Release files / chrome_devtools_protocol-0.4.0-py3-none-any.whl

Download URL chrome_devtools_protocol-0.4.0-py3-none-any.whl
Size 148.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edf6216e4ee65ab440d220b36f7d4edf36f1bc9a52ec75bfb6556e5bd71a6561
BLAKE2b-256 checksum
How to use checksums
0e7c9943545beb6f1edd2aef5344a146567fd54f500e2e2d9b32d149af69034e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.7.5 Linux/5.3.0-40-generic

Security for chrome-devtools-protocol 0.4.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page