Requirements:
Python 2.7 or >= 3.4
Java I2P 0.9.14 and higher or i2pd 2.17.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
Metadata
Release files for i2p.socket 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| i2p.socket-0.4.0.tar.gz | 20.8 kB | Without provenance | Details for i2p.socket-0.4.0.tar.gz |
Release files / i2p.socket-0.4.0.tar.gz
| Download URL | i2p.socket-0.4.0.tar.gz |
|---|---|
| Size | 20.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4926c17c4d863293a28c8831944d0447fd571275182ce004d3955f45b5fe4cf0
|
|
BLAKE2b-256 checksum How to use checksums |
c40fc64a8314dfc455d9c20c27c066dea184a522c12ad8db57850e2820428471
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for i2p.socket 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.