{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/13"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"}],"enrichment":{"capability":"Generates random, valid web user agent strings for HTTP headers and browser navigator objects across multiple operating systems and browsers.","skillfed_tags":["web-scraping","testing","user-agent"],"use_cases":["Rotate user agents in web scrapers to avoid bot detection and IP blocking","Generate realistic navigator objects for browser automation and headless testing","Simulate diverse client environments in load testing and stress testing scenarios","Populate User-Agent headers in HTTP requests for web crawlers and API clients","Test web applications' handling of different browsers and operating systems"],"what_it_does":"user_agent is a library for generating realistic, randomized user agent strings and navigator object properties. It produces valid HTTP User-Agent header content and JavaScript navigator object data across a range of browsers and operating systems. The package exposes functions like generate_user_agent() and generate_navigator() that return either raw strings or structured dictionaries, and includes a command-line tool (ua) for one-off generation.\n\nThe library is commonly used in web scraping, web crawling, and testing scenarios where rotating or spoofing user agents helps avoid detection or simulate diverse client environments. It depends on six and pytz for Python 2/3 compatibility and timezone handling. The package supports Python 2.7 through 3.13, though its aging maintenance status means the underlying user agent database may lag behind the latest browser releases.","worth_installing":"Yes, if you need basic user agent generation for web scraping or testing. The low install friction, permissive MIT license, and broad Python version support make it straightforward to add. However, be aware that maintenance is aging (338 days since last release) and the user agent database may not reflect the latest browser versions\u2014verify that generated agents match your target environment before relying on it for production bot detection evasion."},"id":"user-agent","links":{"html":"https://skillfed.io/packages/user-agent","md":"https://skillfed.io/packages/user-agent.md","pypi":"https://pypi.org/project/user-agent/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-09-10","license_spdx":null,"license_treatment":"permissive","name":"user-agent","python_support":"supports_current","summary":"Library to build content for User-Agent HTTP header"},"popularity":{"monthly_downloads":315880,"position":7683,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.14"}
