{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/2"}],"enrichment":{"capability":"Provides SOCKS4(a), SOCKS5(h), and HTTP CONNECT proxy client functionality with both synchronous and asynchronous (asyncio, trio, anyio) APIs for Python.","skillfed_tags":["proxy-client","socks-protocol","async-networking"],"use_cases":["Route HTTP/HTTPS requests through a SOCKS5 proxy in a synchronous application by wrapping the returned socket with ssl and sending raw HTTP requests.","Build an async HTTP client that tunnels connections through multiple chained proxies using asyncio or trio event loops.","Establish encrypted connections to remote hosts via an HTTP CONNECT proxy for scenarios where SOCKS is unavailable.","Test network applications against different proxy types (SOCKS4, SOCKS5, HTTP CONNECT) without modifying application code.","Integrate proxy support into socket-based HTTP libraries by subclassing connection classes to use proxy.connect()."],"what_it_does":"python-socks is a low-level proxy client library that handles the protocol details of connecting through SOCKS4, SOCKS4a, SOCKS5, and HTTP CONNECT proxies. It returns standard Python sockets (or async equivalents) that you can then use with your own networking code or higher-level libraries. The package is designed to be used internally by higher-level HTTP client wrappers, but can also be used directly when you need fine-grained control over proxy connections.\n\nThe library offers three API styles: synchronous blocking sockets, and asynchronous support for asyncio, trio, and anyio frameworks. It supports proxy chaining (routing through multiple proxies in sequence) and works across macOS, Windows, and Linux. Since it has no required runtime dependencies, installation is straightforward, and you can opt into async support by installing extras only when needed.","worth_installing":"Yes. The package is actively maintained, has zero known vulnerabilities, supports Python >= 3.9, and carries a permissive Apache-2.0 license. Low install friction and no required dependencies make adoption straightforward. Install it if you need direct control over proxy connections or are building a library that wraps proxy functionality."},"id":"python-socks","links":{"html":"https://skillfed.io/packages/python-socks","md":"https://skillfed.io/packages/python-socks.md","pypi":"https://pypi.org/project/python-socks/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-11","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"python-socks","python_support":"supports_current","summary":"Proxy (SOCKS4, SOCKS5, HTTP CONNECT) client for Python"},"popularity":{"monthly_downloads":6467477,"position":1905,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.0.0"}
