Skip to content

minusxai/smart-nbconvert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-nbconvert

smart-nbconvert is a tool for automatically generating detailed reports from Jupyter Notebooks with the help of LLMs. This python script processes the notebook, notebook, extracts key content, and converts it into a structured markdown report. It also handles inline images, etc.

Installation

pip install -r requirements.txt

Usage

# export your openai key if you haven't already
export OPENAI_API_KEY="your_openai_api_key"

# simple usage
python smart_nbconvert.py --notebook examples/anthropic_analysis.ipynb

# more controls
python smart_nbconvert.py \
  --notebook examples/anthropic_analysis.ipynb \
  --model gpt-4o \
  --instructions "How to reduce latency" \
  --output report.md

Example input/output

example

License

MIT License

About

Create an automated report from a notebook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages