Skip to content
forked from theelous3/multio

A unifying library for curio and trio, supporting both async libs for great good.

Notifications You must be signed in to change notification settings

miracle2k/multio

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multio

multio is a convenience wrapper for curio and trio, that unifies their apis such that they can be used willy-nilly.

example

# First creates a curio socket, and then a trio socket.
import curio
import trio

import multio
from multio import asynclib

def make_socket():
    s = asynclib.open_connection('example.org', 80)

multio.init('curio')
curio.run(make_socket)

multio.init('trio')
trio.run(make_socket)

About

A unifying library for curio and trio, supporting both async libs for great good.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%