-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigs.py
More file actions
33 lines (26 loc) · 955 Bytes
/
configs.py
File metadata and controls
33 lines (26 loc) · 955 Bytes
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
31
32
33
from pathlib import Path
from decouple import config
#rutas sql
RUTA_T1 = Path.cwd() / 'sql' / "tabla_concat.sql"
RUTA_T2 = Path.cwd() / 'sql' / "tabla_cine.sql"
RUTAS = [RUTA_T1,RUTA_T2]
#urls
MUSEO = "https://datos.gob.ar/dataset/cultura-mapa-cultural-espacios-culturales/archivo/cultura_4207def0-2ff7-41d5-9095-d42ae8207a5d"
CINE = "https://datos.gob.ar/dataset/cultura-mapa-cultural-espacios-culturales/archivo/cultura_392ce1a8-ef11-4776-b280-6f1c7fae16ae"
BIBLIOTECA = "https://datos.gob.ar/dataset/cultura-mapa-cultural-espacios-culturales/archivo/cultura_01c6c048-dbeb-44e0-8efa-6944f73715d7"
#coneccion db
USER = config('User_ID')
PASSWORD = config('Password')
HOST = config('Host')
PORT = config('Port')
DATABASE = config('Database')
CONN_DB = f"postgresql://{USER}:{PASSWORD}@{HOST}:{PORT}/{DATABASE}"
#nombre archivos
N_1 = "museo"
N_2 = "cine"
N_3 = "biblioteca"
DICCIONARIO = {
N_1 : MUSEO,
N_2 : CINE,
N_3 : BIBLIOTECA
}