primp
HTTP client that can impersonate web browsers
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 primpuv
uv add primppoetry
poetry add primpInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
rnetAn HTTP client library with browser…
copyleft · top 15,000 on PyPI
impitImpit provides Python bindings to make HTTP…
permissive · top 5,000 on PyPI
scrapy-impersonateA Scrapy download handler that replaces…
permissive · top 15,000 on PyPI
curl-cfficurl_cffi provides Python bindings to libcurl…
permissive · top 1,000 on PyPI
wafer-pyAn anti-detection HTTP client that handles TLS…
permissive · top 15,000 on PyPI
wreqAn HTTP client library for Python with…
permissive · top 15,000 on PyPI
tls-clientAn HTTP client library that mimics the requests…
permissive · top 5,000 on PyPI
browserforgeGenerates realistic browser headers and device…
permissive · top 5,000 on PyPI
pycookiecheatExtracts and decrypts cookies from Chrome,…
permissive · top 15,000 on PyPI
fake-headersGenerates realistic User-Agent strings and HTTP…
permissive · top 15,000 on PyPI