pyhipku 0.2.2

Last updated:

0 purchases

pyhipku 0.2.2 Image
pyhipku 0.2.2 Images
Add to Cart

Description:

pyhipku 0.2.2

A tiny python library to encode IPv6 and IPv4 addressed as haiku. This a
python port of hipku(javascript).

Install
$ pip install pyhipku


Usage
Encode the IP address to haiku
>>> from pyhipku import encode
>>> print(encode('127.0.0.1'))
The hungry white ape
aches in the ancient canyon.
Autumn colors crunch.
Decode haiku to IP address
>>> from pyhipku import decode
>>> decode('The hungry white ape\naches in the ancient canyon.\nAutumn colors crunch.\n')
'127.0.0.1'


Run the tests
$ pip install nose coveralls
$ nosetests -v --with-coverage --cover-package=pyhipku


About the website
The source code for the demo is here.


License
MIT

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.