[p2p-hackers] Python network library
Antoine Pitrou
solipsis at pitrou.net
Mon Jan 30 16:06:01 UTC 2006
Le lundi 30 janvier 2006 à 14:49 +0000, Jeremy James a écrit :
> And while you're about it, I'm looking for a library with an identical
> specification under Python. Being event-based would suggest twisted as
> being a good base (as well as having TLS etc on-hand), although I
> haven't found a good library yet (yes, I know about Khashmir [1], but
> that's just a DHT, and I need a routing/messaging interface).
Twisted is almost the de facto standard library for non-trivial network
applications with Python.
Of course some people prefer writing their own (this is what Bittorrent
does, although ironically it has taken a bit of code from Twisted
AFAIK), but if you are looking for something widely supported then
Twisted is the best bet.
You'll probably find that Twisted makes your programming much easier
than having to deal with all the low-level stuff yourself.
regards
Antoine.
More information about the P2p-hackers
mailing list