Skip to main content

Callword

Represent phone numbers as easy to remember words!

Setup

pip install callword

Usage

Map digits to possible words

>>> word_dict = callword.read_word_dict()
>>> word_dict['7246837']
['PAINTER']

Find wordified version of phone numbers

>>> phone_number = '1-800-724-6837'
>>> wordified_number = callword.number_to_words(phone_number, word_dict)
>>> wordified_number
'1-800-PAINTER'

Find all wordified versions of phone numbers

>>> all_wordifications = callword.all_wordifications(phone_number, word_dict)
>>> all_wordifications
['1-800-PAINTER',  '1-800-PAINT-DR', '1-800-SAINT-DR', '1-800-PAINT-37', '1-800-SAINT-37', 
 '1-800-RAG-MUDS', '1-800-RAG-OVER', '1-800-SAG-MUDS', '1-800-SAG-OVER' ...]

Convert wordified phone numbers back to numbers

>>> callword.words_to_number(wordified_number) 
'1-800-724-6837'

More Examples

Checkout our tests for more features...

Metadata

Release files for callword 0.11

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

Built distribution (wheel)

Table of built distributions (wheels) for callword 0.11
File Interpreter ABI Platform Actions
callword-0.11-py3-none-any.whl Python 3 none any Details for callword-0.11-py3-none-any.whl

Release files / callword-0.11-py3-none-any.whl

Download URL callword-0.11-py3-none-any.whl
Size 166.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e857a9d42eae579a178189578967ea6836258aa9b477baa831de835e5e75e540
BLAKE2b-256 checksum
How to use checksums
76ccacb9a5a3e464ce23a3b9db8e363795444bd1d9d8660641f08a10bdb370ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2

Security for callword 0.11

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.

Release history Release notifications | RSS feed

This release

0.11 This release

1 release file No provenance

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