Skip to main content

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).

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

Metadata

Release files for pyhipku 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyhipku 0.2.2
File Size Uploaded
pyhipku-0.2.2.tar.gz 9.6 kB Details

Release files / pyhipku-0.2.2.tar.gz

Download URL pyhipku-0.2.2.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
66089fa7034aaa4ad86b4dcf877eda89f3cadf3dbd368a4a7cd1a472f6af36c2
BLAKE2b-256 checksum
How to use checksums
462cd51478b5f5d53153e2f30cef055fed5622998179874a745acb1143be19d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page