3 ms·
If anyone wants to see some small, practical asyncio code in action, here's a little LMTP daemon I wrote recently: https://git.sr.ht/~sircmpwn/lists.sr.ht/tree
by Sir_Cmpwn 8y ago
If anyone wants to see some small, practical asyncio code in action, here's a little LMTP daemon I wrote recently:
https://git.sr.ht/~sircmpwn/lists.sr.ht/tree/lists-srht-lmtp https://git.sr.ht/~sircmpwn/lists.sr.ht/tree/lists-srht-lmtp via https://git.sr.ht/~sircmpwn/lists.sr.ht https://git.sr.ht/~sircmpwn/lists.sr.ht
Or getting deeper, another project which implements Synapse's[0] RPC protocol and encapsulates high-level RPC actions in asyncio sugar:
https://git.sr.ht/~sircmpwn/broca/tree/broca/connection.py https://git.sr.ht/~sircmpwn/broca/tree/broca/connection.py
Code which uses this code:
https://git.sr.ht/~sircmpwn/broca/tree/broca/rpc.py https://git.sr.ht/~sircmpwn/broca/tree/broca/rpc.py
[0] https://synapse-bt.org https://synapse-bt.org