This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

I2P socket module

Project Description

Requirements:

  • Python 2.7 or 3.x
  • Java I2P 0.9.14 and higher or i2pd 2.4.0 and higher

Installing:

pypi:

pip install i2p.socket

git:

git clone https://github.com/majestrate/i2p.socket/
cd i2p.socket
python setup.py install

Usage:

from i2p import socket

# i2p socket
sock = socket.socket()
sock.connect(("i2p-projekt.i2p", 80))
sock.send(b"GET /\r\n\r\n")
print (sock.recv(1024))
sock.close()

# also works as 'regular' socket
sock = socket.socket(socket.AF_INET)
sock.connect(("geti2p.net", 80))
sock.send(b"GET /\r\n\r\n")
print (sock.recv(1024))
sock.close()

Caveats:

  • Probably contains bugs
Release History

Release History

This version
History Node

0.3.1

History Node

0.3.0

History Node

0.2.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
i2p.socket-0.3.1-py2-none-any.whl (23.6 kB) Copy SHA256 Checksum SHA256 py2 Wheel Aug 1, 2016
i2p.socket-0.3.1-py3-none-any.whl (23.6 kB) Copy SHA256 Checksum SHA256 py3 Wheel Aug 1, 2016
i2p.socket-0.3.1.tar.gz (20.3 kB) Copy SHA256 Checksum SHA256 Source Aug 1, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting