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" ...]
Release files for t9text 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| t9text-0.1.0.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| t9text-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.5 kB
Release files / t9text-0.1.0.tar.gz
| Download URL | t9text-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
871880294feb092cea4baad4f4f1b8eae84a6d544472f945f3283d05c1320028
|
|
BLAKE2b-256 checksum How to use checksums |
6645ca4a8abfc02f8eee0688140261a57455c119d28feeeeffb4503d665ddf59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / t9text-0.1.0-py3-none-any.whl
| Download URL | t9text-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e04c84f1e89a141112dc7f3f399a0921901c3c0f0f69a84c43036eaad30e651
|
|
BLAKE2b-256 checksum How to use checksums |
6b7a1f279bbaec864a3a4e0d29947a7e599d0a208c3e64e0ab8bb75fd784e57a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|