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.5.tar.gz (6.7 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.5-py3-none-any.whl (6.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xcelerate-0.1.5.tar.gz
  • Upload date:
  • Size: 6.7 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.5.tar.gz
Algorithm Hash digest
SHA256 712e691ba02940f10e253e730f8f65c194528ed48f7205d248f801206871de63
MD5 5bec4b016bb3b165c693ab9582d0c3a7
BLAKE2b-256 388d872138fb3d859bc6cce6668ec70b3d8f084499fdd54e831eea0caf5708a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for xcelerate-0.1.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: xcelerate-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 160e0ed9e4d59a6395cc3c4f0ea1f0b9ff16d333ca10e30300ed9257611237b4
MD5 716716d3d20f00dc8937f0574455d2fe
BLAKE2b-256 a3f03d5e744c6ac1a1fa3984e40f04a4d23b4fe3dd5dba3618c1c3f92b4ffa3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xcelerate-0.1.5-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