Skip to main content

Anti-detect browser built on Chromium

Project description

dechromium

PyPI Python License CI Docs

Anti-detect browser built on Chromium. Manages browser profiles with isolated fingerprints — canvas, WebGL, audio, fonts, screen, navigator, timezone, and network. All spoofing is implemented in C++ inside the browser engine. No JavaScript injection, no CDP overrides.

Install

pip install dechromium
dechromium install

The first command installs the Python library. The second downloads the patched Chromium binary from GitHub Releases.

Quick start

from dechromium import Dechromium, Platform

with Dechromium() as dc:
    profile = dc.create("my-profile", platform=Platform.WINDOWS)
    browser = dc.start(profile.id)
    print(browser.ws_endpoint)  # connect with Playwright, Puppeteer, or Selenium
# browser automatically stopped on exit

Features

Feature Details
Profile management Create, list, update, delete profiles with full fingerprint isolation
Platform presets Platform.WINDOWS / MACOS / LINUX sets identity, WebGL, and fonts in one call
C++ spoofing Canvas noise, WebGL params, audio fingerprint, DOMRect noise — all at engine level
Proxy support SOCKS5/HTTP with C++ auth, DNS leak protection, WebRTC leak protection
Font isolation Per-profile fontconfig with platform-specific font packs
Cookie management Import/export Chrome SQLite cookies
REST API Optional FastAPI server — pip install dechromium[server]
Typed PEP 561 typed, Pydantic v2 models, enum-based API with IDE autocomplete

Browser management

dechromium install                     # latest version
dechromium install 145.0.7632.116      # specific version
dechromium update                      # check for updates (hotfixes)
dechromium browsers                    # list available and installed
dechromium uninstall 145.0.7632.116    # remove a version

Multiple versions can be installed side-by-side. The library auto-selects the latest.

Configuration

Env var Default Description
DECHROMIUM_DATA_DIR ~/.dechromium Base directory for profiles and browsers
DECHROMIUM_BROWSER_BIN auto-detect Override browser binary path
DECHROMIUM_FONTS_DIR ~/.dechromium/fonts Font packs directory

Documentation

enbanned.github.io/dechromium

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

dechromium-0.12.1.tar.gz (19.7 MB view details)

Uploaded Source

Built Distribution

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

dechromium-0.12.1-py3-none-any.whl (19.7 MB view details)

Uploaded Python 3

File details

Details for the file dechromium-0.12.1.tar.gz.

File metadata

  • Download URL: dechromium-0.12.1.tar.gz
  • Upload date:
  • Size: 19.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dechromium-0.12.1.tar.gz
Algorithm Hash digest
SHA256 d029f455d2b1fecc20a3a7b726be81c138bda8c881c279073fece8c14efb374b
MD5 cc72817df5b3079a8f8b46b353219b79
BLAKE2b-256 609cf55fa0c95918ccd20757c83acb8d75b5fbeb22b61719d15bc974709b0f96

See more details on using hashes here.

Provenance

The following attestation bundles were made for dechromium-0.12.1.tar.gz:

Publisher: release.yml on ENbanned/dechromium

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

File details

Details for the file dechromium-0.12.1-py3-none-any.whl.

File metadata

  • Download URL: dechromium-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 19.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dechromium-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d1452adad21402821351f30e07618cd49b7aace5fad12f8bdf509cd8bd61b057
MD5 79d543a0cc0995ed71a27d8c8c1692c0
BLAKE2b-256 ad237db0624388949ab802be3c8a6392efcf6182c68041f1bb1815d4f5d1684a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dechromium-0.12.1-py3-none-any.whl:

Publisher: release.yml on ENbanned/dechromium

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