Skip to main content

Hyper-UA ─ ultra-realistic User-Agent & fingerprint generator.

Project description

HyperUserAgent

HyperUserAgent (Hyper-UA) is an advanced Python package for generating ultra-realistic User-Agent strings and browser fingerprints.
Built for stealth web scraping, testing, and automation, it simulates real browsers and platforms with high fidelity, including dynamic TLS fingerprints, HTTP/2 settings, canvas/webgl hashes, proxy rotation, and behavioural biometrics.

Features

  • Generate statistically weighted User-Agent strings mimicking real browser market shares (StatCounter 2025)
  • Supports major browsers: Chrome, Firefox, Safari, Edge, Opera, Brave, Yandex
  • Target multiple platforms: desktop, mobile, tablet with accurate OS and device modeling
  • Support for browser release channels: stable, beta, dev, canary (where applicable)
  • Match real version trains and engine tokens (e.g., CriOS for Chrome on iOS)
  • Full fingerprint simulation: Canvas, WebGL, TLS JA3 hashes, HTTP/2 frames
  • Behavioral biometrics simulation for human-like delays and interactions
  • Proxy rotation with sticky sessions
  • Machine learning based anomaly detection to detect bot-detection signals
  • Drop-in requests-compatible HTTP client (HyperSession) with UA and proxy rotation
  • Fully typed, dependency-minimal, and production-ready

Installation

Requires Python 3.9 or later.

pip install HyperUserAgent

Quick Start

from HyperUserAgent import HyperUA

# Create a HyperUA instance
ua_generator = HyperUA()

# Generate a realistic desktop User-Agent string
ua = ua_generator.create(platform="desktop")
print(ua)

# Generate a mobile Chrome User-Agent
mobile_chrome_ua = ua_generator.create(platform="mobile", browser="chrome")
print(mobile_chrome_ua)

# Using default parameters (random platform and browser weighted by market share)
random_ua = ua_generator.random()
print(random_ua)

# Generate a Chrome Browser User-Agent
chrome_ua = ua_generator.chrome()
print(chrome_ua)

API Reference

HyperUA.create(platform='desktop', browser=None, channel=None, min_version=None) -> str

Generates a realistic User-Agent string with optional controls:

  • platform ('desktop', 'mobile', 'tablet'): Device platform to emulate.
  • browser ('chrome', 'firefox', 'safari', 'edge', 'opera', 'brave', 'yandex'): Browser to emulate.
  • channel ('stable', 'beta', 'dev', 'canary'): Release channel; affects version selection but not UA format.
  • min_version (str): Minimum browser version, e.g., "120.0".

Returns a full User-Agent string matching authentic browser behaviors.

Fingerprint.generate(ua: str, seed=None) -> Fingerprint

Generates fingerprint components that align with the User-Agent string for realistic anti-bot evasion.

HyperSession

An HTTP client with automatic User-Agent rotation, proxy handling, TLS & HTTP/2 fingerprinting, and human-like throttling.

ProxyPool

Proxy manager supporting sticky sessions and rotation from JSON proxy lists.


Contributing

Contributions, bug reports, and feature requests are welcome via GitHub issues and pull requests.


License

This project is licensed under the MIT License — free for personal, academic, and commercial use.


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

hyperuseragent-0.1.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

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

hyperuseragent-0.1.0-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file hyperuseragent-0.1.0.tar.gz.

File metadata

  • Download URL: hyperuseragent-0.1.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for hyperuseragent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fda31541670acd99c17281d24c99e2dc96134b6cf3d883adf4da2f14c56bd1bd
MD5 7e5ee0a95368f345c304238c9e3e5d93
BLAKE2b-256 2eceed7939f2b1c420b04b51e51b0d9a335ca2fdce368307be7f82a4b0549b75

See more details on using hashes here.

File details

Details for the file hyperuseragent-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hyperuseragent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for hyperuseragent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2f9f7364b1f6742267570a2c162dc5cc4d6a99e103b618bbdb4394e3a9456e9a
MD5 02fed49732770d88879117ca9a8245ed
BLAKE2b-256 cb71517703e455b3583337c5bf0fe9c39fc75f207144fee3bdbb748d66614096

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