Skip to main content

Wrapper around Playwright to help launch Foxyz

Project description

Foxyz

Python library for launching and managing Foxyz browser profiles with unique, consistent fingerprints.


Installation

macOS / Linux — paste vào Terminal:

curl -fsSL https://raw.githubusercontent.com/foxyzcoding/foxyz/main/install.sh | bash

Script tự động:

  • Cài Python 3 nếu chưa có
  • Cài foxyz library
  • Download browser binary

Hoặc cài thủ công:

python3 -m pip install foxyz
python3 -m foxyz fetch

Features

  • Unique, consistent browser fingerprints across every session
  • Automatic fingerprint generation — OS, CPU, screen, navigator, fonts, headers, WebGL, audio
  • Runtime window resize with full fingerprint integrity (iW = oW at all sizes)
  • Per-session WebGL hash randomization
  • Geolocation, timezone, and locale matching for proxy environments
  • Headful and headless modes
  • Async and sync API

Quick Start

Async:

from foxyz.async_api import AsyncFoxyz

async with AsyncFoxyz(headless=False, window=(1280, 800)) as browser:
    page = await browser.new_page()
    await page.goto("https://example.com")

Sync:

from foxyz.sync_api import NewBrowser
from foxyz.utils import launch_options

opts = launch_options(headless=False, window=(1280, 800))
with NewBrowser(headless=False, from_options=opts) as browser:
    page = browser.new_page()
    page.goto("https://example.com")

CLI

python3 -m foxyz fetch      # Download the browser
python3 -m foxyz list       # List installed versions
python3 -m foxyz remove     # Remove all data
python3 -m foxyz version    # Show version info

Requirements

  • Python 3.10+
  • macOS arm64 / x64, Windows x64, Linux x64

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

foxyz-1.2.1.tar.gz (38.3 MB view details)

Uploaded Source

Built Distribution

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

foxyz-1.2.1-py3-none-any.whl (38.5 MB view details)

Uploaded Python 3

File details

Details for the file foxyz-1.2.1.tar.gz.

File metadata

  • Download URL: foxyz-1.2.1.tar.gz
  • Upload date:
  • Size: 38.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for foxyz-1.2.1.tar.gz
Algorithm Hash digest
SHA256 6c86d8ce925660f321505c625536989ebe1d1595e6f897867df2e129a020a484
MD5 2c1dc66148c892960bc3d1f7cf0595b0
BLAKE2b-256 e6d27042e600ea68e46cfeb3bdc5d3bcfa133a691b08f2239bc2c9843cc31588

See more details on using hashes here.

File details

Details for the file foxyz-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: foxyz-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 38.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for foxyz-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2e1205cb3a3036d8855c24236ec15ec16eeb0afd0002cae78a524f75b7a7c4f
MD5 82a19446f7d2505a5a9fef06ce18e0cc
BLAKE2b-256 5ea329565b08eb58bb8dda7d999e5993067ca7d395bd2a3b997e29fa108c19e4

See more details on using hashes here.

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