TriOTP, the OTP framework for Python Trio
See documentation for more informations.
It is built on top of the Trio async library and provides:
- applications: the root of a supervision tree
- supervisors: automatic restart of children tasks
- mailboxes: message-passing between tasks
- gen_servers: generic server task
Since I started writing Erlang/Elixir code, I’ve always wanted to use its
concepts in other languages.
I made this library for fun and most importantly: to see if it was possible.
As it turns out, it is!