pip install sniffio==1.2.0

Sniff out which async library your code is running under

Source
Among top 1000 packages on PyPI.
Over 23.8M downloads in the last 90 days.

Commonly used with sniffio

Based on how often these packages appear together in public requirements.txt files on GitHub.

h11

A pure-Python, bring-your-own-I/O implementation of HTTP/1.1

multidict

multidict implementation

async-timeout

Timeout context manager for asyncio programs

yarl

Yet another URL library

hstspreload

Chromium HSTS Preload list as a Python package and updated daily

chardet

Universal encoding detector for Python 2 and 3

outcome

Capture the outcome of Python function calls.

confusables

A python package providing functionality for matching words that can be confused for eachother, but contain different characters

httpcore

A minimal low-level HTTP client.

anyio

High level compatibility layer for multiple asynchronous event loop implementations

wimpy

Anti-copy-pasta

urllib3

HTTP library with thread-safe connection pooling, file post, and more.

websockets

An implementation of the WebSocket Protocol (RFC 6455 & 7692)

laughs

Pulls jokes from various APIs

container-app-conf

Convenient configuration of containerized applications

py-range-parse

Parses commonly used range notations to python objects

loguru

Python logging made (stupidly) simple

tallywallet-common

A currency trading ledger in Python

turberfield-utils

Reusable modules from the Turberfield project.

Version usage of sniffio

Proportion of downloaded versions in the last 3 months (only versions over 1%).

1.2.0

97.80%

1.1.0

1.74%