How to pronounce binary data
Project description
speakdata
A very useful guide on how to pronounce byte sequences.
Have you ever looked for a quick and easy way to say 84:a3:fe:67:c5:01
, or maybe 192.168.0.1
?
Look no further! speakdata
is a canonical way to translate bytes into easy pronouncable syllables. For more info have a look at this post.
>>> import speakdata
>>>
>>> speakdata.pronounce([192, 168, 0, 1])
'Saful bababing.'
>>>
>>> speakdata.pronounce(b'\x84\xa3\xfe\x97\xc5\x01')
'Lifufing torniking sijabing.'
>>>
>>> speakdata.denounce('Lifufing torniking sijabing.')
b'\x84\xa3\xfe\x97\xc5\x01'
It also has a nifty executable:
$ head -c 24 /dev/random | speakdata
Lafoin fowkoising joiboiling tubaiking jujowl fowsain sowtat jiforn. Naijoiking seynij nujoiting korsul.
Installation
pip install speakdata
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
speakdata-1.0.0.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for speakdata-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad525c61247b98291af27e4a7f038c7ca192d46f24dd9c63706e454c0cf0c5a7 |
|
MD5 | b17b3f1bbdffaafccd302a6f73964919 |
|
BLAKE2b-256 | 007a5ebc08b334b4efc4efa88810bf28c5420f9513364ca7c7f66e27215771e7 |