$npx skillfedfor your agent

latest-user-agents

Get the latest user agent strings for major browsers and OSs

With conditionsPyPI WWW/HTTPReleased Jan 202584.4K downloads / mopermissive licenseSource build

Decision gist · record as of 2026-08-14

sdist only — latest_user_agents-0.0.5.tar.gz · builds from source
v0.0.5 · released 2025-01-24 · 2 runtime deps: platformdirs, requests

Yes, if you need current user agent strings and can tolerate dormant maintenance. The package is simple, has no known vulnerabilities, and carries a permissive MIT license. However, verify that the agent data is fresh enough for your use case—567 days since the last release means browser versions in the list may be outdated. High install friction (two dependencies) is minor for most projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • High install friction due to two runtime dependencies (platformdirs, requests).
  • Maintenance is dormant—last release was 567 days ago, though the repository remains active with a recent commit on 2025-01-24.
  • No security vulnerabilities reported.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute freely with minimal restrictions.

last release 2025-01-24 (567 days) · last repo commit 2025-01-24 · 29 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,409 downloads/mo, #13,998 on PyPI

Verify before relying

pip install latest-user-agents

from latest_user_agents import get_latest_user_agents, get_random_user_agent

agents = get_latest_user_agents()
random_agent = get_random_user_agent()
  • How frequently user agent data is refreshed and whether it stays current with new browser releases
  • Whether the package caches fetched agents locally or always queries fresh data
  • Performance impact of network calls when retrieving user agents
Same gist for agents: .md · .json

What it is and what it does

latest-user-agents is a lightweight wrapper that retrieves current user agent strings for major browsers (Firefox, Chrome, Safari, Edge) across common operating systems (macOS, Windows, Linux). It exposes two main functions: get_latest_user_agents() returns a list of current user agent strings, and get_random_user_agent() picks one at random from that list.

The package depends on platformdirs and requests to fetch and cache agent data. It's useful for web scraping, API testing, or any scenario where you need realistic, up-to-date user agent headers. The library is marked Production/Stable and supports Python 3.9 through 3.13, though maintenance is dormant—the last release was over a year and a half ago, so agent strings may lag behind the newest browser versions.

Use it for

  • Web scraping: rotate realistic user agents to avoid detection and blocking
  • API testing: simulate requests from different browsers and OS combinations
  • Load testing: generate varied user agent headers for realistic traffic simulation
  • Bot development: supply authentic-looking user agents to web automation scripts

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need current user agent strings and can tolerate dormant maintenance.

The package is simple, has no known vulnerabilities, and carries a permissive MIT license. However, verify that the agent data is fresh enough for your use case—567 days since the last release means browser versions in the list may be outdated. High install friction (two dependencies) is minor for most projects.

Install

latest-user-agents on PyPI

Before you install

High install friction due to two runtime dependencies (platformdirs, requests). Maintenance is dormant—last release was 567 days ago, though the repository remains active with a recent commit on 2025-01-24. No security vulnerabilities reported.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute freely with minimal restrictions.

Quickstart

pip install latest-user-agents

from latest_user_agents import get_latest_user_agents, get_random_user_agent

agents = get_latest_user_agents()
random_agent = get_random_user_agent()

Verify before relying

  • How frequently user agent data is refreshed and whether it stays current with new browser releases
  • Whether the package caches fetched agents locally or always queries fresh data
  • Performance impact of network calls when retrieving user agents

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependencies
2 packages
platformdirsrequests
MaintenanceDormant 567 days since the last release
Last repo commit
First released
Downloads84,409 / month, #13,998 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP

Evidence: latest_user_agents-0.0.5.tar.gz

Tags

Capabilities
user agent stringsbrowser user agentslatest user agentsrandom user agentuser agent generatorweb scraping headershttp user agent
Topics
web-scrapinguser-agentshttp-headers

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “user agent strings”

  • latest-user-agentsFetches and provides current user agent strings for major browsers…
  • random-user-agentProvides random user agent strings filtered by operating system,…
  • fake-useragentGenerates random or browser-specific user-agent strings from a…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also user-agent · fake-useragent · ua-parser · fake-headers · httpagentparser · ua-generator · random-user-agent · fake-http-header · device-detector · user-agents

Further reading