A package for handling T9 text message key mapping
Project description
t9text
A Python package for working with T9 text messaging.
Description
t9text is meant for two main purposes:
- Given a string of alphabetic text (plus
-,*,#),t9textcan tell a user which numeric touchtone phone buttons correspond to it, e.g.:
from t9text import t9
daily_show = '1-210-WH-CRIME' # The Daily Show's phone number for Trump to confess his crimes to :-)
buttons = t9.get_touchtone(daily_show)
print(buttons) # prints "1-210-94-27463"
- Given a string of 10 or fewer digits, display all possible T9 "words", e.g.:
from t9text import t9
digits = "2332" #can also be `int` such as 2332
words = t9.get_words(digits)
for word in words:
print(word) # ["adda", addb", "addc", "adea" ...]
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
t9text-0.1.0.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
t9text-0.1.0-py3-none-any.whl
(14.8 kB
view details)
File details
Details for the file t9text-0.1.0.tar.gz.
File metadata
- Download URL: t9text-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
871880294feb092cea4baad4f4f1b8eae84a6d544472f945f3283d05c1320028
|
|
| MD5 |
cf3171bd0b46524d4dedf4a6b910120c
|
|
| BLAKE2b-256 |
6645ca4a8abfc02f8eee0688140261a57455c119d28feeeeffb4503d665ddf59
|
File details
Details for the file t9text-0.1.0-py3-none-any.whl.
File metadata
- Download URL: t9text-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e04c84f1e89a141112dc7f3f399a0921901c3c0f0f69a84c43036eaad30e651
|
|
| MD5 |
955e76df4ca3bf448f08f9987c76e47a
|
|
| BLAKE2b-256 |
6b7a1f279bbaec864a3a4e0d29947a7e599d0a208c3e64e0ab8bb75fd784e57a
|