PySocks is a core SOCKS client module that provides a socket wrapper supporting SOCKS4, SOCKS5, and HTTP proxy tunneling. The current version is 1.7.1. Releases are infrequent and focus on maintenance.
pip install PySocksNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates monkey-patching socket to route all traffic through a SOCKS5 proxy.
Use socks.socksocket directly for individual sockets instead of setting socket.socket
pip install PySocks and import socks; uninstall the stub package: pip uninstall socks
Use SOCKS5 proxy type if authentication is needed.
No dependency data recorded yet.