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
All Assignments , Test , Quizzes and Exams with solutions from NIT Patna B.Tech CSE 5th Semester.

A 🌟 to repo would be delightful, just do it ✔️ it is inexpensive. All Assignments , Quizzes and Exam papers at one place with clean and elegant solut

LakhanKumawat ᵖ⁺ 16 Dec 05, 2022
The update manager for the ERA App (era.sh)

ERA Update Manager This is the official update manager used in the ERA app (see era.sh) How it works Once a new version of ERA is available, the app l

Kian Shahriyari 1 Dec 29, 2021
pybind11 — Seamless operability between C++11 and Python

pybind11 — Seamless operability between C++11 and Python Setuptools example • Scikit-build example • CMake example pybind11 is a lightweight header-on

pybind 12.1k Jan 08, 2023
An advanced NFT Generator

NFT Generator An advanced NFT Generator Free software: GNU General Public License v3 Documentation: https://nft-generator.readthedocs.io. Features TOD

NFT Generator 5 Apr 21, 2022
A Python script to parse Fortinet products serial numbers, and detect the associated model and version.

ParseFortinetSerialNumber A Python script to parse Fortinet products serial numbers, and detect the associated model and version. Example $ ./ParseFor

Podalirius 10 Oct 28, 2022
This is an independent project to track Nubank expenses

Nubank expense tracker This is an independent project to track Nubank expenses. To fetch Nubank data we are going to use an unofficial Nubank API, tha

Ramon Gazoni Lacerda 0 Aug 28, 2022
PBN Obfuscator: A overpowered obfuscator for python, which will help you protect your source code

PBN Obfuscator PBN Obfuscator is a overpowered obfuscator for python, which will

Karim 6 Dec 22, 2022
Context-free grammar to Sublime-syntax file

Generate a sublime-syntax file from a non-left-recursive, follow-determined, context-free grammar

Haggai Nuchi 8 Nov 17, 2022
Python Freecell Solver

freecell Python Freecell Solver Very early version right now. You can pick a board by changing the file path in freecell.py If you want to play a game

Ben Kaufman 1 Nov 26, 2021
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
List Less Than Ten with python

List Less Than Ten with python

PyLaboratory 0 Feb 07, 2022
Check a discord message and give it a percentage of scamminess

scamChecker Check a discord message and give it a percentage of scamminess Run the bot, and run the command !scamCheck and it will return a percentage

3 Sep 22, 2022
Assembly example for CadQuery

Spindle and vacuum attachment This is a model of the vacuum attachment for my Workbee CNC router. There is a mist spray coming from the left hand side

Marcus Boyd 20 Sep 16, 2022
Would upload anything I do with/related to brainfuck

My Brainfu*k Repo Basically wanted to create something with Brainfu*k but realized that with the smol brain I have, I need to see the cell values real

Rafeed 1 Mar 22, 2022
Demodulate and error correct FIS-B and ADS-B signals on 978 MHz.

FIS-B 978 ('fisb-978') is a set of programs that demodulates and error corrects FIS-B (Flight Information System - Broadcast) and ADS-B (Automatic Dep

2 Nov 15, 2022
Python samples for Google Cloud Platform products.

Google Cloud Platform Python Samples Python samples for Google Cloud Platform products. Setup Install pip and virtualenv if you do not already have th

Google Cloud Platform 6k Jan 03, 2023
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
a simple functional programming language compiler written in python

Functional Programming Language A compiler for my small functional language. Written in python with SLY lexer/parser generator library. Requirements p

Ashkan Laei 3 Nov 05, 2021
Basic-Killfeed - A simple DayZ Console Killfeed

Basic-Killfeed A simple DayZ Console Killfeed. Setup Install Python Version 3.10

Nick 1 Apr 25, 2022
Sheet2export - FreeCAD macro to export spreadsheet

Description This is FreeCAD macro to export spreadsheet to file.

Darek L 3 Jul 09, 2022