Skip to main content

Permite calificar talleres a través de Python

Project description

📦 calificar

PyPI version License: MIT Python Versions

calificar es una librería diseñada para la evaluación automática de talleres y retos de programación en entornos Python (Jupyter, Google Colab, etc.). Permite a los estudiantes validar sus procesos en tiempo real y registrar sus calificaciones de forma automática en el sistema del docente.


📍 Índice


🚀 Instalación

Instálalo fácilmente usando pip:

pip install calificar

Luego, impórtalo en tu entorno de trabajo:

import calificar as cr

🛠️ Configuración Inicial

Para comenzar, debes inicializar tu taller. Esta función conecta tu código con el sistema de notas.

Taller1 = cr.taller('CODIGO', GRUPO, 'NOMBRE_TALLER', NUM_PREGUNTAS)

📋 Parámetros requeridos:

  • CODIGO: Tu cédula o código estudiantil (entre comillas).
  • GRUPO: El número de grupo que te asignó el docente.
  • NOMBRE_TALLER: El identificador del taller (ej: 'taller1BD2026i').
  • NUM_PREGUNTAS: Cantidad total de preguntas del taller.

📝 Cómo Responder

En Python, las listas e índices comienzan en 0. Si vas a responder la pregunta #1, el índice que debes usar es 0.

# Sintaxis: Taller1.respuestas(INDICE_PREGUNTA, RESULTADO)

# Ejemplo:
resultado_ejercicio0 = 12.5
Taller1.respuestas(0, resultado_ejercicio0) 

✅ Calificar y Validar

1. Obtener Nota y Registrar

Cuando termines tus ejercicios, ejecuta la función de calificación. Esto enviará tus datos al servidor.

Taller1.calificar()

Al ejecutarlo verás:

  1. 🔢 Validación de Puntos: Un 1 por cada punto correcto y 0 por los incorrectos.
  2. 📝 Nota: Tu calificación actual.
  3. 💬 Mensaje: Confirmación de registro y el tiempo restante para el cierre del taller.

2. Validación de Funciones (evafunciones)

Si el taller requiere crear una función de Python, usa esta herramienta para obtener un código de validación:

# Configuración del validador
URL = "[https://github.com/usuario/repo/taller1](https://github.com/usuario/repo/taller1)"
eva = cr.evafunciones(URL, GRUPO)

# Si tu función es correcta, esto generará un código secreto
codigo = eva.validar("nombre_de_tu_funcion")

# Guarda ese código como respuesta al punto correspondiente
Taller1.respuestas(4, codigo)

🔍 Funciones Auxiliares

Ver respuestas guardadas

Usa esta función para ver qué datos tienes almacenados en memoria antes de enviar la calificación final:

Taller1.resp

💡 Ejemplos Completos

👨‍💻 Caso Individual

import calificar as cr

# 1. Inicio
Taller1 = cr.taller('1026', 1, 'taller1BD2026i', 5)

# 2. Desarrollo (Pregunta 1: ¿Cuánto es 6+6?)
a = 12
Taller1.respuestas(0, a)

# 3. Calificación
Taller1.calificar()

👥 Caso en Parejas

Si trabajan dos personas, separen sus códigos con un punto y coma (;) dentro de las comillas:

Taller1 = cr.taller('1011;1012', 12, 'taller1FC2026i', 9)

📄 Licencia

Este proyecto está bajo la Licencia MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

calificar-0.1.9.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

calificar-0.1.9-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file calificar-0.1.9.tar.gz.

File metadata

  • Download URL: calificar-0.1.9.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for calificar-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d75ffa93ec1af34e1f1fd0561a0bcf69e7a5d4c1c51aebcabd25cd1956dbc270
MD5 c8c642290c9fb131bfab84073e7e75be
BLAKE2b-256 a6c6782b56d77d7a1e02b63f9fd7c438521dac186356daea417e6fc1adfb8f2b

See more details on using hashes here.

File details

Details for the file calificar-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: calificar-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for calificar-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 97ced1bb3ba585dac51675a9c38cce3f1d3e288156d06f796c20f4f9ae307582
MD5 b8479554c9fcec9fc688de6c9de93d75
BLAKE2b-256 4a95a4d7cc7aec8616a5ebd173c34ae6d39838f84400f79bec4e14be28ac8ed0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page