def env_key(key, default):
env = key.upper().replace('<STR_LIT:.>', '<STR_LIT:_>')<EOL>return os.environ.get(env, default)<EOL>
Try to get `key` from the environment.

This mutates `key` to replace dots with underscores and makes it all
uppercase.

    my.database.host => MY_DATABASE_HOST