You're writing a library. You've decided to be ambitious, and support multiple async I/O packages, like Trio, and asyncio, and you've written a bunch of clever code to handle all the differences. But how do you know which piece of clever code to run? This is a tiny package whose only purpose is to let you detect which async library your code is running under.
... part of T2, get it here
URL: https://github.com/python-trio/sniffio
Author: Nathaniel J. Smith <njs [at] pobox [dot] com>
Maintainer: The T2 Project <t2 [at] t2-project [dot] org>
License: MIT APL
Status: Stable
Version: 1.3.1
Download: https://files.pythonhosted.org/packages/source/s/sniffio/ sniffio-1.3.1.tar.gz
T2 source: sniffio.cache
T2 source: sniffio.desc
Build time (on reference hardware): 1% (relative to binutils)2
Installed size (on reference hardware): 0.04 MB, 21 files
Dependencies (build time detected): bash coreutils cython diffutils gawk grep gzip openssl python python-gpep517 sed setuptools setuptools-scm tar
Installed files (on reference hardware): n.a.
1) This page was automatically generated from the T2 package source. Corrections, such as dead links, URL changes or typos need to be performed directly on that source.
2) Compatible with Linux From Scratch's "Standard Build Unit" (SBU).