skillfed

mycdp

Autogenerated CDP utilities for Python

mycdp v1.4.0 764.9K downloads/30d#5,119 on PyPI29
Permissive license MIT Active released

What it is and what it does

MyCDP is a Python library that wraps the Chrome DevTools Protocol (CDP) to make it accessible for browser automation. Rather than requiring external drivers, it lets you control Chromium directly through CDP commands, or connect to an already-running browser instance if you know its remote-debugging-port. The library is designed as a component to import into larger automation frameworks rather than a standalone tool.

The package has no external runtime dependencies, making installation straightforward. It supports Python 3.8 onward and runs on Windows, macOS, and Linux. Because it's built on autogenerated CDP utilities, it aims to keep pace with the Chrome DevTools Protocol specification.

Use it for:

  • Integrate CDP-based browser control into existing Python automation frameworks without adding driver dependencies
  • Connect to and control a Chromium instance remotely when the debugging port is accessible
  • Build custom browser automation scripts that leverage CDP commands directly for fine-grained control
  • Enable multiple automation frameworks to control the same browser instance simultaneously via CDP
  • Reduce automation stack complexity by replacing external driver requirements with native CDP bindings

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

MyCDP provides autogenerated Chrome DevTools Protocol utilities for Python-based browser automation without external drivers, enabling direct Chromium control or connection to existing browser instances via remote debugging.

Yes. MyCDP is actively maintained, has zero known vulnerabilities, carries a permissive MIT license, and installs with no external dependencies. It fills a specific role—making CDP accessible to Python automation frameworks—and is already adopted by established projects. Install it if you need CDP-based browser automation or want to add CDP capabilities to an existing framework.

Install

mycdp on PyPI

pip

pip install mycdp

uv

uv add mycdp

poetry

poetry add mycdp

Installing mycdp

Before you install

Low friction install with no runtime dependencies. Actively maintained as of June 2026, with recent releases and a stable codebase supporting Python 3.8 through 3.15.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install mycdp

import mycdp
# Connect to Chromium via remote-debugging-port or use CDP commands directly

Verify before relying

  • Whether MyCDP works with all Chromium versions or has specific version requirements
  • Performance characteristics compared to other CDP bindings or automation approaches
  • Completeness of CDP protocol coverage relative to the full Chrome DevTools Protocol specification

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 62 days since the last release
Last repo commit
First released
Downloads 764,907/month — #5,119 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mycdp-1.4.0-py3-none-any.whl

Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XEnvironment :: Web EnvironmentEnvironment :: Win32 (MS Windows)Intended Audience :: DevelopersIntended Audience :: Information TechnologyOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: InternetTopic :: Scientific/EngineeringTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Tags

chrome devtools protocol pythonchromium automation without webdriverbrowser automation cdppython cdp utilitiesheadless browser control pythonremote debugging chromiumbrowser automation framework
browser-automationchrome-devtools-protocolcdp

More Software Development packages