Skip to main content

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


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)

Uploaded Source

Built Distribution

speakdata-1.0.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page