Metadata-Version: 2.4
Name: atril
Version: 0.7.1
Summary: Gestiona una instalación local de DeepTutor y sus temarios
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Natural Language :: Spanish
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Typing :: Typed
Requires-Dist: acodo>=0.5.1,<1
Requires-Dist: psutil>=7
Requires-Dist: rich>=14
Requires-Dist: typer>=0.20
Requires-Python: >=3.13
Project-URL: Repository, https://github.com/isidro-rodriguez/atril
Project-URL: Changelog, https://github.com/isidro-rodriguez/atril/blob/main/CHANGELOG.md
Description-Content-Type: text/markdown

# atril

CLI para gestionar una instalación local de [DeepTutor](https://github.com/HKUDS/DeepTutor)
y sus temarios (fuentes, bases de conocimiento, evaluación y backup).

> Estado: fases 0–3 completas (configuración, DeepTutor, temarios, fuentes, KB y backup).

## 🚀 Instalación

```bash
uv tool install atril          # uso diario
```

Desarrollo:

```bash
git clone https://github.com/isidro-rodriguez/atril.git
cd atril
uv sync
```

## 🛠️ Uso

```bash
atril --estacion D:\Desarrollo\DeepTutor validar   # o ATRIL_ESTACION, o desde la estación
```

| Grupo | Comandos | Fase |
|---|---|---|
| Configuración | `validar` | 0 ✅ |
| DeepTutor | `instalar` · `actualizar` · `arrancar` · `parar` · `estado` · `parches` | 1 ✅ |
| Temarios | `temario lista` · `temario cobertura <t>` | 2 ✅ |
| Fuentes | `fuentes descargar <t> [ids]` · `fuentes comprobar <t> [ids] [--todas]` | 2 ✅ |
| KB | `kb indexar <t> [kb]` · `kb reindexar <kb>` · `kb evaluar <kb> [-k 5] [--detalle]` | 2 ✅ |
| Backup | `backup [-d destino]` · `backup comprobar [--datos 5%]` · `backup restaurar -d destino` | 3 ✅ |
| Otros | `accesos` | 5 |

Configuración: [`docs/esquemas.md`](https://github.com/isidro-rodriguez/atril/blob/main/docs/esquemas.md) · ejemplos en [`docs/ejemplos/`](https://github.com/isidro-rodriguez/atril/blob/main/docs/ejemplos/).

## ✅ Calidad

```bash
uv run ruff format .
uv run ruff check .
uv run ty check
uv run pytest
```

Con [Poe the Poet](https://poethepoet.natn.io/): `poe check` · `poe fix` · `poe backup`.

## Enlaces

- Decisiones de diseño: [`docs/decisiones.md`](https://github.com/isidro-rodriguez/atril/blob/main/docs/decisiones.md)
- Plantilla base: <https://github.com/isidro-rodriguez/acodo-template>
- Acodo: <https://github.com/isidro-rodriguez/acodo>

## Licencia

[MIT](https://github.com/isidro-rodriguez/atril/blob/main/LICENSE).
