Skip to main content
Help us improve Python packaging – donate today!

Encode any IP address as a haiku

Project Description

Latest Version Build Status Coverage Status

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


$ pip install pyhipku


Encode the IP address to haiku

>>> from pyhipku import encode
>>> print(encode(''))
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')

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.



Release history Release notifications

This version
History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyhipku-0.2.2.tar.gz (9.6 kB) Copy SHA256 hash SHA256 Source None Jul 23, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page