asyncio-https-proxy
An embeddable, asyncio-based HTTPS forward proxy server with built-in request and response interception capabilities. Designed to be integrated directly into your Python applications rather than run as a standalone service.
It's designed to be a lightweight, flexible solution for developers needing to proxy HTTP and HTTPS traffic within their applications, with full support for SSL/TLS interception. Developer keep control over the outgoing requests and responses allowing to use custom logic for modifying, logging, blocking traffic and even custom TLS fingerprinting.
The library is built using Python's asyncio framework, making it suitable for high-performance, asynchronous applications.
The library manages its own Certificate Authority (CA) to dynamically generate and sign certificates for intercepted HTTPS traffic.
It's a fundation layer for building your own proxy-based tools.
Features
- Embeddable: Integrate proxy functionality directly into your Python application
- Asyncio-native: Built with Python's asyncio for seamless integration with async applications
- HTTPS/SSL support: Full SSL/TLS interception
- Certificate generation: Dynamically generate and sign certificates for intercepted HTTPS traffic
- Request/Response interception: Modify, log, or block HTTP(S) traffic in real-time
- Lightweight: Pure Python implementation with only cryptography as a direct external dependency
- Optional implementation of forward proxy: The implementation to forward HTTP request can be replace in order to use different HTTP client implementation
Use Cases
- Web scraping frameworks with request modification and custom TLS fingerprinting support
- Testing frameworks with traffic interception
- Security tools and traffic analysis
- Development tools requiring HTTP(S) proxying
- Custom cache or logging solutions
- Fault injection and network simulation
- Research and educational purposes
Documentation
Document is available here: https://asyncio-https-proxy.readthedocs.io/en/latest/
Metadata
Release files for asyncio-https-proxy 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asyncio_https_proxy-0.1.1.tar.gz | 27.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asyncio_https_proxy-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.9 kB
Release files / asyncio_https_proxy-0.1.1.tar.gz
| Download URL | asyncio_https_proxy-0.1.1.tar.gz |
|---|---|
| Size | 27.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3484bde1ec70410c132a5acc12ad5d35ba3982a5b2575718710f926971755a96
|
|
BLAKE2b-256 checksum How to use checksums |
3a77a3382049ba14f1c8bf8f7dc8a52a177c8f62ed6c9ac2308365dee04b1962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.17
|
Release files / asyncio_https_proxy-0.1.1-py3-none-any.whl
| Download URL | asyncio_https_proxy-0.1.1-py3-none-any.whl |
|---|---|
| Size | 18.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96844aff876e043e71d93c8274212bc977f9fa30764f0869553c98378a2cfcc5
|
|
BLAKE2b-256 checksum How to use checksums |
985a315195bbb1b25aa5d3445a322b7d2c2d53f5fc4b8bbe17329f53483cb1b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.17
|