Skip to main content

proxyverge-utils

Zero-dependency Python library & CLI for parsing proxy strings, converting formats (requests, httpx, Playwright, cURL, url), and checking exit IP / proxy header leaks.

Install

pip install proxyverge-utils

Quick Start

from proxyverge_utils import parse_proxy, format_proxy, convert_batch, check_ip

# Parse colon-delimited strings (including passwords with special characters)
cfg = parse_proxy("198.51.100.10:8080:alice:p@ss:w/rd#1")

# Percent-encoded URL for httpx
httpx_url = format_proxy(cfg, "httpx")
# 'http://alice:p%40ss%3Aw%2Frd%231@198.51.100.10:8080'

# Dict ready for requests.get(..., proxies=...)
req_proxies = format_proxy("198.51.100.10:8080:alice:secret", "requests")

# Playwright proxy dict
pw_proxy = format_proxy("198.51.100.10:8080:alice:secret", "playwright")
# {'server': 'http://198.51.100.10:8080', 'username': 'alice', 'password': 'secret'}

# DNS-leak-safe cURL command for SOCKS5 (--socks5-hostname)
curl_cmd = format_proxy("198.51.100.10:1080:alice:secret", "curl", default_protocol="socks5")

# Batch conversion (skips empty lines and # comments)
urls = convert_batch("""
# Pool
198.51.100.10:8080:u1:p1
u2:p2@198.51.100.11:9000
""", fmt="url")

# Check exit IP, ASN, country, and leaked proxy headers
info = check_ip()
print(info["ip"], info["country"], info["asn"], info["has_proxy_headers"])

CLI Usage

proxyverge-utils convert "198.51.100.10:8080:user:p@ss" --format playwright
proxyverge-utils convert "198.51.100.10:1080:user:pass" --protocol socks5 --format curl
proxyverge-utils check-ip

License

MIT

Metadata

Release files for proxyverge-utils 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proxyverge-utils 1.0.0
File Size Uploaded Provenance Actions
proxyverge_utils-1.0.0.tar.gz 7.4 kB Without provenance Details for proxyverge_utils-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for proxyverge-utils 1.0.0
File Interpreter ABI Platform Actions
proxyverge_utils-1.0.0-py3-none-any.whl Python 3 none any Details for proxyverge_utils-1.0.0-py3-none-any.whl

Total release size: 14.7 kB

Release files / proxyverge_utils-1.0.0.tar.gz

Download URL proxyverge_utils-1.0.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
77392f9c6eea426b108533d9d45921726d0bef888ad151b29c4a5f488a4ab833
BLAKE2b-256 checksum
How to use checksums
1e6a7bb035c5347798f8aa849409b3c9752530fd4133df68ed693c70da7a063a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / proxyverge_utils-1.0.0-py3-none-any.whl

Download URL proxyverge_utils-1.0.0-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
48a7da33069e02c942df7407b22226499b28d15444e461a0179d9eb1084dee68
BLAKE2b-256 checksum
How to use checksums
ea04570e6aa39d7eb745352c91c9838366807fa9123bc42bc0616b4ed0bf811a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Security for proxyverge-utils 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page