libp2p/py-libp2p

Make py-libp2p async-library-agnostic with anyio

Open

#383 opened on Dec 17, 2019

 (1 comment) (0 reactions) (0 assignees)Python (238 forks)auto 404
help wanted

Repository metrics

Stars
 (618 stars)
PR merge metrics
 (PR metrics pending)

Description

Coming from https://github.com/libp2p/py-libp2p/issues/174#issuecomment-560470465, and based on some conversation with @mhchia, I'm making this issue as a reminder to eventually make the library completely io-agnostic by implimenting it with anyio, an asynchronous io abstraction library (which currently supports asyncio, trio, and curio).

This'll tie #349, #347 and #174 into one problem, while staying in async library ecosystems of all 3 (possibly 4)

Anyio documentation: https://anyio.readthedocs.io/en/latest/index.html Pypi project: https://pypi.org/project/anyio/

Contributor guide