--- id: primp version: "1.3.1" license: MIT License license_treatment: permissive maintenance: active --- # primp — HTTP client that can impersonate web browsers License: permissive · Maintenance: active · Downloads: 11.7M/mo ## What it is and what it does Primp is an HTTP client written in Rust with Python bindings that allows you to make web requests while impersonating specific browser profiles. Rather than sending generic Python HTTP headers that identify your requests as automated, primp lets you specify a browser (Chrome, Firefox, Safari, Edge, or Opera) and version, and it mimics that browser's TLS handshake, HTTP headers, and other fingerprinting signals. This makes requests appear to come from a real browser, which can help bypass basic bot detection and fingerprinting checks. The library provides both synchronous and asynchronous APIs for making requests. It has no runtime dependencies and is distributed as prebuilt wheels for most platforms, though it requires Python 3.10 or later. The package is actively maintained, recently released, and has no known security vulnerabilities. It's designed for educational purposes and web scraping scenarios where you need to appear as a legitimate browser client. Use it for: - Web scraping sites that block or throttle requests from non-browser user agents. - Testing web applications to ensure they handle requests from various real browser versions correctly. - Bypassing basic TLS and HTTP/2 fingerprinting detection used by anti-bot systems. - Automating interactions with websites that require browser-like request patterns. - Researching how different browsers present themselves over the network. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. HTTP client library that mimics real web browsers by impersonating specific browser profiles, enabling requests that bypass detection and fingerprinting. Yes, if you need to make HTTP requests that appear to come from real browsers. The package is actively maintained, has no security vulnerabilities, and offers a straightforward API with both sync and async support. Medium install friction is acceptable given the prebuilt wheels. Primary consideration: use only for legitimate purposes such as web scraping sites you own or have permission to access, or for testing your own applications. ## Install pip install primp uv add primp poetry add primp ## Installing primp Before you install: Medium install friction due to compiled Rust bindings, but prebuilt wheels cover all major platforms and Python versions from 3.10 onward. Active maintenance with recent releases and no known vulnerabilities. License in practice: MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice. Quickstart: import primp client = primp.Client(impersonate="chrome_146") resp = client.get("https://example.com") print(resp.text) Requires Python 3.10 or later; compiled Rust extension may require build tools if installing from source rather than prebuilt wheels. Verify before relying: - Whether impersonation profiles remain effective against evolving anti-bot detection systems. - Performance characteristics and overhead compared to standard HTTP clients. - Specific TLS/HTTP2 fingerprinting techniques used and their robustness. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 11.7M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags browser impersonation http client, tls fingerprint spoofing, bypass browser detection, http client with browser profiles, web scraping with browser headers, chrome firefox safari impersonate, anti-bot http requests, browser-impersonation, web-scraping, rust-binding [View on SkillFed](https://skillfed.io/packages/primp) · [View on PyPI](https://pypi.org/project/primp/)