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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: foxyz-1.2.2-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.12.3

File hashes

Hashes for foxyz-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8a7ecc049f5a2b5f1ac1fa861e91cb6578e54c878e7349d0b12bfab4fa33a05
MD5 6528a50389179f6004e66861114ba043
BLAKE2b-256 73a0d69abee307e80d9bf833d33c9b31c47e8cbc90770e1b563fae38b86a8acf

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