Studio visual de preprocesamiento de datos — Universidad Alberto Hurtado
Project description
DataICI — v0.2
Herramienta visual de preprocesamiento de datos para estudiantes de Ingeniería Civil Industrial.
Requisitos previos
- Python 3.9+ → https://python.org
- Node.js 18+ → https://nodejs.org
Instalación y ejecución
1. Backend (FastAPI + pandas)
Abre una terminal en la carpeta dataici/:
# Windows
cd backend
pip install -r requirements.txt
uvicorn main:app --reload
# Mac
cd backend
pip3 install -r requirements.txt
uvicorn main:app --reload
Backend corriendo en: http://localhost:8000
2. Frontend (React)
Abre otra terminal:
cd frontend
npm install
npm run dev
App disponible en: http://localhost:5173
Estructura del proyecto
dataici/
├── backend/
│ ├── main.py ← API FastAPI
│ ├── requirements.txt
│ └── blocks/ ← un archivo por bloque
│ ├── load_csv.py
│ ├── drop_nulls.py
│ ├── filter_rows.py
│ ├── groupby.py
│ └── export_csv.py
│
└── frontend/
├── package.json
├── vite.config.js
└── src/
├── App.jsx ← app principal
├── nodes/
│ └── BlockNode.jsx ← nodo del canvas
└── panels/
├── Sidebar.jsx ← bloques disponibles
├── ParamsPanel.jsx ← parámetros del bloque
└── PreviewPanel.jsx ← resultados
Cómo agregar un nuevo bloque
Solo crear backend/blocks/nuevo_bloque.py. El frontend lo detecta automáticamente.
METADATA = {
"type": "mi_bloque",
"label": "Mi bloque",
"category": "Limpieza", # Entrada / Salida | Limpieza | Análisis
"params": [
{"key": "columna", "label": "Columna", "type": "text", "default": ""},
{"key": "metodo", "label": "Método", "type": "select", "options": ["a", "b"], "default": "a"},
{"key": "activo", "label": "Activar", "type": "toggle", "default": False},
]
}
def run(df, params):
col = params.get("columna")
df = df.drop(columns=[col])
code = [f'df = df.drop(columns=["{col}"])']
return df, code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dataforge_studio-1.0.1.tar.gz.
File metadata
- Download URL: dataforge_studio-1.0.1.tar.gz
- Upload date:
- Size: 168.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db2a86ac72eb7afdb17265c79d1efa06e643b3613f933dc409896b3d4a6df0db
|
|
| MD5 |
9ea525d499c6b50bf69ff20ab938b470
|
|
| BLAKE2b-256 |
b0e5d5479a46d1033708840fe19b65298917116f9281fd3f4277f236c2cf9521
|
File details
Details for the file dataforge_studio-1.0.1-py3-none-any.whl.
File metadata
- Download URL: dataforge_studio-1.0.1-py3-none-any.whl
- Upload date:
- Size: 175.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6350e00696c7bc693b9bd9d2df36b343ad45490eed0a4555529607059a55ecd
|
|
| MD5 |
12f4d76a0d99baf17932a2a13a071446
|
|
| BLAKE2b-256 |
e664a726ff69999ebf1fd541368dc4d7cf5bbdf21571510617fc4c66a529c2b2
|