Inacap - Programa para pasar las notas de inacap a una hoja de cálculo rápidamente.

Related tags

Miscellaneousinacap
Overview

Inacap

Programa en python para obtener varios datos académicos desde inacap y subirlos directamente a una hoja de cálculo.

Cómo funciona

Primero que nada, hay que clonar este repositorio. Luego se necesita un archivo de configuración, el cual tiene la siguiente estructura:

{
    "username": "NOMBRE_DE_USUARIO",
    "password": "CONTRASEÑA",
    "spreadsheet_id": "ID_DE_HOJA_DE_CÁLCULO",
    "ranges": {
        "1": "RANGO_DE_ASIGNATURA_1",
        ...
        "6": "RANGO_DE_ASIGNATURA_6"
    },
    "sheets": {
        "1": "NOMBRE_HOJA_SEMESTRE_1",
        ...
        "8": "NOMBRE_HOJA_SEMESTRE_8"
    }
}

El id de la hoja de cálculo se obtiene a partir de la url de esta misma: https://docs.google.com/spreadsheets/d/17wyHeCAtRB7PDYe_j5kSonMyzJBM3vOlOgugg1ID9t4/edit#gid=0

En este caso sería: 17wyHeCAtRB7PDYe_j5kSonMyzJBM3vOlOgugg1ID9t4

Los rangos corresponden a las partes de la hoja de cálculo donde se guardarán los datos de cada asignatura. Siempre son de 4x4. Aparecen en la parte superior izquierda de la pantalla, en este ejemplo es B4:E7.

Screenshot 03-01-2022 20:03:07

Además se puede ver el nombre de la hoja de cálculo, que aparece en la parte de abajo de la pantalla, en la imagen es Plantilla.

Para empezar se puede clonar la misma plantilla por defecto que uso yo: Plantilla. Solo tienen que clonar la hoja las veces que haga falta y luego rellenar con los nombres de las asignaturas.

¿Qué más hace falta?

En primer lugar se necesita python, por si no era ya obvio. También hay que instalar la librería selenium para python, ya sea con pip o de otra forma. pip install selenium

Hay que seguir las instrucciones de la api de google sheets desde la página oficial, Google Sheets API. Eso incluye instalar las librerías que haga falta en python, y activar la api para la cuenta de google que usen, está todo bien explicado en la página.

El programa usa el driver de google chrome para realizar todas las operaciones, así que se necesita google chrome, y también hay que descargar el driver de google chrome desde ChromeDriver. Debe ser la misma versión que tengan en el navegador.

Es importante notar que el driver debe estar en PATH, de lo contrario no funcionará el programa.

Uso del programa

Cuando ya se tenga todo preparado, hay que ejecutar el programa, reemplazando nombre por el nombre de la configuración (sin incluir la extensión .json) y semestre por el semestre que se quiera. python inacap.py nombre semestre

Un ejemplo sería: python inacap.py example 2

Owner
Gabriel Barrientos
Gabriel Barrientos
Exploring basic lambda calculus in Python

Lambda Exploring basic lambda calculus in Python. In this repo I have used the lambda function built into python to get a more intiutive feel of lambd

Bhardwaj Bhaskar 2 Nov 12, 2021
MDAnalysis tool to calculate membrane curvature.

The MDAkit for membrane curvature analysis is part of the Google Summer of Code program and it is linked to a Code of Conduct.

MDAnalysis 19 Oct 20, 2022
Our product DrLeaf which not only makes the work easier but also reduces the effort and expenditure of the farmer to identify the disease and its treatment methods.

Our product DrLeaf which not only makes the work easier but also reduces the effort and expenditure of the farmer to identify the disease and its treatment methods. We have to upload the image of an

Aniruddha Jana 2 Feb 02, 2022
Taxonomy addition for complete trees

TACT: Taxonomic Addition for Complete Trees TACT is a Python app for stochastic polytomy resolution. It uses birth-death-sampling estimators across an

Jonathan Chang 3 Jun 07, 2022
Heisenbridge a bouncer-style Matrix IRC bridge

