BSD Ports

misc/py-sniffio 1.3.1nb1 NetBSD

Sniff out which async library your code is running under

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
misc, python
Package size
13.0 KiB, 40.0 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDmisc/py-sniffio1.3.1nb1
DragonFlydevel/py-sniffio1.3.1

Install

Binary package:

pkgin install py311-sniffio

From pkgsrc:

cd /usr/pkgsrc/misc/py-sniffio && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3.1nb1
NetBSD 10.1 aarch641.3.1nb1
SmartOS / illumos x86_641.3.1nb1
macOS 15 arm641.3.1nb1

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-sniffio-1.3.1nb1, py313-sniffio-1.3.1nb1, py314-sniffio-1.3.1nb1