Installation¶
proxy-string requires Python 3.12 or newer.
Basic Installation¶
Install the library using your package manager of choice:
By default, proxy-string includes pywhatwgurl (a pure Python WHATWG URL compliant parser), allowing the package to install effortlessly in any environment without requiring a C++ compiler.
Optional High-Speed Backends¶
For maximum URL parsing throughput (e.g. in high-load scrapers or proxy pool verifiers), install optional C++ WHATWG URL parsing engines:
Backend Priority¶
When URL parsing is invoked, proxy-string checks available engines and automatically selects the fastest installed backend in the following order:
can-ada(C++ Ada URL binding, fastest)ada-url(C++ Ada URL binding)pywhatwgurl(Pure Python fallback, default)
You can check which backend is currently active at runtime: