-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.py.example
More file actions
30 lines (28 loc) · 2.05 KB
/
Copy pathenv.py.example
File metadata and controls
30 lines (28 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
###########################################################################################################################
###########################################################################################################################
###########################################################################################################################
###########################################################################################################################
############################################## -> DESGINED BY MATHEUS SANTOS ##############################################
###########################################################################################################################
###########################################################################################################################
###########################################################################################################################
###########################################################################################################################
ENVVAR = {
"pguser": "dbusername_example",
"pgpass": "dbpassword_example",
"pghost": "localhost_example",
"pgdatabase": "pgdatabasename_example",
"pgusertable": "pgtablewherehaveusertable_example",
"LocalUser": "definesomeusertolocaltests_example",
"LocalPass": "definesomepasstolocaltests_example",
"dbpasscolum": "columinusertablehaveapass_example",
"dbusercolum": "columinusertablehaveusername_example",
"dbprivileges": "columinusertablehaveprivilegesaccount_example",
"userrow": "columnsamefrom_dbusercolum_example",
"emailrow": "columinusertablehaveemail_example",
"hwndrow": "columforhwnd_example",
"dbidrow": "columwithid_example",
"bdmasterkey": "example_for_master_key_to_encript_your_sends_to_your_backend_or_db_communications"
}
### user connection in postgresql with ENVVAR parammeters
usersdb_conn = f"host={ENVVAR['pghost']} user={ENVVAR['pguser']} dbname={ENVVAR['pgdatabase']} password={ENVVAR['pgpass']}"