Path to this page:
./
misc/py-sniffio,
Sniff out which async library your code is running under
Branch: pkgsrc-2020Q3,
Version: 1.1.0,
Package name: py37-sniffio-1.1.0,
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.
Master sites:
SHA1: 32b1bf94b406a003e1e64058646380ee669a9341
RMD160: b7e4a4e9e6761ba5aabbe8839dae683e9c9abf92
Filesize: 14.927 KB
Version history: (Expand)
- (2020-10-10) Package added to pkgsrc.se, version py37-sniffio-1.1.0 (created)