asysocks
Decision gist · record as of 2026-08-14
Yes, if you need async proxy client/server functionality in pure Python. The permissive MIT license, low install friction, and lack of known vulnerabilities make it safe to use. The aging maintenance status is a minor concern for new projects, but the stable API and active repository suggest it is not abandoned. Suitable for pentesting tools, proxy-aware applications, and network utilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later; asyncio event loop must be running to use the client.
- Low install friction with a pure-Python wheel distribution.
- Maintenance status is aging—last release was 289 days ago—but the repository remains active and unarchived.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) allows unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
last release 2025-10-29 (289 days) · last repo commit 2025-10-29 · 71 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 121,123 downloads/mo, #11,993 on PyPI
Alternatives
Verify before relying
pip install asysocks
from asysocks.client import SOCKSClient
client = SOCKSClient()
await client.connect('proxy_host', proxy_port, 'target_host', target_port)- Whether the 'security' component mentioned in the description is actually implemented or remains TBD
- Performance characteristics and concurrency limits under load
- Exact port and host values for typical proxy configurations
What it is and what it does
asysocks is a pure-Python library for building proxy-aware applications using SOCKS5, SOCKS4, and HTTP proxy protocols asynchronously. It provides both client and server implementations that can be embedded in your own code or used via command-line tools. The client supports two modes: a listener that creates a local TCP server to tunnel connections through a proxy (useful when you cannot modify the target application), and a queue mode where you pass asyncio.Queue objects to handle proxy communication within your own async code.
The library depends on asn1crypto, cryptography, and h11 for protocol handling and cryptographic operations. It includes built-in tools for common tasks like port scanning through proxies, SOCKS5 authentication testing, and running a standalone proxy server with traffic monitoring. The project is maintained but aging—last updated 289 days ago—and has a modest user base.
Use it for
- Tunnel connections from proxy-unaware applications through SOCKS/HTTP proxies without modifying the application itself
- Implement proxy support in async Python scripts using queue-based communication with a proxy server
- Run a SOCKS4/SOCKS5/HTTP proxy server with traffic monitoring and interception capabilities
- Perform port scanning or network reconnaissance through existing proxy infrastructure
- Test SOCKS5 authentication mechanisms with the built-in bruteforcer tool
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need async proxy client/server functionality in pure Python.
The permissive MIT license, low install friction, and lack of known vulnerabilities make it safe to use. The aging maintenance status is a minor concern for new projects, but the stable API and active repository suggest it is not abandoned. Suitable for pentesting tools, proxy-aware applications, and network utilities.
Install
asysocks on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last release was 289 days ago—but the repository remains active and unarchived.
Requires Python 3.6 or later; asyncio event loop must be running to use the client.
License in practice
MIT license (permissive) allows unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
Quickstart
pip install asysocks
from asysocks.client import SOCKSClient
client = SOCKSClient()
await client.connect('proxy_host', proxy_port, 'target_host', target_port)
Verify before relying
- Whether the 'security' component mentioned in the description is actually implemented or remains TBD
- Performance characteristics and concurrency limits under load
- Exact port and host values for typical proxy configurations
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesasn1cryptocryptographyh11 |
| Maintenance | Aging 289 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 121,123 / month, #11,993 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.6 |
Evidence: asysocks-0.2.18-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “socks proxy client server”
- asysocksAsynchronous SOCKS5, SOCKS4, and HTTP proxy client and server library…
- httpx-socksAdds SOCKS4(a), SOCKS5(h), and HTTP CONNECT proxy support to httpx…
- PySocksPySocks provides a SOCKS and HTTP proxy client that acts as a drop-in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
psutil retrieves real-time information about running processes and system resources (CPU, memory, disks, network, sensors) across multiple operating systems, enabling system monitoring, process profiling, and resource management.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
uvloop is a drop-in replacement for Python's built-in asyncio event loop, implemented in Cython and using libuv, that accelerates async I/O operations.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
PyZMQ provides Python bindings for ZeroMQ (ØMQ), a lightweight messaging library that enables fast, asynchronous communication between distributed processes and applications.
See also PySocks · pproxy · socksio · httpx-socks · aiohttp_socks · python-socks · SocketSwap · minikerberos · websockets-proxy · httpcore2