# fake-useragent/fake-useragent

Up-to-date simple useragent faker with real world database

Repository: https://github.com/fake-useragent/fake-useragent
Canonical: https://ross.abutalabs.com/products/fake-useragent
Homepage: https://pypi.python.org/pypi/fake-useragent
Language: Python
License: Apache-2.0
License Family: permissive
Topics: python, python3, user, agent, fake, faker, scraping, user-agent, user-agent-spoofer, useragent, useragent-scraper
Archived: true
Last push: 2026-03-29T06:21:14+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 74, release rhythm 40, longevity 100
- inputs: {"age_days": 4930, "days_push": 157, "days_rel": 506, "gap_med": 2, "n_releases_24m": 6}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4049, forks 538 (observed 2026-08-28T04:08:33.789475+00:00)

## What it is
A Python library that generates realistic, up-to-date browser user-agent strings from a bundled real-world database. It supports random or browser-specific agents across desktop, tablet, and mobile device types with rich metadata.

## Use cases
- generate random user-agent strings for web scraping
- rotate user agents to avoid bot detection
- get a Chrome or Firefox user agent in Python
- fake mobile or tablet user agents in requests
- pick realistic user agents weighted by real-world usage
- get user agent metadata like OS and browser version

## When to choose
- you need realistic, frequently updated user-agent strings for scraping or testing
- you want per-browser or per-device-type user agents with metadata
- you want the data bundled in the package with no runtime downloads

## When to avoid
- you need full browser fingerprint spoofing beyond the user-agent header
- you are not working in Python
- you need guaranteed anonymity or anti-bot evasion, which this alone does not provide

## Facets
- artifact type: library
- maturity: active
- function: data-generation, web-scraping, http-client
- domain: crawlers, web-development, developer-tools
- platform: python, cross-platform
- tags: user-agent, faker, scraping, browser-spoofing

## Member repositories
- fake-useragent/fake-useragent (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:33.789475+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:41.151787+00:00, confidence not recorded.
  - readme: https://github.com/fake-useragent/fake-useragent (fetched 2026-08-28T04:08:33.789475+00:00, sha 6316ccbadeba)
  - homepage: https://pypi.python.org/pypi/fake-useragent (fetched 2026-08-29T09:16:00.787494+00:00, sha 1a82b6f693fe)
  - registry_pypi: https://pypi.org/pypi/fake-useragent/json (fetched 2026-08-29T09:16:00.796315+00:00, sha 207a1b9273e2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
