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
[x]it! support for working with todo and check list files in Sublime Text

[x]it! for Sublime Text This Sublime Package provides syntax-highlighting, shortcuts, and auto-completions for [x]it! files. Features Syntax highlight

Jan Heuermann 18 Sep 19, 2022
This is a modified variation of abhiTronix's vidgear. In this variation, it is possible to write the output file anywhere regardless the permissions.

Info In order to download this package: Windows 10: Press Windows+S, Type PowerShell (cmd in older versions) and hit enter, Type pip install vidgear_n

Ege Akman 3 Jan 30, 2022
WriteAIr is a website which allows users to stream their writing.

WriteAIr is a website which allows users to stream their writing. It uses HSV masking to detect a pen which the user writes with. Plus, users can select a wide range of options through hand gestures!

Atharva Patil 1 Nov 01, 2021
Auto Join Zoom Meeting

Auto-Join-Zoom-Meeting Join a zoom meeting with out filling in meeting id's or passcodes, one button for it all! Setup See attached excel document. MA

JareBear 1 Jan 25, 2022
Repositório do Projeto de Jogo da Resília Educação.

Jogo da Segurança das Indústrias Acme Descrição Este jogo faz parte do projeto de entrega do primeiro módulo da Resilia Educação, referente ao curso d

Márcio Estevam da Silva 2 Apr 28, 2022
Tutor plugin for integration of Open edX with a Richie course catalog

Richie plugin for Tutor This is a plugin to integrate Richie, the learning portal CMS, with Open edX. The integration takes the form of a Tutor plugin

Overhang.IO 2 Sep 08, 2022
a really simple bot that send you memes from reddit to whatsapp

a really simple bot that send you memes from reddit to whatsapp want to use use it? install the dependencies with pip3 install -r requirements.txt the

pai 10 Nov 28, 2021
LanguageCreator - Simple library for easy creation transpilator.

LanguageCreator - Simple library for easy creation transpilator. Create transpilators in one hour! Install. Download code, rename folder to "LanguageC

Ivan Perzhinsky. 2 Dec 31, 2021
Code and data for learning to search in local branching

Code and data for learning to search in local branching

Defeng Liu 7 Dec 06, 2022
Rufus port to linux, writed on Python3

Rufus-for-Linux Rufus port to linux, writed on Python3 Программа будет иметь тот же интерфейс что и оригинал, и тот же функционал. Программа создается

10 May 12, 2022
Another Provably Rare Gem Miner 💎 (for Raritygems)

Provably Rare Gem Miner Go (for Rarity) Pull Request is strongly welcome as I don't know anything about Golang/Python/Web3. Usage Install Python 3.x i

朱里 6 Apr 22, 2022
A python script providing an idea of how a MindSphere application, e.g., a dashboard, can be displayed around the clock without the need of manual re-authentication on enforced session expiration

A python script providing an idea of how a MindSphere application, e.g., a dashboard, can be displayed around the clock without the need of manual re-authentication on enforced session expiration

MindSphere 3 Jun 03, 2022
An osu! cheat made in c++ rewritten in python and currently undetected.

megumi-python An osu! cheat made in c++ rewritten in python and currently undetected. Installation Guide Download python 3.9 from https://python.org C

Elaina 2 Nov 18, 2022
A browser login credentials thief for windows and Linux

Thief 🦹🏻 A browser login credentials thief for windows and Linux Python script to decrypt login credentials from browsers in windows or linux Decryp

Ash 1 Dec 13, 2021
A Python application that helps users determine their calorie intake, and automatically generates customized weekly meal and workout plans based on metrics computed using their physical parameters

A Python application that helps users determine their calorie intake, and automatically generates customized weekly meal and workout plans based on metrics computed using their physical parameters

Anam Iqbal 1 Jan 13, 2022
An extended version of the hotkeys demo code using action classes

An extended version of the hotkeys application using action classes. In adafruit's Hotkeys code, a macro is using a series of integers, assumed to be

Neradoc 5 May 01, 2022
1st Online Python Editor With Live Syntax Checking and Execution

PythonBuddy 🖊️ 🐍 Online Python 3 Programming with Live Pylint Syntax Checking! Usage Fetch from repo: git clone https://github.com/ethanchewy/Python

Ethan Chiu 255 Dec 23, 2022
BridgeWalk is a partially-observed reinforcement learning environment with dynamics of varying stochasticity.

BridgeWalk is a partially-observed reinforcement learning environment with dynamics of varying stochasticity. The player needs to walk along a bridge to reach a goal location. When the player walks o

Danijar Hafner 6 Jun 13, 2022
Automated rop chain generation

This is the accompanying code to the blog post talking about automated rop chain generation. Build the test file with: make Install the dependencies:

Christopher Roberts 14 Nov 22, 2022
Python implementation of the ASFLIP advection method

This is a python implementation of the ASFLIP advection method . We would like to hear from you if you appreciate this work.

Raymond Yun Fei 133 Nov 13, 2022