Preparing for system design interviews?  Try bugzed.com →

Duet Async Library

JSON →
library 0.2.9 ·python
verified Jun 28, 2026

Duet is a simple future-based async library for Python, version 0.2.9. It takes inspiration from the `trio` library's structured concurrency but primarily relies on the standard `concurrent.futures.Future` interface for parallelism, allowing `async/await` coroutines to interact with these futures. A distinctive feature of Duet is its re-entrancy, permitting multiple calls to `duet.run()` within a single asynchronous context, which can simplify the incremental refactoring of synchronous codebases to asynchronous ones. The library is actively maintained with a steady release cadence for bug fixes and minor improvements.

total hits 20
actors 5 distinct systems
last hit 15d ago human
GPTBot
4
Script
1
ByteDance
1
Humans
7

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · VN · 🇩🇪 Germany