Skip to main content

A high-performance, lightweight Chrome DevTools Protocol (CDP) client with built-in stealth.

Project description

Xcelerate Python SDK

A high-performance, lightweight Chrome DevTools Protocol (CDP) client for Python, designed for speed and stealth.

Features

  • Blazing Fast: Direct CDP communication over WebSockets.
  • Stealth by Design: Built-in anti-bot protection and binary patching.
  • Universal: Native bindings for high performance.
  • Async/Await: Full support for Python's asyncio.

Installation

pip install xcelerate

Quick Start

import asyncio
from xcelerate import Browser, BrowserConfig

async def main():
    # Launch browser with intelligent defaults
    # (Optional: headless=True, stealth=True, detached=True, executable_path=None)
    config = BrowserConfig()
    browser = await Browser.launch(config)
    
    # Create a new page
    print("Opening Pixelscan...")
    page = await browser.new_page("https://pixelscan.net/bot-check")
    
    # Wait for result to load
    print("Waiting 10 seconds for bot check...")
    await asyncio.sleep(10)
    
    # Interact with the page
    print(f"Title: {await page.title()}")
    
    # Take a screenshot
    print("Capturing screenshot...")
    screenshot = await page.screenshot_full()
    with open("result.png", "wb") as f:
        f.write(screenshot)
    
    await browser.close()

if __name__ == "__main__":
    asyncio.run(main())

Advanced Configuration

The BrowserConfig object allows you to fine-tune the browser behavior:

  • stealth (default: True): Applies binary patches and JS masking to bypass bot detection.
  • detached (default: True): Spawns the browser as an independent process that stays open even if your script finishes.
  • headless (default: True): Runs the browser without a visible window.
  • executable_path (default: None): Manually specify the location of Chrome or Edge.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xcelerate-0.1.6.tar.gz (5.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xcelerate-0.1.6-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

File details

Details for the file xcelerate-0.1.6.tar.gz.

File metadata

  • Download URL: xcelerate-0.1.6.tar.gz
  • Upload date:
  • Size: 5.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xcelerate-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ef0ddcd55fdb7b34b75e23fb9c8f5a8d5b7a03aacd350ea13daae80d18f803b8
MD5 a531dfac9adbe5da083a6b0fa6c0748a
BLAKE2b-256 c245643be3006d748be886eb0d2deb45706576f140ab946dfa218b26a73e0fc5

See more details on using hashes here.

Provenance

The following attestation bundles were made for xcelerate-0.1.6.tar.gz:

Publisher: publish-only.yml on AzzoDude/xcelerate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xcelerate-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: xcelerate-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for xcelerate-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4db79a82e6801cc75885f1440106303f31960b155bc7fcea6d39ceca310170a3
MD5 3e5e6a2e69fb4cddc7e6640c6ea0a39d
BLAKE2b-256 3d8efe23a09d2300cc54506e0d8ff2052ad40cd84601fe06ca5eb6e6a49d5506

See more details on using hashes here.

Provenance

The following attestation bundles were made for xcelerate-0.1.6-py3-none-any.whl:

Publisher: publish-only.yml on AzzoDude/xcelerate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page