PyHipku
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'
License
MIT
Metadata
Release files for pyhipku 0.2.1
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 |
|---|---|---|---|---|
| pyhipku-0.2.1.tar.gz | 9.4 kB | Without provenance | Details for pyhipku-0.2.1.tar.gz |
Release files / pyhipku-0.2.1.tar.gz
| Download URL | pyhipku-0.2.1.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5cda471e0291a1ca07b995863eda058935fbe20f5ec908efc1b6e4da7923be2f
|
|
BLAKE2b-256 checksum How to use checksums |
cd20c71672985b09cdcf2a062f0e42179b72be5f8d85caee04542170046337c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyhipku 0.2.1
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.