TIL Network protocols Sans I/O ⚡

“… network protocol implementations written in Python that perform no I/O (this means libraries that operate directly on text or bytes; this excludes libraries that just abstract out I/O).” 🤯

Read the reference page 👇
https://sans-io.readthedocs.io/

#Reusability #Python #FastCGI #HTTP2 #H11 #IRC #OAuth2 #OAuthLib #WebSocket #SOCKS5 #RFC2217 #SerialOverIP #EPICS #FIX #QUIC #LanguageServerProtocol #SMTP #DBus #ThorlabsAPT #Matrix #SSL #TLS #CPython #multipart #formdata

Network protocols, sans I/O — Sans I/O 1.0.0 documentation

I just noticed that the repository is by Brett Cannon @brettcannon 👀

Thanks for this interesting thing (as usual) 🙏

@paulox It was also done with @lukasa after his talk at PyCon US in 2016. Accompanying blog post at https://snarky.ca/network-protocols-sans-i-o/ .
Network protocols, sans I/O

Back in February I started taking a serious look at asynchronous I/O thanks to async/await. One of the things that led to me to looking into this area was when I couldn't find an HTTP/1.1 [https://tools.ietf.org/html/rfc7230] library that worked with async/

Tall, Snarky Canadian
@brettcannon @lukasa great. Thanks for sharing the blog post. 🙏