trulens-notebook-execution

Execute and display TruLens notebooks using jupyter nbconvert.

3.5k|319|Updated Nov 2, 2020
One-click install
npx skills add https://github.com/truera/trulens --skill trulens-notebook-execution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trulens-notebook-execution
Source: https://github.com/truera/trulens/tree/main/skills/notebook-execution
Command: npx skills add https://github.com/truera/trulens --skill trulens-notebook-execution

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Execute and display TruLens notebooks for demos and quickstarts, reducing manual notebook execution overhead.

Core Features & Use Cases

  • Notebook execution: Run notebooks end-to-end preserving state and capturing outputs.
  • Progress visibility: Show structured progress per notebook section during execution.
  • Environment isolation: Manage API keys and environment requirements to run notebooks safely.

Quick Start

Use this skill to run a demo notebook. Example: jupyter nbconvert --to notebook --execute --inplace /path/to/notebook.ipynb jupyter nbconvert --to notebook --execute --stdout /path/to/notebook.ipynb

Frequently Asked Questions about trulens-notebook-execution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute Jupyter notebooks for demos and capture their outputs?

To execute Jupyter notebooks and capture outputs, you can use jupyter nbconvert to run notebooks end-to-end while preserving state. This approach displays structured progress per section, reducing manual execution overhead for quickstart tutorials and demos.

What is the best way to run TruLens quickstart tutorials without manual overhead?

The best way to run TruLens quickstart tutorials is by executing them programmatically with jupyter nbconvert. This automates notebook execution, preserves state, captures outputs, and provides structured progress visibility for each notebook section.

Can I manage API keys and environment requirements when running notebook-driven demos?

Yes, you can manage API keys and environment requirements when running notebook-driven demos. The execution process supports environment isolation to safely handle API keys and ensure all environment prerequisites are met before running notebooks.

Does nbconvert support showing live progress for each notebook section during execution?

Yes, when executing notebooks via nbconvert for demos, the process provides live progress visibility. It shows structured progress per notebook section during execution, allowing you to track the notebook execution state in real time.

Do I need a specific Python environment to execute and validate example notebooks?

Yes, you need a Python environment to execute and validate example notebooks. The notebook execution process relies on jupyter nbconvert and a Python environment to run notebooks, capture outputs, and optionally support tracing and dashboards.