Skip to main content

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

optom_automator-0.0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

optom_automator-0.0.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page