Files
i2p.i2p/apps/sam/python
aum c04885449d Replaced these files with:
- I2PSocketServer.py
 - I2PBaseHTTPServer.py
 - I2PSimpleHTTPServer.py
 - I2PCGIHTTPServer.py
difference being that these new modules are not hacks of the
original python server modules, rather, they subclass the
python server modules; this overcomes the Fear and Loathing
expressed by some regarding multiplicity of licenses, and
apart from that, is a better idea anyway. Only danger being if the
modules in later Python releases change substantially, these modules
could get broken.
2004-07-31 18:51:45 +00:00
..
2004-07-21 12:02:56 +00:00
2004-07-31 18:51:45 +00:00
2004-07-21 11:36:23 +00:00

----------------------------------------
Python-I2P v0.9
----------------------------------------

Python-I2P is a Python interface to I2P.

All files in this directory and subdirectories
have been placed in the public domain by
Connelly Barnes.

----------------------------------------
Quick Start
----------------------------------------

Install:

  python setup.py install

Use:

  >>> from i2p import sam
  >>> s = sam.socket('Alice', sam.SOCK_STREAM)
  >>> s.connect('duck.i2p')
  >>> s.send('GET / HTTP/1.0\r\n\r\n')
  >>> s.recv(1000)
  (Response from duck.i2p)


----------------------------------------
Full Start
----------------------------------------

See the docs directory for HTML documentation.