Path to this page:
./
misc/py-sniffio,
Sniff out which async library your code is running under
Branch: CURRENT,
Version: 1.3.1,
Package name: py312-sniffio-1.3.1,
Maintainer: pkgsrc-usersYou'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.
Required to run:[
devel/py-setuptools] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 19.895 KB
Version history: (Expand)
- (2024-11-11) Updated to version: py312-sniffio-1.3.1
- (2024-02-26) Updated to version: py311-sniffio-1.3.1
- (2022-10-13) Updated to version: py310-sniffio-1.3.0
- (2022-01-05) Updated to version: py39-sniffio-1.2.0nb1
- (2021-10-07) Updated to version: py39-sniffio-1.2.0
- (2020-10-13) Updated to version: py37-sniffio-1.2.0
CVS history: (Expand)