Heisenbridge brings IRC to Matrix by creating an environment where every user connects to each network individually like they would with a traditional IRC bouncer

Toni Spets 152 Dec 28, 2022
This is where I learn machine learning

This is where I learn machine learning🤷‍ This means that this repo covers no specific topic of machine learning or a project - I work in here when I want to learn/try something

Wilhelm Berghammer 47 Nov 16, 2022
App and Python library for parsing, writing, and validation of the STAND013 file format.

python-stand013 python-stand013 is a Python app and library for parsing, writing, and validation of the STAND013 file format. Features The following i

Oda 3 Nov 09, 2022
Tutorials on advanced python topics, and literate programming framework to write them.

Advanced course on Python3 This course covers several topics Python decorators The python object system / meta classes Also see my text on Python impo

Michael Moser 59 Dec 19, 2022
Control System Packer is a lightweight, low-level program to transform energy equations into the compact libraries for control systems.

Control System Packer is a lightweight, low-level program to transform energy equations into the compact libraries for control systems. Packer supports Python 🐍 , C 💻 and C++ 💻 libraries.

mirnanoukari 31 Sep 15, 2022
Request ID propagation for ASGI apps

ASGI Correlation ID middleware Middleware for loading and receiving correlation IDs from request HTTP headers, and making them available in applicatio

snok 170 Jan 02, 2023
My qtile config with a fresh-looking bar and pywal support

QtileConfig My qtile config with a fresh-looking bar and pywal support. Note: This is my first rice and first github repo. Please excuse my poor codin

Eden 4 Nov 10, 2021
A collection of UIKit components that can be used as a Wagtail StreamField block.

Wagtail UIKit Blocks A collection of UIKit components that can be used as a Wagtail StreamField block. Available UIKit components Container Grid Headi

Krishna Prasad K 13 Dec 15, 2022
A dashboard for your code. A build system.

NOTICE: THIS REPO IS NO LONGER UPDATED Changes Changes is a build coordinator and reporting solution written in Python. The project is primarily built

Dropbox 763 Sep 09, 2022
This is the Code Institute student template for Gitpod.

Welcome AnaG0307, This is the Code Institute student template for Gitpod. We have preinstalled all of the tools you need to get started. It's perfectl

0 Feb 02, 2022
Dungeon Dice Rolls is an aplication that the user can roll dices (d4, d6, d8, d10, d12, d20 and d100) and store the results in one of the 6 arrays.

Dungeon Dice Rolls is an aplication that the user can roll dices (d4, d6, d8, d10, d12, d20 and d100) and store the results in one of the 6 arrays.

Bracero 1 Dec 31, 2021
Jogo em redes similar ao clássico pedra papel e tesoura

Batalha Tática Tecnologias de Redes de Computadores-A-N-JOGOS DIGITAIS Professor Fabio Henrique Cabrini Alunos: Eric Henrique de Oliveira Silva - RA 1

Eric Henrique de Oliveira Silva 1 Dec 01, 2021
Repositorio com arquivos processados da CPI da COVID para facilitar analise

cpi4all Repositorio com arquivos processados da CPI da COVID para facilitar analise Organização No site do senado é possivel encontrar a lista de todo

Breno Rodrigues Guimarães 12 Aug 16, 2021
Built with Python programming language and QT library and Guess the number in three easy, medium and hard rolls

guess-the-numbers Built with Python programming language and QT library and Guess the number in three easy, medium and hard rolls Number guessing game

Amir Hussein Sharifnezhad 5 Oct 09, 2021
Cash in on Expressed Barcode Tags (EBTs) from NGS Sequencing Data with Python

Cash in on Expressed Barcode Tags (EBTs) from NGS Sequencing Data with Python Cashier is a tool developed by Russell Durrett for the analysis and extr

3 Sep 11, 2022
This is a vscode extension with a Virtual Assistant that you can play with when you are bored or you need help..

VS Code Virtual Assistant This is a vscode extension with a Virtual Assistant that you can play with when you are bored or you need help. Its currentl

Soham Ghugare 6 Aug 22, 2021