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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
712e691ba02940f10e253e730f8f65c194528ed48f7205d248f801206871de63
|
|
| MD5 |
5bec4b016bb3b165c693ab9582d0c3a7
|
|
| BLAKE2b-256 |
388d872138fb3d859bc6cce6668ec70b3d8f084499fdd54e831eea0caf5708a5
|
Provenance
The following attestation bundles were made for xcelerate-0.1.5.tar.gz:
Publisher:
publish-only.yml on AzzoDude/xcelerate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xcelerate-0.1.5.tar.gz -
Subject digest:
712e691ba02940f10e253e730f8f65c194528ed48f7205d248f801206871de63 - Sigstore transparency entry: 1343361663
- Sigstore integration time:
-
Permalink:
AzzoDude/xcelerate@e13c27f1f6e2afdfc008ba49223184e0137a5ac3 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/AzzoDude
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-only.yml@e13c27f1f6e2afdfc008ba49223184e0137a5ac3 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
160e0ed9e4d59a6395cc3c4f0ea1f0b9ff16d333ca10e30300ed9257611237b4
|
|
| MD5 |
716716d3d20f00dc8937f0574455d2fe
|
|
| BLAKE2b-256 |
a3f03d5e744c6ac1a1fa3984e40f04a4d23b4fe3dd5dba3618c1c3f92b4ffa3b
|
Provenance
The following attestation bundles were made for xcelerate-0.1.5-py3-none-any.whl:
Publisher:
publish-only.yml on AzzoDude/xcelerate
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xcelerate-0.1.5-py3-none-any.whl -
Subject digest:
160e0ed9e4d59a6395cc3c4f0ea1f0b9ff16d333ca10e30300ed9257611237b4 - Sigstore transparency entry: 1343361667
- Sigstore integration time:
-
Permalink:
AzzoDude/xcelerate@e13c27f1f6e2afdfc008ba49223184e0137a5ac3 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/AzzoDude
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-only.yml@e13c27f1f6e2afdfc008ba49223184e0137a5ac3 -
Trigger Event:
workflow_dispatch
-
Statement type: