# nbconvert
### Jupyter Notebook Conversion
[![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)
[![Build Status](https://travis-ci.org/jupyter/nbconvert.svg?branch=master)](https://travis-ci.org/jupyter/nbconvert)
[![Documentation Status](https://readthedocs.org/projects/nbconvert/badge/?version=latest)](https://nbconvert.readthedocs.io/en/latest/?badge=latest)
[![Documentation Status](https://readthedocs.org/projects/nbconvert/badge/?version=stable)](https://nbconvert.readthedocs.io/en/stable/?badge=stable)
[![codecov.io](https://codecov.io/github/jupyter/nbconvert/coverage.svg?branch=master)](https://codecov.io/github/jupyter/nbconvert?branch=master)
[![CircleCI Docs Status](https://circleci.com/gh/jupyter/nbconvert/tree/master.svg?style=svg)](https://circleci.com/gh/jupyter/nbconvert/tree/master)
The **nbconvert** tool, `jupyter nbconvert`, converts notebooks to various other
formats via [Jinja][] templates. The nbconvert tool allows you to convert an
`.ipynb` notebook file into various static formats including:
* HTML
* LaTeX
* PDF
* Reveal JS
* Markdown (md)
* ReStructured Text (rst)
* executable script
## Usage
From the command line, use nbconvert to convert a Jupyter notebook (*input*) to a
a different format (*output*). The basic command structure is:
$ jupyter nbconvert --to <output format> <input notebook>
where `<output format>` is the desired output format and `<input notebook>` is the
filename of the Jupyter notebook.
### Example: Convert a notebook to HTML
Convert Jupyter notebook file, `mynotebook.ipynb`, to HTML using:
$ jupyter nbconvert --to html mynotebook.ipynb
This command creates an HTML output file named `mynotebook.html`.
## Python requirement
Nbconvert 6.0 provides limited support for Python 3.6, and support will be dropped with nbconvert 6.1. Limited support means we will test and run CI on Python 3.6.12 or higher. Issues that are found only affecting Python 3.6 are not guaranteed to be fixed. We recommend all users of nbconvert use Python 3.7 and higher.
## Dev Install
Check if pandoc is installed (``pandoc --version``); if needed, install:
```
sudo apt-get install pandoc
```
Or
```
brew install pandoc
```
Install nbconvert for development using:
```
git clone https://github.com/jupyter/nbconvert.git
cd nbconvert
pip install -e .
```
Running the tests after a dev install above:
```
pip install nbconvert[test]
py.test --pyargs nbconvert
```
## Resources
- [Documentation for Jupyter nbconvert](https://nbconvert.readthedocs.io/en/latest/)
[[PDF](https://media.readthedocs.org/pdf/nbconvert/latest/nbconvert.pdf)]
- [nbconvert examples on GitHub](https://github.com/jupyter/nbconvert-examples)
- [Issues](https://github.com/jupyter/nbconvert/issues)
- [Technical support - Jupyter Google Group](https://groups.google.com/forum/#!forum/jupyter)
- [Project Jupyter website](https://jupyter.org)
- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html)
[[PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)]
[Jinja]: http://jinja.pocoo.org/
没有合适的资源?快使用搜索试试~ 我知道了~
nbconvert-6.0.1.tar.gz
0 下载量 109 浏览量
2024-06-20
23:52:46
上传
评论
收藏 819KB GZ 举报
温馨提示
Python库是一组预先编写的代码模块,旨在帮助开发者实现特定的编程任务,无需从零开始编写代码。这些库可以包括各种功能,如数学运算、文件操作、数据分析和网络编程等。Python社区提供了大量的第三方库,如NumPy、Pandas和Requests,极大地丰富了Python的应用领域,从数据科学到Web开发。Python库的丰富性是Python成为最受欢迎的编程语言之一的关键原因之一。这些库不仅为初学者提供了快速入门的途径,而且为经验丰富的开发者提供了强大的工具,以高效率、高质量地完成复杂任务。例如,Matplotlib和Seaborn库在数据可视化领域内非常受欢迎,它们提供了广泛的工具和技术,可以创建高度定制化的图表和图形,帮助数据科学家和分析师在数据探索和结果展示中更有效地传达信息。
资源推荐
资源详情
资源评论
收起资源包目录
nbconvert-6.0.1.tar.gz (236个子文件)
make.bat 7KB
setup.cfg 142B
index.css 534KB
style.css 259KB
style.css 259KB
theme-dark.css 15KB
theme-light.css 14KB
custom_reveal.css 2KB
MANIFEST.in 533B
notebook2.ipynb 122KB
Widget_List.ipynb 95KB
attachment.ipynb 45KB
svg.ipynb 19KB
notebook4_jpeg.ipynb 18KB
nbconvert_library.ipynb 18KB
pngmetadata.ipynb 16KB
notebook2.ipynb 10KB
markdown_display_priority.ipynb 8KB
notebook1.ipynb 6KB
notebook_tags.ipynb 2KB
prompt_numbers.ipynb 1KB
notebook3_with_errors.ipynb 1KB
rawtest.ipynb 1KB
latex-linked-image.ipynb 541B
notebook_jl.ipynb 450B
HelloWorld.ipynb 356B
base.tex.j2 9KB
style_jupyter.tex.j2 8KB
base.html.j2 8KB
base.html.j2 7KB
null.j2 6KB
null.j2 5KB
index.html.j2 5KB
index.html.j2 3KB
index.rst.j2 3KB
document_contents.tex.j2 3KB
style_ipython.tex.j2 3KB
index.asciidoc.j2 2KB
index.html.j2 2KB
index.md.j2 2KB
style_bw_ipython.tex.j2 2KB
index.html.j2 2KB
display_priority.j2 2KB
display_priority.j2 2KB
mathjax.html.j2 1KB
jupyter_widgets.html.j2 965B
report.tex.j2 909B
style_python.tex.j2 794B
base.html.j2 743B
index.tex.j2 496B
style_bw_python.tex.j2 479B
index.py.j2 472B
celltags.j2 213B
script.j2 84B
containerized_deployments.jpeg 12KB
conf.json 253B
conf.json 144B
conf.json 95B
conf.json 87B
conf.json 87B
conf.json 87B
conf.json 84B
conf.json 84B
conf.json 83B
conf.json 83B
LICENSE 3KB
.mailmap 11KB
Makefile 7KB
Makefile 682B
README.md 3KB
CONTRIBUTING.md 2KB
README.md 1KB
README.md 513B
README.md 318B
README.md 104B
PKG-INFO 5KB
image2.png 172KB
preprocessor_inheritance.png 64KB
exporter_inheritance.png 36KB
image1.png 36KB
writer_inheritance.png 8KB
testimage.png 2KB
templateexporter.py 24KB
test_nbconvertapp.py 23KB
test_templateexporter.py 22KB
nbconvertapp.py 21KB
exporter.py 11KB
conf.py 11KB
test_files.py 10KB
setup.py 9KB
test_markdown.py 8KB
ansi.py 8KB
pdf.py 7KB
test_strings.py 7KB
test_latex.py 7KB
test_sanitize.py 6KB
extractoutput.py 6KB
html.py 6KB
markdown_mistune.py 6KB
strings.py 6KB
共 236 条
- 1
- 2
- 3
资源评论
程序员Chino的日记
- 粉丝: 3680
- 资源: 5万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功