trio

Trio – a friendly Python library for async concurrency and I/O (by python-trio)

Trio Alternatives

Similar projects and alternatives to trio

  1. CPython

    1,511 trio VS CPython

    The Python programming language

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. fastapi

    550 trio VS fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

  4. pydantic

    180 trio VS pydantic

    Data validation using Python type hints

  5. rich

    158 trio VS rich

    Rich is a Python library for rich text and beautiful formatting in the terminal.

  6. Flask

    145 trio VS Flask

    The Python micro framework for building web applications.

  7. NATS

    124 trio VS NATS

    High-Performance server for NATS.io, the cloud and edge native messaging system.

  8. RxJS

    113 trio VS RxJS

    A reactive programming library for JavaScript

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. requests

    98 trio VS requests

    A simple, yet elegant, HTTP library.

  11. uvicorn

    68 trio VS uvicorn

    An ASGI web server, for Python. πŸ¦„

  12. httpx

    61 trio VS httpx

    A next generation HTTP client for Python. πŸ¦‹

  13. Altair

    46 trio VS Altair

    Declarative visualization library for Python

  14. @blueprintjs/core

    38 trio VS @blueprintjs/core

    A React-based UI toolkit for the web

  15. Kedro

    34 trio VS Kedro

    Kedro is a toolbox for production-ready data science. It uses software engineering best practices to help you create data engineering and data science pipelines that are reproducible, maintainable, and modular.

  16. unikraft

    A next-generation cloud native kernel designed to unlock best-in-class performance, security primitives and efficiency savings.

  17. ideas4

    Discontinued An Additional 100 Ideas for Computing https://samsquire.github.io/ideas4/

  18. Boost.Asio

    20 trio VS Boost.Asio

    Asio C++ Library

  19. go-multierror

    A Go (golang) package for representing a list of errors as a single error.

  20. requests-html

    14 trio VS requests-html

    Pythonic HTML Parsing for Humansβ„’

  21. uvloop

    16 trio VS uvloop

    Ultra fast asyncio event loop.

  22. asyncio

    1 trio VS asyncio
  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better trio alternative or higher similarity.

trio discussion

Log in or Post with

trio reviews and mentions

Posts with mentions or reviews of trio. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.
  • trio VS awaits - a user suggested alternative
    2 projects | 9 Dec 2023
  • In what ways are channels are better than the traditional await?
    3 projects | /r/golang | 18 May 2023
    Incidentally, the alternative event loop implementation trio in python does not have "gather", you also need channels, and it's a deliberate design choice - there is some discussion about that in this ticket https://github.com/python-trio/trio/issues/2188
  • Polyphony: Fine-Grained Concurrency for Ruby
    3 projects | news.ycombinator.com | 12 May 2023
  • This Week In Python
    5 projects | dev.to | 17 Feb 2023
    trio – a friendly Python library for async concurrency and I/O
  • Python projects with best practices on Github?
    23 projects | /r/Python | 14 Feb 2023
    trio. the best code, the best documentation, awesome community.
  • Trio: Structured Concurrency for Python
    1 project | news.ycombinator.com | 11 Feb 2023
  • The Heisenbug lurking in your async code (Python)
    7 projects | news.ycombinator.com | 11 Feb 2023
    I'll +1 the Trio shoutout [1], but it's worth emphasizing that the core concept of Trio (nurseries) now exists in the stdlib in the form of task groups [2]. The article mentions this very briefly, but it's easy to miss, and I wouldn't describe it as a solution to this bug, anyways. Rather, it's more of a different way of writing multitasking code, which happens to make this class of bug impossible.

    [1] https://github.com/python-trio/trio

    [2] https://docs.python.org/3/library/asyncio-task.html#task-gro...

  • The gotcha of unhandled promise rejections
    5 projects | news.ycombinator.com | 13 Jan 2023
    It's similar to manual memory management.

    Structured concurrency is one approach to solving this problem. In a structured concurrency a promise would not go out of scope unhandled. Not sure how you would add APIs for it though.

    See Python's trio nurseries idea which uses a python context manager.

    https://github.com/python-trio/trio

    I'm working on a syntax for state machines and it could be used as a DSL for promises. It looks similar to a bash pipeline but it matches predicates similar to prolog.

    In theory you could wire up a tree of structured concurrency with this DSL.

    https://github.com/samsquire/ideas4#558-assign-location-mult...

  • Python Asyncio: The Complete Guide
    4 projects | news.ycombinator.com | 10 Nov 2022
    Not complete - doesn't include Task Groups [1]

    In fairness they were only included in asyncio as of Python 3.11, which was released a couple of weeks ago.

    These were an idea originally from Trio [2] where they're called "nurseries" instead of "task groups". My view is that you're better off using Trio, or at least anyio [3] which gives a Trio-like interface to asyncio. One particularly nice thing about Trio (and anyio) is that there's no way to spawn background tasks except to use task groups i.e. there's no analogue of asyncio's create_task() function. That is good because it guarantees that no task is ever left accidentally running in the background and no exception left silently uncaught.

    [1] https://docs.python.org/3/library/asyncio-task.html#task-gro...

    [2] https://github.com/python-trio/trio

    [3] https://anyio.readthedocs.io/en/latest/

  • Anyone here able to help with a python issue?
    1 project | /r/Purdue | 8 Aug 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 25 Jun 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more β†’

Stats

Basic trio repo stats
19
6,565
9.7
9 days ago

python-trio/trio is an open source project licensed under GNU General Public License v3.0 or later which is an OSI approved license.

The primary programming language of trio is Python.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?