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
The Open edX platform, the software that powers edX!

This is the core repository of the Open edX software. It includes the LMS (student-facing, delivering courseware), and Studio (course authoring) compo

edX 6.2k Jan 01, 2023
Speed up your typing by some exercises in the multi-platform(Windows/Ubuntu).

Introduction This project purpose is speed up your typing by some exercises in the multi-platform(Windows/Ubuntu). Build Environment Software Environm

lyfer233 1 Mar 24, 2022
redun aims to be a more expressive and efficient workflow framework

redun yet another redundant workflow engine redun aims to be a more expressive and efficient workflow framework, built on top of the popular Python pr

insitro 372 Jan 04, 2023
Domoticz-hyundai-kia - Domoticz Hyundai-Kia plugin for Domoticz home automation system

Domoticz Hyundai-Kia plugin Author: Creasol https://www.creasol.it/domotics For

Creasol 7 Aug 03, 2022
LinkScope allows you to perform online investigations by representing information as discrete pieces of data, called Entities.

LinkScope Client Description This is the repository for the LinkScope Client Online Investigation software. LinkScope allows you to perform online inv

108 Jan 04, 2023
Un script en python qui permet d'automatique bumpée (disboard.org) tout les 2h

auto-bumper Un script en python qui permet d'automatique bumpée (disboard.org) tout les 2h Pour la première utilisation, 1.Lancer Install.bat 2.(faire

!! 1 Jan 09, 2022
Calc.py - A powerful Python REPL calculator

Calc - A powerful Python REPL calculator This is a calculator with a complex sou

Alejandro 8 Oct 22, 2022
Blender 3.0 Python - Open temporary areas in the Text Editor

PopDrawers When editing text in Blender, it can be handy to have areas like Info, Console, Outliner, etc visible on screen to help with scripting. How

SpectralVectors 7 Nov 16, 2022
The code behind sqlfmt.com, a web UI for sqlfmt

The code behind sqlfmt.com, a web UI for sqlfmt

Ted Conbeer 2 Dec 14, 2022
Completed task 1 and task 2 at LetsGrowMore as a data science intern.

LetsGrowMore-Internship Completed task 1 and task 2 at LetsGrowMore as a data science intern. Task 1- Task 2- Creating a Decision Tree classifier and

Sanjyot Panure 1 Jan 16, 2022
This repository contains code for building education startup.

Learning Management System Overview It's the code for EssayBrain, a tool for teacher that automatically grades and validates essays. In order to valid

Shyam Das Shrestha 1 Nov 21, 2021
msImpersonate - User account impersonation written in pure Python3

msImpersonate v1.0 msImpersonate is a Python-native user impersonation tool that is capable of impersonating local or network user accounts with valid

Joe Helle 90 Dec 16, 2022
A comparison of mesh generators.

This repository creates meshes of the same domains with multiple mesh generators and compares the results.

Nico Schlömer 29 Dec 12, 2022
🎴 LearnQuick is a flashcard application that you can study with decks and cards.

🎴 LearnQuick is a flashcard application that you can study with decks and cards. The main function of the application is to show the front sides of the created cards to the user and ask them to guess

Mehmet Güdük 7 Aug 21, 2022
This code makes the logs provided by Fiddler proxy of the Google Analytics events coming from iOS more readable.

GA-beautifier-iOS This code makes the logs provided by Fiddler proxy of the Google Analytics events coming from iOS more readable. To run it, create a

Rafael Machado 3 Feb 02, 2022
MIB2 STD ZR Firmware Upgrade

Upgrade MIB2 STD ZR Firmware (without Navigation) About This repository contains some scripts and documentation how to upgrade the MIB2 firmware to a

Fabian 18 Dec 29, 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
Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are developing and devising) [Still developing...]

Sodium Programming Language Sodium is a general purpose programming language which is instruction-oriented (a new programming concept that we are deve

Instruction Oriented Programming 22 Jan 11, 2022
Python library to interact with Move Hub / PoweredUp Hubs

Python library to interact with Move Hub / PoweredUp Hubs Move Hub is central controller block of LEGO® Boost Robotics Set. In fact, Move Hub is just

Andrey Pokhilko 499 Jan 04, 2023
プレヤフHackUチーム「キャット・タン」が作成したアプリ「illustection」

cat_tongue_illustection プレヤフHackUチーム「キャット・タン」が作成した, プライバシー保護アプリ「illustection」です! デモ動画 https://youtu.be/z3I7LuB_i58 機能 アップロードされた画像をいい感じのイラストやの素材に置き換える(

4 Jul 03, 2021