{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/3"}],"enrichment":{"capability":"Generates realistic, randomized user-agent strings for modern browsers and platforms without external dependencies or downloads.","skillfed_tags":["web-scraping","http-headers","testing"],"use_cases":["Rotate realistic user-agents in web scrapers to avoid detection and blocking","Test HTTP client libraries and servers with varied user-agent strings and Client Hints","Integrate randomized user-agents into Selenium automation to mimic real browser behavior","Generate matching user-agent and Sec-CH-UA headers for modern web requests","Populate test fixtures with realistic browser/platform combinations"],"what_it_does":"ua-generator creates randomized user-agent strings that mimic real browsers and devices without relying on external data sources or downloads. The package hardcodes browser and platform versions based on actual releases, allowing you to generate strings for specific combinations of device type (desktop/mobile), platform (Windows, macOS, iOS, Linux, Android), and browser (Chrome, Edge, Firefox, Safari). It also generates corresponding Client Hints headers (Sec-CH-UA fields) that match the user-agent, making it suitable for integration with HTTP libraries like requests, httpx, urllib, and Selenium.\n\nThe package has no runtime dependencies and requires only Python 3.9 or later. You can customize generation with options like weighted version selection (favoring newer versions), version ranges, and latest-version-only filtering. The generated output includes the user-agent string itself, parsed metadata (platform, browser), and a headers helper that constructs a complete dictionary of HTTP headers ready to pass to requests or other HTTP clients.","worth_installing":"Yes. The package is lightweight, dependency-free, actively maintained, and solves a common need in web automation and testing. It covers modern browsers and platforms with hardcoded versions and includes Client Hints support. The recent release cycle and zero vulnerabilities make it a low-risk choice."},"id":"ua-generator","links":{"html":"https://skillfed.io/packages/ua-generator","md":"https://skillfed.io/packages/ua-generator.md","pypi":"https://pypi.org/project/ua-generator/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-02","license_spdx":null,"license_treatment":"permissive","name":"ua-generator","python_support":"supports_current","summary":"A random user-agent generator"},"popularity":{"monthly_downloads":952670,"position":4652,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.1.3"}
