46573ccc8e
- Implement dibujar.py for drawing functionality with base64 and PIL image rendering. - Create dibujar_retropaint.py for retro painting features using the Paint widget. - Develop draw_data.py to visualize data with Scatter and Bar widgets, including lazy installation of dependencies. - Add layout configuration for graphical representations in layouts/Graficos_plotly.grid.json. - Enhance shell interaction with mejora_shell_mowidget.py, allowing local library imports and script execution. - Introduce primera_prueba_shell_mowidget.py for testing shell commands and user input handling. - Create prueba_de_embeddings.py for embedding visualizations using Sentence Transformers and dimensionality reduction techniques. - Implement pygwalker_visualizaciones.py for interactive data exploration and visualization using Pygwalker. - Add a sample bash script for user input and ping functionality in scripts/mi_script.sh.
73 lines
7.6 KiB
JSON
73 lines
7.6 KiB
JSON
{
|
|
"version": "1",
|
|
"metadata": {
|
|
"marimo_version": "0.15.1"
|
|
},
|
|
"cells": [
|
|
{
|
|
"id": "PAsy",
|
|
"code_hash": "94e20b90f1aa8f0a214c914a85797064",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/plain": ""
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "QMQS",
|
|
"code_hash": "546c6818067914a665e41ca6174ea5d2",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/html": "<marimo-ui-element object-id='QMQS-7' random-id='eb5a69bc-4fc7-1081-874f-ac0991454d14'><marimo-tabs data-initial-value='""' data-label='null' data-tabs='["<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Editor</span></span>", "<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Opciones</span></span>", "<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Exportar</span></span>"]'><div data-kind='tab'><div style='display: flex;flex: 1;flex-direction: column;justify-content: flex-start;align-items: normal;flex-wrap: nowrap;gap: 0.5rem'><span class=\"markdown prose dark:prose-invert\"><h2 id=\"diagrama-d2\">Diagrama D2</h2></span><marimo-ui-element object-id='QMQS-0' random-id='515c547e-af68-9f27-6f5b-12a1fb564e13'><marimo-text-area data-initial-value='"\n# Ajustes de layout\ndirection: right\n\n# Nodos\napp: {\n label: \"Ingesta\"\n shape: rectangle\n}\ndb: {\n label: \"PostgreSQL\"\n shape: cylinder\n}\ndashboard: {\n label: \"Metabase\"\n}\n\n# Enlaces\napp -> db: \"escribe\"\ndb -> dashboard: \"lee\"\n"' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Definici\u00f3n D2</span></span>"' data-placeholder='""' data-disabled='false' data-debounce='true' data-full-width='true'></marimo-text-area></marimo-ui-element></div></div><div data-kind='tab'><div style='display: flex;flex: 1;flex-direction: column;justify-content: flex-start;align-items: normal;flex-wrap: nowrap;gap: 0.5rem'><div style='display: flex;flex: 1;flex-direction: row;justify-content: flex-start;align-items: normal;flex-wrap: nowrap;gap: 1remrem'><marimo-ui-element object-id='QMQS-1' random-id='60066a24-52f7-4c1c-3b5f-5998c196d1bd'><marimo-number data-initial-value='200' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">themeID (D2)</span></span>"' data-debounce='false' data-full-width='false' data-disabled='false'></marimo-number></marimo-ui-element><marimo-ui-element object-id='QMQS-2' random-id='a8b41a6c-15c2-807f-ccd0-15284534626d'><marimo-number data-initial-value='8' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Padding</span></span>"' data-debounce='false' data-full-width='false' data-disabled='false'></marimo-number></marimo-ui-element><marimo-ui-element object-id='QMQS-3' random-id='d742773d-b10c-aa0c-ee2d-6d31e98dc13c'><marimo-checkbox data-initial-value='false' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Sketch (boceto)</span></span>"' data-disabled='false'></marimo-checkbox></marimo-ui-element><marimo-ui-element object-id='QMQS-4' random-id='9e259bf8-24c8-041d-f89c-c933b14963cb'><marimo-checkbox data-initial-value='true' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Animar aristas</span></span>"' data-disabled='false'></marimo-checkbox></marimo-ui-element></div><span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Configura opciones del compilador D2.</span></span></div></div><div data-kind='tab'><div style='display: flex;flex: 1;flex-direction: column;justify-content: flex-start;align-items: normal;flex-wrap: nowrap;gap: 0.5rem'><div style='display: flex;flex: 1;flex-direction: row;justify-content: space-between;align-items: normal;flex-wrap: nowrap;gap: 1remrem'><marimo-ui-element object-id='QMQS-5' random-id='bbc2b31c-f8ef-0528-3dfd-9b9fc79dcef2'><marimo-text data-initial-value='"diagrama.svg"' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Archivo SVG</span></span>"' data-placeholder='""' data-kind='"text"' data-full-width='false' data-disabled='false' data-debounce='true'></marimo-text></marimo-ui-element><marimo-ui-element object-id='QMQS-6' random-id='53760e40-5a18-d21c-2d72-4e22ccf274b1'><marimo-button data-initial-value='0' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Exportar SVG</span></span>"' data-kind='"neutral"' data-disabled='false' data-full-width='false'></marimo-button></marimo-ui-element></div></div></div></marimo-tabs></marimo-ui-element>"
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "TnjD",
|
|
"code_hash": "41f9907bf972ce897a2ad67187d4cf9d",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/plain": ""
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "sZfp",
|
|
"code_hash": "7bf29202f31b41c297a1460d533821d8",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/html": "<marimo-ui-element object-id='sZfp-0' random-id='69b494f0-b519-c1e5-11cf-ca41c02da22a'><marimo-anywidget data-initial-value='{"_svg": "", "diagram": "direction: right\nApp: { label: \"App\" }\nCache: { label: \"Redis\"; shape: cylinder }\nDB: { label: \"PostgreSQL\"; shape: cylinder }\nETL: { label: \"ETL/ELT\" }\nDWH: { label: \"DWH\"; shape: cylinder }\nBI: { label: \"Metabase/Superset\" }\n\nApp -> Cache: \"lecturas frecuentes\"\nApp -> DB: \"transacciones\"\nDB -> ETL: \"CDC/batch\"\nETL -> DWH: \"modelo anal\u00edtico\"\nDWH -> BI: \"dashboards\"", "options": {"themeID": 200, "pad": 8, "sketch": false}}' data-label='null' data-js-url='"./@file/904-9611-UDA4EMTF.js"' data-js-hash='"a14310193ea1f4589fc8ec0fcaffe6f2"' data-css='".d2-widget{width:100%}.error{font-family:Consolas,monospace;padding:10px;color:#721c24;background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;margin:10px 0}\n"' data-buffer-paths='[]'></marimo-anywidget></marimo-ui-element>"
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "vyjm",
|
|
"code_hash": "ba41c23d72ae2c108d2c457be33ca15c",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/plain": ""
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
}
|
|
]
|
|
} |