libp2p/py-libp2p

Make py-libp2p async-library-agnostic with anyio

Aperta

#383 aperta il 17 dic 2019

 (1 commento) (0 reazioni) (0 assegnatari)Python (238 fork)auto 404
help wanted

Metriche repository

Star
 (618 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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/

Guida contributor