Registry / http-networking / aiohappyeyeballs

aiohappyeyeballs

JSON →
library2.7.1pypypi✓ verified 25d ago

Happy Eyeballs for asyncio, currently at version 2.6.1. The library is actively maintained and facilitates easy connection establishment with fallback strategies using asyncio.

pip install aiohappyeyeballs
INSTALL
IMPORT
SIG · AIOHAPPYEYEBALLS
A
aiohappyeyeballs
http-networkingpythonv2.7.1
Install
1.6s avg
Import
208ms
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.7.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.226s · 17.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.190s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

start_connection
from aiohappyeyeballs import start_connection
from aiohappyeyeballs import HappyEyeballs
AddrInfoType
from aiohappyeyeballs import AddrInfoType
SocketFactoryType
from aiohappyeyeballs import SocketFactoryType

Basic usage of HappyEyeballs to resolve an address asynchronously.

import asyncio from aiohappyeyeballs import HappyEyeballs async def main(): resolver = HappyEyeballs() addr = await resolver.resolve('example.com') print(addr) asyncio.run(main())
Debug
Known issues
breakingImport paths have changed in v2.5.0. Ensure you import using the new structure.
fix
Update import statements to use 'from aiohappyeyeballs import HappyEyeballs'.
affects: <2.5.0
gotchaPython versions below 3.9.2 may lead to a TypeError during import.
fix
Upgrade Python to 3.9.2 or higher.
affects: <3.9.2
Upgrade
Version history
2.7.1latest on PyPI · released Jul 1, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
71 hits · last 30 days
node
64
OpenAI (training)
1
Resources
aiohappyeyeballs — pip install aiohappyeyeballs · libregistry