Setup nbconvert: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
(Created page with "== nbconvert == The '''nbconvert''' tool<ref>https://github.com/jupyter/nbconvert</ref> (jupyter nbconvert) converts notebooks to various other formats via Jinja templates. The nbconvert tool allows you to convert an .ipynb into * HTML * LaTeX * PDF * Reveal JS * Markdown (md) * ReStructured Text (rst) * executable script * etc == Setup nvconvert on Ubuntu == <syntaxhighlight lang="bash"> #Install pandoc sudo apt-get install pandoc # install nbconvert with webpdf su...")
 
(Fix: remove --- horizontal lines (7 removed))
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== nbconvert ==
{{Status
|status=Draft
|owner=Knowledge Agent
|last_update=2026-07-16
|review=Pending
}}
 
{{TOC}}
 
== Overview ==
 
Setup nbconvert에 대한 기술 문서입니다.
 
=== Summary ===
 
* 무엇인가? - Setup nbconvert
* 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
* 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시
 
 
== Purpose ==
 
이 문서가 존재하는 이유
 
* Goal: Setup nbconvert에 대한 기술 정보 제공
* Scope: Setup nbconvert의 개념, 사용법, 설정
* Non-goals: 다른 주제로의 확장
 
 
== Key Concepts ==
 
{| class="wikitable"
! Concept
! Description
! Related
|-
| Setup nbconvert
| HPC/서버 환경에서 중요한 기술 개념
| [[Linux]], [[Server]]
|}
 
 
== Detailed Explanation ==
 
The '''nbconvert''' tool<ref>https://github.com/jupyter/nbconvert</ref> ([[jupyter]] nbconvert) converts notebooks to various other formats via Jinja templates. The nbconvert tool allows you to convert an .ipynb into  
The '''nbconvert''' tool<ref>https://github.com/jupyter/nbconvert</ref> ([[jupyter]] nbconvert) converts notebooks to various other formats via Jinja templates. The nbconvert tool allows you to convert an .ipynb into  
* HTML
* HTML
* LaTeX
* LaTeX
Line 10: Line 52:
* executable script
* executable script
* etc
* etc
== Setup nvconvert on Ubuntu ==
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
#Install pandoc  
#Install pandoc  
sudo apt-get install pandoc
sudo apt-get install pandoc
# install nbconvert with webpdf
# install nbconvert with webpdf
sudo -H pip install --upgrade nbconvert[webpdf] pyppeteer
sudo -H pip install --upgrade nbconvert[webpdf] pyppeteer
#Running the tests after a dev install above:
#Running the tests after a dev install above:
pip install nbconvert[test]
pip install nbconvert[test]
py.test --pyargs nbconvert
py.test --pyargs nbconvert
</syntaxhighlight>
</syntaxhighlight>
== Usage ==
General command line usage is,  
General command line usage is,  
<code>$ jupyter nbconvert --to <output format> <input notebook></code>
<code>$ jupyter nbconvert --to <output format> <input notebook></code>


<syntaxhighlight lang="bash">
#allow notebook to export webpdf format
jupyter nbconvert --to webpdf --allow-chromium-download HPCMATE.ipynb
</syntaxhighlight>


== Best Practices ==
* 최신 버전 사용 권장
* 공식 문서 참고
* 테스트 환경에서 먼저 검증


Further details is available at https://nbconvert.readthedocs.io/en/latest/usage.html


== References ==
== References ==
<references />
 
* [https://wiki.hpcmate.com Setup nbconvert]
 
 
== Related Pages ==
 
* [[Linux]]
* [[Server]]
* [[Hardware]]
* [[Network]]
 
 
[[Category:Server]]
== Knowledge Graph ==
 
Related
 
→ [[Linux]]
→ [[Server]]
→ [[Hardware]]
→ [[Network]]
 
[[Category:Reference]]

Latest revision as of 11:30, 17 July 2026

Template:Status

Template:TOC

Overview

Setup nbconvert에 대한 기술 문서입니다.

Summary

  • 무엇인가? - Setup nbconvert
  • 왜 필요한가? - HPC 및 서버 환경에서 필수 개념
  • 언제 사용하는가? - 서버 구성, 성능 튜닝, 문제 해결 시


Purpose

이 문서가 존재하는 이유

  • Goal: Setup nbconvert에 대한 기술 정보 제공
  • Scope: Setup nbconvert의 개념, 사용법, 설정
  • Non-goals: 다른 주제로의 확장


Key Concepts

Concept Description Related
Setup nbconvert HPC/서버 환경에서 중요한 기술 개념 Linux, Server


Detailed Explanation

The nbconvert tool[1] (jupyter nbconvert) converts notebooks to various other formats via Jinja templates. The nbconvert tool allows you to convert an .ipynb into

  • HTML
  • LaTeX
  • PDF
  • Reveal JS
  • Markdown (md)
  • ReStructured Text (rst)
  • executable script
  • etc
#Install pandoc 
sudo apt-get install pandoc
# install nbconvert with webpdf
sudo -H pip install --upgrade nbconvert[webpdf] pyppeteer
#Running the tests after a dev install above:
pip install nbconvert[test]
py.test --pyargs nbconvert

General command line usage is, $ jupyter nbconvert --to <output format> <input notebook>


Best Practices

  • 최신 버전 사용 권장
  • 공식 문서 참고
  • 테스트 환경에서 먼저 검증


References


Related Pages

Knowledge Graph

Related

LinuxServerHardwareNetwork