convert IPv6 or IPv4 addresses into RFC8771-compliant I-DUNNO representation
Project description
I-DUNNO Implementation
This library implements the Internationalized Deliberately Unreadable Network Notation (shortened as I-DUNNO) as defined in RFC 8771. The library supports encoding and decoding I-DUNNO representation, but the command line interface only supports encoding and does not implement decoding, as the RFC recommends the output of such a function SHOULD NOT be presented to humans.
CLI Usage
$ pip install i-dunno
$ i-dunno 198.51.100.164
API Usage
import ipaddress
import i_dunno
addr = ipaddress.ip_address('198.51.100.164')
addr_i_dunno = i_dunno.encode(addr, level='satisfactory')
addr_obj = i_dunno.decode(addr_i_dunno)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
i-dunno-0.1.2.tar.gz
(85.0 kB
view hashes)
Built Distribution
i_dunno-0.1.2-py3-none-any.whl
(84.9 kB
view hashes)