semvec/pypi-packages huggingface dataset:
stopwatch-timer 1.0.2
A stopwatch class that can be used as a timer.
Requires Python: >=3

stopwatch-timer is a module that provides a Stopwatch class. This class can be used to time operations. It has 'start' and 'stop' methods that can be used to pause the time. It doesn't use anything like threading.Thread or multiprocessing.Process, instead; it uses math to calculate how much time has passed. By default, the stopwatch uses time.perf_counter to get the current time, but this can be changed to whatever you like in the __init__ function. Stopwatches also have a 'laps' attribute, which stores all times when laps were created. Laps can be added using the 'add_lap' function. Finally, stopwatches also have 'reset', 'reset_laps', and 'restart' functions, which reset and stop the stopwatch, reset the laps on the stopwatch, and reset and start the stopwatch respectively.
t9text 0.1.0
A package for handling T9 text message key mapping
Requires Python: >=3.8

# 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 `-`, `*`, `#`), `t9text` can tell a user which numeric touchtone phone buttons correspond to it, e.g.:
```python
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.:
```python
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" ...]
```