How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.
High level asynchronous concurrency and networking framework that works on top of either Trio or asyncio
Curio is a Python library for structured concurrency and asynchronous network programming. It serves as a framework for handling thousands of simultaneous TCP connections using non-blocking sockets and high-throughput I/O. The library organizes asynchronous operations into a hierarchy of parent and child coroutines to ensure reliable termination and cleanup of dependent tasks. It provides a toolkit for coordinating these concurrent operations through the use of task groups and timeouts. The framework covers a broad range of concurrency management capabilities, including inter-task communicat
Trio is an asynchronous I/O runtime and concurrency library for Python. It provides a system for executing non-blocking network and disk operations through a centralized event loop and task scheduler. The library is built on a structured concurrency model, which ensures that asynchronous tasks are bound to a specific lifetime and cannot outlive the scope that started them. It utilizes a nursery-based task manager to track task lifecycles in a parent-child tree, preventing orphaned concurrent operations by requiring child tasks to be joined before their parent scope exits. The framework cover
a re-implementation of the asyncio mainloop on top of Trio
The main features of python-trio/trio-asyncio are: Alternative Runtimes.
Projects with overlapping indexed features include: agronholm/anyio — High level asynchronous concurrency and networking framework that works on top of either Trio or asyncio. dabeaz/curio — Curio is a Python library for structured concurrency and asynchronous network programming. It serves as a framework… python-trio/trio — Trio is an asynchronous I/O runtime and concurrency library for Python. It provides a system for executing…