Files
fn_registry/bash/functions/infra/write_jupyter_launcher.md
T
egutierrez bf1efb2099 feat: externalize apps/analysis to Gitea repos, add analysis table
- Migration 007: repo_url on apps table + analysis table with FTS5
- Analysis struct, parser, CRUD, validation, hash computation
- Selective purge: remote-only apps/analysis preserved across fn index
- CLI: fn app list/clone/pull, fn analysis list/clone/pull
- search/show/list now include analysis results
- Apps removed from git tracking (content lives in Gitea repos)
- .gitkeep for apps/ and analysis/ dirs
- Bash functions: jupyter analysis pipeline, shell utilities
- Browser domain: CDP functions moved from infra to browser

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 04:23:51 +02:00

1.1 KiB

name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path
name kind lang domain version purity signature description tags uses_functions uses_types returns returns_optional error_type imports tested tests test_file_path file_path
write_jupyter_launcher function bash infra 1.0.0 impure write_jupyter_launcher([project_dir: string]) -> string Genera un script run-jupyter-lab.sh que lanza Jupyter Lab en modo colaborativo con autodeteccion de puerto y token deshabilitado.
jupyter
launcher
setup
infra
false error_go_core
false
bash/functions/infra/write_jupyter_launcher.sh

Ejemplo

source write_jupyter_launcher.sh
path=$(write_jupyter_launcher /home/lucas/analysis/finanzas)
echo "Launcher creado en: $path"

# Luego en otra terminal:
# ./run-jupyter-lab.sh [puerto]

Notas

El launcher generado:

  • Autodetecta un puerto libre (8888-8899)
  • Guarda el puerto en .jupyter-port para que otros procesos lo lean
  • Activa el venv automaticamente
  • Lanza Jupyter Lab en modo --collaborative (requiere jupyter-collaboration)
  • Token y password deshabilitados para acceso local