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
Release history Release notifications | RSS feed
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 hyperuseragent-1.0.0.tar.gz.
File metadata
- Download URL: hyperuseragent-1.0.0.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a27fbae4a9689409d54cecafc71d22f18061840021000b0bbe8228270658614
|
|
| MD5 |
6632139e7dc0303808d92d167b00de92
|
|
| BLAKE2b-256 |
80a1632bc99de8dda08a331e55165df4ec3e651035ebf2d9a89bbefb619b44c7
|
File details
Details for the file hyperuseragent-1.0.0-py3-none-any.whl.
File metadata
- Download URL: hyperuseragent-1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dc13cdf8be3d80ce7d00432c429cf782ec2d9f36718c47dd65380477e2a5775
|
|
| MD5 |
219393bce7724a6414dc76da7b43e902
|
|
| BLAKE2b-256 |
b93ca1a8d73dbd674e8de057fa48e26dbd1214f176e7937e10e5597cb11fe101
|