[p2p-hackers] [i2p] ANN: pyi2p (fwd from david@rebirthing.co.nz)
Eugen Leitl
eugen at leitl.org
Wed Mar 9 13:23:46 UTC 2005
----- Forwarded message from David McNab <david at rebirthing.co.nz> -----
From: David McNab <david at rebirthing.co.nz>
Date: Thu, 10 Mar 2005 01:36:17 +1300
To: i2p at i2p.net
Subject: [i2p] ANN: pyi2p
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
Hi all,
Firstly - warmest appreciation to Connelly who's now busily diagnosing
and working (and maybe hassling jrandom re the java side) to get the
pySAM API working again with current I2P.
Secondly - I've created a suite of python I2P utility modules.
Called simply 'pyi2p' (to distinguish from the existing 'i2p' python
module in CVS), pyi2p is a bag of goodies for Python I2P app development.
http://www.freenet.org.nz/i2p/pyi2p.tar.gz
Sneak preview:
- I2PTunnel class - easy creation/management of I2P<->TCP tunnels
- i2psocket - compatible subclass of python socket.socket which
transparently creates and manages tunnels as needed
- i2pxmlrpc - server and client classes for XML-RPC which work
over I2P, including full demo suite
- i2pbase64 - a base64 codec which works with I2P's base64 alphabet
- i2phosts - a very dict subclass which inserts and retrieves entries
to/from hosts.txt
This is a first alpha of these modules. Use with caution. Should be
working well enough to see what's going on.
Fancy HTML documentation enclosed.
Largely similar aims as Connelly's PySAM modules - ease of migrating
apps (or targetting new python apps) to I2P. But radically different
approach.
PySAM modules offer python library-compatible sockets that traffic data
via SAM.
These modules do conventional TCP, but transparently establish I2P<->TCP
tunnels as needed.
Effect is essentially the same. I present these modules not as
'competition' to Connelly's excellent work, but as a complementary
approach. Each has advantages/disadvantages - more power to consumer
choice. Some situations will favour PySAM, other situations may favour
pyi2p.
Enjoy!
--
Cheers
David
_______________________________________________
i2p mailing list
i2p at i2p.net
http://i2p.dnsalias.net/mailman/listinfo/i2p
----- End forwarded message -----
--
Eugen* Leitl <a href="http://leitl.org">leitl</a>
______________________________________________________________
ICBM: 48.07078, 11.61144 http://www.leitl.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE
http://moleculardevices.org http://nanomachines.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://zgp.org/pipermail/p2p-hackers/attachments/20050309/c07f4c49/attachment.pgp
More information about the P2p-hackers
mailing list