Find an env file by walking upward from the current directory
find_dotenv(filename=".env", raise_error_if_not_found=False)
Usage
Returns the path, or an empty string when no file is found. Set raise_error_if_not_found=True to raise IOError instead.
from dotenvx import find_dotenv
path = find_dotenv(".env", raise_error_if_not_found=True)