Automating the boring stuff in optometry.
Project description
The Optom Automator
Find yourself saying 1 or 2 a little too much? Then, this tool is for you.
This is a fun hobby project that I have been working on, where the main purpose is to repeat phrases that I commonly say in an eye examination.
Phrases
How this works?
There is a usual sequence (for refraction). And that is: 1. (intro) a. GREETING -> b. HISTORY -> 2. (preliminary) a. RIGHT_VA -> b. LEFT_VA -> 3. (refraction) a. RIGHT_REDGREEN -> b. RIGHT_CYLINDER -> c. RIGHT_SPHERE -> d. LEFT_SPHERE(R/G) -> e. LEFT_CYLINDER -> f. LEFT_SPHERE(FINE) -> 4. (end) END_EXAM -|
The capitals represent the 'stages' of the testing. They can act as keys for tuples. The tuples provide a little variation in testing.
The tuples phrases can be played in sequence or at random.
This is how the dictionary is constructed roughly:
_PHRASES = {
"STAGE_1": ("random", ("choice1", "choice2")),
"STAGE_2": ("sequence", ("choice1", "choice2")),
}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for optom_automator-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12ad1032a3e91874004dd291a993a88dd790ba8cd3f1f7d891a1634e47b23124 |
|
MD5 | b78b81f44fb94c2bf8d54a389bcd5a78 |
|
BLAKE2b-256 | 98990d4094342391841cf6cc7b678909b4de4847f33c9f9994c79d3f3dc33cad |