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
SiliconCompiler is an open source compiler framework that automates translation from source code to silicon.

SiliconCompiler is an open source compiler framework that aims to automate translation from source code to silicon.

siliconcompiler 539 Jan 04, 2023
A Trace Explorer for Reverse Engineers

Tenet - A Trace Explorer for Reverse Engineers Overview Tenet is an IDA Pro plugin for exploring execution traces. The goal of this plugin is to provi

1k Jan 02, 2023
Mahadi-6 - This Is Bangladeshi All Sim 6 Digit Cloner Tools

BANGLADESHI ALL SIM 6 DIGIT CLONER TOOLS TOOLS $ apt update $ apt upgrade $ apt

MAHADI HASAN AFRIDI 2 Jan 23, 2022
An example repository for how to generate results using PyBaMM

PyBaMM results This repository provides a template for generating results (for example, for a paper) using PyBaMM Installation Install PyBaMM using a

PyBaMM Team 7 Oct 09, 2022
Just imagine normal bancho, but you can have multiple profiles and funorange speed up maps ranked

Local osu! server Just imagine normal bancho, but you can have multiple profiles and funorange speed up maps ranked (coming soon)! Windows Setup Insta

Cover 25 Nov 15, 2022
Slotscheck - Find mistakes in your slots definitions

🎰 Slotscheck Adding __slots__ to a class in Python is a great way to reduce mem

Arie Bovenberg 67 Dec 31, 2022
CircuitPython Driver for Adafruit 24LC32 I2C EEPROM Breakout 32Kbit / 4 KB

Introduction CircuitPython driver for Adafruit 24LC32 I2C EEPROM Breakout Dependencies This driver depends on: Adafruit CircuitPython Bus Device Regis

Adafruit Industries 4 Oct 03, 2022
WordlistPasswordGenerator - Shuhfab Basheer

WordlistPasswordGenerator - Shuhfab Basheer Python wordlist generator MAINTAINER

1 Dec 31, 2021
APRS Track Direct is a collection of tools that can be used to run an APRS website

APRS Track Direct APRS Track Direct is a collection of tools that can be used to run an APRS website. You can use data from APRS-IS, CWOP-IS, OGN, HUB

Per Qvarforth 42 Dec 29, 2022
A performant state estimator for power system

A state estimator for power system. Turbocharged with sparse matrix support, JIT, SIMD and improved ordering.

9 Dec 12, 2022
Tiling manager which runs on top of EWMH window managers.

PyTyle is an extremely versatile and extensible tiling manager that is meant to be used on top of EWMH window managers. Its feature set was modeled af

55 Jul 29, 2021
Project of the MSEC_LDD . group

HackathonJuntionXHN Project of team MSEC_LQĐ What did we do? Building application to generate whitelist regex for Web application firewall How to setu

Nguyễn Mạnh Cường 0 Dec 19, 2021
Simple rofi script to choose player for playerctl to execute its command

rofi-playerctl-switcher simple rofi script to choose player for playerctl to execute its command Usage copy playerSwitch.py and playerctl.sh to ~/.con

2 Jan 03, 2022
Build Xmas cards with user inputs

Automatically build Xmas cards with user inputs

Anand 9 Jan 25, 2022
Pokehandy - Data web app sobre Pokémon TCG que desarrollo durante transmisiones de Twitch, 2022

⚡️ Pokéhandy – Pokémon Hand Simulator [WIP 🚧 ] This application aims to simulat

Rodolfo Ferro 5 Feb 23, 2022
Dot Browser is a privacy-conscious web browser with smarts built-in for protection against trackers and advertisments online.

🌍 Take back your privacy with Dot Browser, the privacy-conscious web browser that protects you from being tracked and monitored online.

Dot HQ 1k Jan 07, 2023
Convert Beat Saber maps to Tesla light shows!

Tesla x Beat Saber - Light Show Converter Convert Beat Saber maps to Tesla light shows! This project requires FFMPEG and all packages from requirement

HLVM 20 Dec 21, 2022
HSPICE can not perform Monte Carlo (MC) simulations while considering aging effects

HSPICE can not perform Monte Carlo (MC) simulations while considering aging effects. I developed a python wrapper that automatically performs MC and aging simulations using HPSICE to save engineering

Habib Kazemi 2 Nov 22, 2021
⚡KiCad library containing footprints and symbols for inductive analog keyboard switches

Inductive Analog Switches This library contains footprints and symbols for inductive analog keyboard switches for use with the Texas Instruments LDC13

Elias Sjögreen 3 Jun 30, 2022
Use this function to get list of routes for particular journey

route-planner Functions api_processing Use this function to get list of routes for particular journey. Function has three parameters: Origin Destinati

2 Nov 28, 2021