This commit is contained in:
sunshine
2004-08-02 14:07:30 +00:00
committed by zzz
parent 3f6e7cb84c
commit f2cadb7278
2 changed files with 8 additions and 7 deletions

View File

@ -1,13 +1,12 @@
----------------------------------------
Python-I2P v0.9
Python-I2P v0.91
----------------------------------------
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.
have been placed in the public domain.
----------------------------------------
Quick Start
@ -19,13 +18,14 @@ Install:
Use:
>>> from i2p import sam
>>> s = sam.socket('Alice', sam.SOCK_STREAM)
>>> from i2p import socket
>>> s = socket.socket('Alice', socket.SOCK_STREAM)
>>> s.connect('duck.i2p')
>>> s.send('GET / HTTP/1.0\r\n\r\n')
>>> s.recv(1000)
(Response from duck.i2p)
See the src/examples/ directory for more code examples.
----------------------------------------
Full Start

View File

@ -1,3 +1,4 @@
#! /usr/bin/env python
from distutils.core import setup
import os
@ -5,10 +6,10 @@ import os
os.chdir('./src')
setup(name="Python I2P API",
version="0.9",
version="0.91",
description="Python Interface to I2P",
author="Connelly Barnes",
author_email="'Y29ubmVsbHliYXJuZXNAeWFob28uY29t\n'.decode('base64')",
url="http://www.i2p.net/",
packages=['i2p'],
packages=['i2p', 'i2p.pylib'],
)