T9 Keyboard controled by Numpad keyboard buttons.
Project of T9 keyboard which is controlled by numpad keyboard buttons. Application takes sequence of digits, convert it to corresponding letters combos and use Trie tree search to match sequence with potent words. When user choose a phrase from available predicted words search results, it will be written to the screen.
Preview
Using application to type in notepad:
Instalation guide and system requirements
- To run project this code, you need Python 3.10 + (usage of match/case feature).
- Program runs only on windows platform (due to problems on Linux keys signal suppression)
cd <main project directory>
pip install -r requirements.txt
python run.py
Key bindings
Default key actions for T9 mode.
"""
+-------+-------+-------++-------+
| 7 | 8 | 9 || + |
| .?! | ABC | DEF || |
+-------+-------+-------+| |
| 4 | 5 | 6 || BACK |
| GHI | JKL | MNO || SPACE |
+-------+-------+-------++-------+
| 1 | 2 | 3 |
| PQRS | TUV | WXYZ |
+-------+-------+-------+
| 0 | . |
| SPACE |SWITCH |
+-------+-------+-------+
"""
Digit key 7 :
- type Dot sign
Digit keys 8, 9, 4, 6, 7, 1, 2, 3 :
- Add digit to queue.
Dot key (Del):
- switch word hint (phrase)
Digit key 0 :
- Accept current hint phrase. Then write phrase as keyboard output
Plus key + :
- Backspace
Running Tests
Pytest is configured to be runned from main project directory. To run tests, use the following command.
cd <main project directory>
pytest
Metadata
Release files for t9keyboard 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| t9keyboard-1.0.1.tar.gz | 10.3 kB | Without provenance | Details for t9keyboard-1.0.1.tar.gz |
Release files / t9keyboard-1.0.1.tar.gz
| Download URL | t9keyboard-1.0.1.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11e6ae7e8758cb472e802a5169de9bd232d697544b261c5967505afa13f3869b
|
|
BLAKE2b-256 checksum How to use checksums |
e0f5d4aa9bfbc81f8e04e71bf70d7739f457c11295a52e18691a2ae3d08bbe43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for t9keyboard 1.0.1
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.