primp
HTTP client that can impersonate web browsers
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; compiled Rust extension may require build tools if installing from source rather than prebuilt wheels.
- 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 · maintenance · safety
MIT License (permissive) — 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.
last release 2026-05-23 (83 days) · last repo commit 2026-07-28 · 573 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,654,279 downloads/mo, #1,373 on PyPI
Alternatives
Verify before relying
import primp
client = primp.Client(impersonate="chrome_146")
resp = client.get("https://example.com")
print(resp.text)- 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.
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 on it.
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
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.
Requires Python 3.10 or later; compiled Rust extension may require build tools if installing from source rather than prebuilt wheels.
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)
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 |
| Classifiers | 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 |
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
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “http client with browser profiles”
- primpHTTP client library that mimics real web browsers by impersonating…
- wreqAn HTTP client library for Python with customizable TLS and HTTP/2…
- scrapy-impersonateA Scrapy download handler that replaces HTTP/HTTPS requests with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also rnet · impit · scrapy-impersonate · curl-cffi · wafer-py · wreq · tls-client · browserforge · pycookiecheat · fake-headers