📦 calificar
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:
- 🔢 Validación de Puntos: Un
1por cada punto correcto y0por los incorrectos. - 📝 Nota: Tu calificación actual.
- 💬 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.
Metadata
Release files for calificar 0.1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| calificar-0.1.18.tar.gz | 6.9 kB | Without provenance | Details for calificar-0.1.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| calificar-0.1.18-py3-none-any.whl | Python 3 | none | any | Details for calificar-0.1.18-py3-none-any.whl |
Total release size: 13.9 kB
Release files / calificar-0.1.18.tar.gz
| Download URL | calificar-0.1.18.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb4f68bc7d87c6f6a8c2eb6dbad53b4a87fa3532167d66fe9b93730d53a00876
|
|
BLAKE2b-256 checksum How to use checksums |
f249c6815355be6a44fdb5777c9e51d44b8e85c61be3a97144f6e7992ac9900b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / calificar-0.1.18-py3-none-any.whl
| Download URL | calificar-0.1.18-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3cf472af0d8469ce94d9f5d81c188fad5a90cf438578f1e6b082142540da91e
|
|
BLAKE2b-256 checksum How to use checksums |
adf8f71eb73cf7e8d0fe59f73c501c1724bc86bd1ea9a8982fa1ec8f208f2461
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for calificar 0.1.18
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.