Bug#1142477: ITP: python-asyncvarlink -- Python asyncio-compatible, type-driven varlink implementation

Colin Watson <[email protected]> Mon, 20 Jul 2026 13:37:38 +0100
Newsgroups gmane.linux.debian.devel.general
Message-ID <al4WktlN9v6DGbf-__25028.3322109439$1784551175$gmane$org@camorr.rosewood.vpn.ucam.org>
Package: wnpp
Severity: wishlist
Owner: Colin Watson <[email protected]>
X-Debbugs-Cc: [email protected], Helmut Grohne <[email protected]>, Stefano Rivera <[email protected]>

* Package name    : python-asyncvarlink
  Version         : x.y.z
  Upstream Contact: Helmut Grohne <[email protected]>
* URL             : https://github.com/helmutg/asyncvarlink
* License         : LGPL-2.0+
  Programming Lang: Python
  Description     : Python asyncio-compatible, type-driven varlink implementation

This is a pure Python implementation of the varlink IPC protocol based on
asyncio. The main differences to the reference implementation are:

 * Usage of asyncio instead of synchronous threading
 * Where the reference implementation parses a varlink interface description
   as a source of truth, this implementation derives a varlink interface
   description from a typed Python class to describe an interface.
 * Even though the varlink faq explicitly renders passing file descriptors out
   of scope, systemd uses it and it is an important feature also implemented
   here.


Helmut has been working for a while on improved container management for 
things like sbuild and autopkgtest.  This is one of the building blocks 
for that work.