skillfed

primp

HTTP client that can impersonate web browsers

primp v1.3.1 11.7M downloads/30d#1,373 on PyPI573
Permissive license MIT License Active released

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 on this page — 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

primp on PyPI

pip

pip install primp

uv

uv add primp

poetry

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 the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 83 days since the last release
Last repo commit
First released
Downloads 11,654,279/month — #1,373 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: primp-1.3.1-cp310-abi3-macosx_10_12_x86_64.whl; primp-1.3.1-cp310-abi3-macosx_11_0_arm64.whl; primp-1.3.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; primp-1.3.1-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; primp-1.3.1-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl; primp-1.3.1-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; primp-1.3.1-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl; primp-1.3.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; primp-1.3.1-cp310-abi3-musllinux_1_2_aarch64.whl; primp-1.3.1-cp310-abi3-musllinux_1_2_armv7l.whl; primp-1.3.1-cp310-abi3-musllinux_1_2_i686.whl; primp-1.3.1-cp310-abi3-musllinux_1_2_x86_64.whl; primp-1.3.1-cp310-abi3-win32.whl; primp-1.3.1-cp310-abi3-win_amd64.whl; primp-1.3.1-cp310-abi3-win_arm64.whl; primp-1.3.1-cp314-cp314t-macosx_10_12_x86_64.whl; primp-1.3.1-cp314-cp314t-macosx_11_0_arm64.whl; primp-1.3.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; primp-1.3.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; primp-1.3.1-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl

Keywords: python, request, impersonate

Programming 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.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: RustTopic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python Modules

Tags

browser impersonation http clienttls fingerprint spoofingbypass browser detectionhttp client with browser profilesweb scraping with browser headerschrome firefox safari impersonateanti-bot http requests
browser-impersonationweb-scrapingrust-binding

More Python Modules packages