{"categories":[{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking/2"}],"enrichment":{"capability":"aiofastnet replaces asyncio's transport and protocol layer with optimized C/Cython implementations to accelerate networking operations, especially SSL/TLS connections, while remaining compatible with standard asyncio, uvloop, and winloop event loops.","skillfed_tags":["asyncio-performance","ssl-optimization","drop-in-overlay"],"use_cases":["Accelerate aiohttp, asyncpg, websockets, or uvicorn applications without changing application code.","Optimize SSL/TLS-heavy workloads such as secure HTTP or database connections where transport overhead dominates.","Enable efficient FileResponse sendfile over SSL connections in aiohttp using Kernel TLS on Linux.","Improve throughput in library code (WebSocket, HTTP, RPC, proxy, database) by patching the event loop once.","Run free-threaded Python builds with multiple event loops across threads and scale networking performance."],"what_it_does":"aiofastnet is a C/Cython reimplementation of asyncio's transport and protocol layer that intercepts and accelerates low-level networking operations. It works as a drop-in overlay on top of existing asyncio, uvloop, or winloop event loops\u2014you install it and call install_policy(), loop_factory(), or patch_loop() to enable it, then all libraries using asyncio networking automatically benefit from the faster implementation.\n\nThe package replaces asyncio's internal methods for connection creation, socket operations, and TLS handling with optimized versions that reduce overhead on long-lived connections. According to the description, it achieves up to 2.7x speedup over standard asyncio and up to 1.6x over uvloop for TLS workloads. It also supports Kernel TLS on Linux and provides safer buffer handling for transport write operations, avoiding data corruption if application code modifies buffers after write() returns.","worth_installing":"Yes, with conditions. aiofastnet is actively maintained, has no known vulnerabilities, and offers measurable performance gains for asyncio-based applications\u2014especially those using SSL or long-lived connections. However, verify the license terms before use, as the metadata does not declare a license. If you run asyncio networking workloads (aiohttp, asyncpg, websockets, uvicorn), installing it is a low-friction way to gain performance without refactoring."},"id":"aiofastnet","links":{"html":"https://skillfed.io/packages/aiofastnet","md":"https://skillfed.io/packages/aiofastnet.md","pypi":"https://pypi.org/project/aiofastnet/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-13","license_spdx":null,"license_treatment":"unclear","name":"aiofastnet","python_support":"supports_current","summary":"Fast transport/protocol networking for asyncio"},"popularity":{"monthly_downloads":139147,"position":11306,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
