Setup nbconvert
Jump to navigation
Jump to search
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
- 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