πŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more β†’
Socket
DemoInstallSign in
Socket

idum-proxy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idum-proxy

⚑ High-performance Python proxy server with authentication, load balancing, caching, and multi-protocol support

1.1.2
PyPI
Maintainers
1

Master

IDUM-PROXY

Idum-Proxy is the easiest and quickest way to deploy a web proxy.

License Python Build Status Version

HTTP HTTPS WebSocket SOCKS5 TCP/UDP

✨ Features

Idum-Proxy offers many features:

  • πŸ”’ Protocol Support: Handle HTTP, HTTPS, WebSockets, TCP/UDP, and SOCKS proxies
  • πŸ” Authentication: Support for various auth methods (Basic, Digest, NTLM, Kerberos)
  • πŸ”„ Connection Pooling: Efficient reuse of connections to improve performance
  • βš–οΈ Load Balancing: Distribute traffic across multiple proxies
  • πŸ₯ Health Checking: Automatic detection and recovery from failed proxies
  • πŸ’Ύ Caching: Store and reuse responses for identical requests
  • πŸ”„ Retry Mechanisms: Automatically retry failed requests
  • πŸ”§ Circuit Breaking: Prevent cascading failures
  • πŸ“Š Metrics Collection: Track proxy performance, latency, error rates
  • πŸ” TLS/SSL Termination: Handle encryption/decryption
  • 🌍 IP Rotation: Change public IP addresses for scraping
  • 🎯 Geo-targeting: Route requests through proxies in specific locations

πŸš€ Quick Start

Installation

pip install idum_proxy

Or with uv:

uv add idum_proxy

Basic Usage

from idum_proxy import IdumProxy

if __name__ == "__main__":
    idum_proxy: IdumProxy = IdumProxy(config_file='proxy.json')
    idum_proxy.serve(host='0.0.0.0', port=8091)

πŸ“‹ Configuration Example


{
  "version": "1.0",
  "name": "Simple example",
  "endpoints": [
    {
      "prefix": "/",
      "match": "**/*",
      "backends": {
        "https": {
          "url": "https://jsonplaceholder.typicode.com/posts"
        }
      },
      "upstream": {
        "proxy": {
          "enabled": true
        }
      }
    }
  ]
}

🐳 Docker Usage

docker build -t idum-proxy -f dockerfiles/idum_proxy.Dockerfile .
docker run  -p 8080:8080 idum-proxy

πŸ“„ License

Business Source License 1.1

Keywords

authentication

FAQs

Did you know?

Socket

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.

Install

Related posts