
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
impit
for Pythonimpit
is a Python package that provides bindings for the impit
library.
It allows you to switch the TLS fingerprints and the HTTP headers of your requests, while still using the same API as httpx
or requests
.
pip install impit
Operating System | Architecture | libc implementation | Prebuilt wheels available on PyPI |
---|---|---|---|
Linux | x86_64 | glibc | ✅ |
Linux | x86_64 | musl | ✅ |
macOS | x86_64 | N/A | ✅ |
Windows | x86_64 | N/A | ✅ |
macOS | arm64 | N/A | ✅ |
Windows | arm64 | N/A | ✅ |
Linux | arm64 | musl | ✅ |
Linux | arm64 | glibc | ❌* |
*The prebuilt binaries for Linux on arm64 with glibc
are WIP and not available as prebuilt wheels on PyPI yet. You can build the package from sources in this repository.
import asyncio
from impit import AsyncClient
async def main():
impit = AsyncClient(http3=True, browser='firefox')
response = await impit.get(
"https://example.com",
);
print(response.status_code)
print(response.text)
print(response.http_version)
asyncio.run(main())
Impit implements the HTTPX client interface, so you can use it as a drop-in replacement for httpx.AsyncClient
.
Note that the implementation is partial and some features may not be supported yet.
FAQs
A library for making HTTP requests through browser impersonation
We found that impit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.