def inicializaFiltrosQuery(self): self.language = auxiliares.getConfiguracion("FILTROS_PARAM", "language") self.stars = auxiliares.getConfiguracion("FILTROS_PARAM", "stars") self.forks = auxiliares.getConfiguracion("FILTROS_PARAM", "forks") self.created = auxiliares.getConfiguracion("FILTROS_PARAM", "created") self.pushed = auxiliares.getConfiguracion("FILTROS_PARAM", "pushed") self.archived = auxiliares.getConfiguracion("FILTROS_PARAM", "archived") self.qIs = auxiliares.getConfiguracion("FILTROS_PARAM", "qIs")
def getLapseExeSql(self): return auxiliares.getConfiguracion("SEARCH_PARAM", "lapseExe")
def getGenerarListaReposSql(self): return auxiliares.getConfiguracion("SEARCH_PARAM", "generarListaRepos")
def getRandomizarListaReposSql(self): return auxiliares.getConfiguracion("SEARCH_PARAM", "randomizarListaRepos")
def getTokenSql(self): return auxiliares.getConfiguracion("CREDENCIALES", "token")
def getBuscarEnLocalSql(self): return auxiliares.getConfiguracion("SEARCH_PARAM", "buscarEnLocal")
def inicializaConfiguracion(self): self.user = auxiliares.getConfiguracion("CREDENCIALES", "user") self.token = auxiliares.getConfiguracion("CREDENCIALES", "token") self.actualizarBD = auxiliares.getConfiguracion("SEARCH_PARAM", "actualizarBD") self.buscarEnLocal = auxiliares.getConfiguracion("SEARCH_PARAM", "buscarEnLocal") self.generarListaRepos = auxiliares.getConfiguracion("SEARCH_PARAM", "generarListaRepos") self.randomizarListaRepos = auxiliares.getConfiguracion("SEARCH_PARAM", "randomizarListaRepos") self.lapseExe = auxiliares.getConfiguracion("SEARCH_PARAM", "lapseExe") self.clonarRepositorios = auxiliares.getConfiguracion("SEARCH_PARAM", "clonarRepositorios") self.doExcel = auxiliares.getConfiguracion("SEARCH_PARAM", "doExcel") self.doCsv = auxiliares.getConfiguracion("SEARCH_PARAM", "doCsv") self.escribirEnLog = auxiliares.getConfiguracion("SEARCH_PARAM", "escribirEnLog") self.N_RANDOM = auxiliares.getConfiguracion("SEARCH_PARAM", "N_RANDOM") self.N_LAPSE_REPOS = auxiliares.getConfiguracion("SEARCH_PARAM", "N_LAPSE_REPOS") self.REPO_SIZE_LIMIT = auxiliares.getConfiguracion("SEARCH_PARAM", "REPO_SIZE_LIMIT") self.ITEMS_FOUND_LIMIT = auxiliares.getConfiguracion("SEARCH_PARAM", "ITEMS_FOUND_LIMIT") self.SEARCH_TIME_LIMIT = auxiliares.getConfiguracion("SEARCH_PARAM", "SEARCH_TIME_LIMIT")
def getUserSql(self): return auxiliares.getConfiguracion("CREDENCIALES", "user")
def getEscribirEnLogSql(self): return auxiliares.getConfiguracion("SEARCH_PARAM", "escribirEnLog")
def getActualizarBDSql(self): return auxiliares.getConfiguracion("SEARCH_PARAM", "actualizarBD")
def getDoCsvSql(self): return auxiliares.getConfiguracion("SEARCH_PARAM", "doCsv")
def getDoExcelSql(self): return auxiliares.getConfiguracion("SEARCH_PARAM", "doExcel")
def getClonarRepositoriosSql(self): return auxiliares.getConfiguracion("SEARCH_PARAM", "clonarRepositorios")