+import pathlib
+from jproperties import Properties
+
+def get_environment_variable(name):
+ configs = Properties()
+ path = pathlib.Path( os.path.dirname(os.path.abspath(__file__)) )
+ env_file = str(path.absolute()) + '/.env'
+ with open(env_file, "rb") as read_prop:
+ configs.load(read_prop)
+ return configs.get(name).data