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.
169 lines
11 KiB
JSON
169 lines
11 KiB
JSON
{
|
|
"version": "1",
|
|
"metadata": {
|
|
"marimo_version": "0.15.2"
|
|
},
|
|
"cells": [
|
|
{
|
|
"id": "aoMP",
|
|
"code_hash": "cc4a4b61a8ee606a4542fe01ac4a07df",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/plain": ""
|
|
}
|
|
}
|
|
],
|
|
"console": [
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": "Resolved 175 packages in 1.52s\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": "Downloading hf-xet (3.0MiB)\nDownloading google-api-python-client (13.3MiB)\nDownloading semgrep (47.1MiB)\nDownloading fonttools (4.6MiB)\nDownloading tokenizers (3.2MiB)\nDownloading litellm (8.5MiB)\nDownloading selenium (9.2MiB)\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Building html2text==2024.2.26\n Building pyperclip==1.9.0\n Building wget==3.2\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": "Downloading debugpy (3.4MiB)\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": "Downloading tiktoken (1.0MiB)\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Built wget==3.2\n Built pyperclip==1.9.0\n Built html2text==2024.2.26\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": "Downloading bavisitter (5.5MiB)\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading tiktoken\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading hf-xet\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading tokenizers\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading debugpy\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading fonttools\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading litellm\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading bavisitter\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading selenium\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading google-api-python-client\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": " Downloading semgrep\nPrepared 74 packages in 3.15s\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": "Uninstalled 7 packages in 17ms\n"
|
|
},
|
|
{
|
|
"type": "stream",
|
|
"name": "stderr",
|
|
"text": "Installed 124 packages in 92ms\n + aiohappyeyeballs==2.6.1\n + aiohttp==3.12.15\n + aiosignal==1.4.0\n + anthropic==0.37.1\n + async-timeout==5.0.1\n + bavisitter==0.0.4\n + blessed==1.21.0\n + boltons==21.0.0\n + bracex==2.6\n - cachetools==6.2.0\n + cachetools==5.5.2\n - click==8.2.1\n + click==8.1.8\n + click-option-group==0.5.7\n + colorama==0.4.6\n + contourpy==1.3.2\n + cycler==0.12.1\n + debugpy==1.8.16\n + defusedxml==0.7.1\n + deprecated==1.2.18\n + distro==1.9.0\n + editor==1.6.6\n - exceptiongroup==1.3.0\n + exceptiongroup==1.2.2\n + face==24.0.0\n + filelock==3.19.1\n + fonttools==4.59.2\n + frozenlist==1.7.0\n + fsspec==2025.7.0\n + git-python==1.0.3\n + gitdb==4.0.12\n + gitpython==3.1.45\n + glom==22.1.0\n + google-ai-generativelanguage==0.6.6\n + google-api-core==2.25.1\n + google-api-python-client==2.179.0\n + google-auth==2.40.3\n + google-auth-httplib2==0.2.0\n + google-generativeai==0.7.2\n + googleapis-common-protos==1.70.0\n + grpcio==1.74.0\n + grpcio-status==1.62.3\n + hf-xet==1.1.9\n + html2image==2.0.7\n + html2text==2024.2.26\n + httpcore==1.0.9\n + httplib2==0.30.0\n + httpx==0.28.1\n + huggingface-hub==0.34.4\n + importlib-metadata==7.1.0\n + inquirer==3.4.1\n + ipykernel==6.30.1\n + jiter==0.10.0\n + joblib==1.5.2\n + jupyter-client==8.6.3\n + jupyter-core==5.8.1\n + kiwisolver==1.4.9\n + litellm==1.76.0\n + markdown-it-py==4.0.0\n + matplotlib==3.10.5\n + mdurl==0.1.2\n + multidict==6.6.4\n + nest-asyncio==1.6.0\n + nltk==3.9.1\n + open-interpreter==0.4.3\n + openai==1.102.0\n + opentelemetry-api==1.25.0\n + opentelemetry-exporter-otlp-proto-common==1.25.0\n + opentelemetry-exporter-otlp-proto-http==1.25.0\n + opentelemetry-instrumentation==0.46b0\n + opentelemetry-instrumentation-requests==0.46b0\n + opentelemetry-proto==1.25.0\n + opentelemetry-sdk==1.25.0\n + opentelemetry-semantic-conventions==0.46b0\n + opentelemetry-util-http==0.46b0\n + outcome==1.3.0.post0\n + pillow==11.3.0\n + propcache==0.3.2\n + proto-plus==1.26.1\n - protobuf==6.32.0\n + protobuf==4.25.8\n - psutil==7.0.0\n + psutil==5.9.8\n + pyasn1==0.6.1\n + pyasn1-modules==0.4.2\n + pyparsing==3.2.3\n + pyperclip==1.9.0\n + pysocks==1.7.1\n + python-dotenv==1.1.1\n + pyzmq==27.0.2\n + readchar==4.2.1\n + regex==2025.8.29\n + rich==13.5.3\n + rsa==4.9.1\n + ruamel-yaml==0.18.15\n + ruamel-yaml-clib==0.2.12\n + runs==1.2.2\n + selenium==4.35.0\n + semgrep==1.134.0\n + send2trash==1.8.3\n + setuptools==80.9.0\n + shellingham==1.5.4\n + shortuuid==1.0.13\n + smmap==5.0.2\n + sortedcontainers==2.4.0\n - starlette==0.47.3\n + starlette==0.37.2\n + termcolor==2.3.0\n + tiktoken==0.7.0\n + tokenizers==0.22.0\n + tokentrim==0.1.13\n + toml==0.10.2\n + tomli==2.0.2\n + tornado==6.5.2\n + tqdm==4.67.1\n + trio==0.30.0\n + trio-websocket==0.12.2\n + typer==0.12.5\n - typing-extensions==4.15.0\n + typing-extensions==4.14.1\n + uritemplate==4.2.0\n + wcmatch==8.5.2\n + webdriver-manager==4.0.2\n + websocket-client==1.8.0\n + wget==3.2\n + wrapt==1.17.3\n + wsproto==1.2.0\n + xmod==1.8.1\n + yarl==1.20.1\n + yaspin==3.1.0\n + zipp==3.23.0\n"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "aCWo",
|
|
"code_hash": "3ae165e9e1c0e9cb05ace86a6dc3f262",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/html": "<div style='display: flex;flex: 1;flex-direction: column;justify-content: flex-start;align-items: normal;flex-wrap: nowrap;gap: 0.5rem'><marimo-ui-element object-id='aCWo-0' random-id='973dcdc4-688b-bb8b-2945-e809bf38c4e9'><marimo-text data-initial-value='""' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">OPENAI_API_KEY (opcional aqu\u00ed; si ya est\u00e1 en el entorno, deja vac\u00edo)</span></span>"' data-placeholder='""' data-kind='"text"' data-full-width='true' data-disabled='false' data-debounce='true'></marimo-text></marimo-ui-element><div style='display: flex;flex: 1;flex-direction: row;justify-content: space-between;align-items: normal;flex-wrap: nowrap;gap: 0.5rem'><marimo-ui-element object-id='aCWo-1' random-id='3cb2f00b-da11-1c60-511a-0fb0f40f62bb'><marimo-dropdown data-initial-value='["gpt-4o"]' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Modelo</span></span>"' data-options='["gpt-4o", "gpt-4o-mini", "gpt-4.1", "gpt-4o-reasoning"]' data-allow-select-none='false' data-searchable='false' data-full-width='false'></marimo-dropdown></marimo-ui-element><marimo-ui-element object-id='aCWo-2' random-id='1f4a9be7-b346-f30e-90db-bba56e3a0e5d'><marimo-radio data-initial-value='"light"' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Tema de Bavisitter</span></span>"' data-options='["light", "dark"]' data-inline='false' data-disabled='false'></marimo-radio></marimo-ui-element></div><marimo-ui-element object-id='aCWo-3' random-id='70c7c342-fe90-38ba-ef7e-40ac99eade64'><marimo-button data-initial-value='0' data-label='"<span class=\"markdown prose dark:prose-invert\"><span class=\"paragraph\">Lanzar Bavisitter</span></span>"' data-kind='"neutral"' data-disabled='false' data-full-width='false'></marimo-button></marimo-ui-element></div>"
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "ajNN",
|
|
"code_hash": "8d688461aee68cf5f12da3ab4e8f4d82",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/html": "<marimo-ui-element object-id='ajNN-0' random-id='a2cef7d0-091c-2095-7646-1e56d231f627'><marimo-dataframe data-initial-value='{"transforms": []}' data-label='null' data-columns='[["Title", "string", "object"], ["US_Gross", "number", "float64"], ["Worldwide_Gross", "number", "float64"], ["US_DVD_Sales", "number", "float64"], ["Production_Budget", "number", "float64"], ["Release_Date", "string", "object"], ["MPAA_Rating", "string", "object"], ["Running_Time_min", "number", "float64"], ["Distributor", "string", "object"], ["Source", "string", "object"], ["Major_Genre", "string", "object"], ["Creative_Type", "string", "object"], ["Director", "string", "object"], ["Rotten_Tomatoes_Rating", "number", "float64"], ["IMDB_Rating", "number", "float64"], ["IMDB_Votes", "number", "float64"]]' data-dataframe-name='"movies_df"' data-total='3201' data-page-size='5'></marimo-dataframe></marimo-ui-element>"
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "pYQS",
|
|
"code_hash": "22608c40d28d2013c08e9b6eaf612cd2",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/html": "<marimo-ui-element object-id='pYQS-0' random-id='57ca6e34-3f48-9604-fe44-fe037431fd55'><marimo-anywidget data-initial-value='{"color_mode": "light", "ipc_queue": [], "messages": [], "streaming": false}' data-label='null' data-js-url='"./@file/20082536-42199-jhi6K66B.js"' data-js-hash='"43fe0f7d5f2958f5c0b3f1f8d8c49a4f"' data-css='""' data-buffer-paths='[]'></marimo-anywidget></marimo-ui-element>"
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
},
|
|
{
|
|
"id": "gTaR",
|
|
"code_hash": "f452725116c9b87037dbbb8dfc325ec1",
|
|
"outputs": [
|
|
{
|
|
"type": "data",
|
|
"data": {
|
|
"text/html": "<pre style='font-size: 12px'>'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'</pre>"
|
|
}
|
|
}
|
|
],
|
|
"console": []
|
|
}
|
|
]
|
|
} |