forked from I2P_Developers/i2p.i2p
specifically created for I2P. New Files: - aum.stasher - a single noderef - stasher - wrapper script for starting/stopping/using stasher - stasher.py - similar wrapper script for 'doze users - src/bencode.py - requisite module - src/i2p/stasher.py - the stasher application classes - python module Modified Files: - setup.py - added code to install stasher wrapper - src/i2p/__init__.py - added stasher to '__all__', allowing import
24 lines
319 B
Python
24 lines
319 B
Python
"""
|
|
i2p -- I2P Python interface
|
|
"""
|
|
|
|
__all__ = [
|
|
'BaseHTTPServer',
|
|
'CGIHTTPServer',
|
|
'eep',
|
|
'router',
|
|
'select',
|
|
'SimpleHTTPServer',
|
|
'socket',
|
|
'SocketServer',
|
|
'tunnel',
|
|
'stasher',
|
|
]
|
|
|
|
class Error(Exception):
|
|
"""Base class for all I2P errors."""
|
|
|
|
class RouterError(Error):
|
|
"""Could not connect to router."""
|
|
|