aiohappyeyeballs

2.6.1 · active · verified Mon Apr 06

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.

Common errors

Warnings

Install

Imports

Quickstart

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())

view raw JSON →