def read_env(key, value):
 envkey = key.replace('.', '_').replace('-', '_').upper()
 return native_value(os.getenv(envkey, value))

def read_env ( key , value ) : envkey = key . replace ( '.' , '_' ) . replace ( '-' , '_' ) . upper ( ) return native_value ( os . getenv ( envkey , value ) )
read the setting key from environment variables .