# 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=main)](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=main)](https://codecov.io/github/jupyter/nbconvert?branch=main)
[![CircleCI Docs Status](https://circleci.com/gh/jupyter/nbconvert/tree/main.svg?style=svg)](https://circleci.com/gh/jupyter/nbconvert/tree/main)
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`.
## 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
```
## Documentation
- [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)
- [Documentation for Project Jupyter](https://jupyter.readthedocs.io/en/latest/index.html)
[[PDF](https://media.readthedocs.org/pdf/jupyter/latest/jupyter.pdf)]
## Technical Support
- [Issues and Bug Reports](https://github.com/jupyter/nbconvert/issues): A place to report
bugs or regressions found for nbconvert
- [Community Technical Support and Discussion - Discourse](https://discourse.jupyter.org/): A place for
installation, configuration, and troubleshooting assistannce by the Jupyter community.
As a non-profit project and maintainers who are primarily volunteers, we encourage you
to ask questions and share your knowledge on Discourse.
## Jupyter Resources
- [Jupyter mailing list](https://groups.google.com/forum/#!forum/jupyter)
- [Project Jupyter website](https://jupyter.org)
[Jinja]: http://jinja.pocoo.org/
没有合适的资源?快使用搜索试试~ 我知道了~
nbconvert-6.4.1.tar.gz
0 下载量 157 浏览量
2024-06-19
23:28:48
上传
评论
收藏 880KB GZ 举报
温馨提示
Python库是一组预先编写的代码模块,旨在帮助开发者实现特定的编程任务,无需从零开始编写代码。这些库可以包括各种功能,如数学运算、文件操作、数据分析和网络编程等。Python社区提供了大量的第三方库,如NumPy、Pandas和Requests,极大地丰富了Python的应用领域,从数据科学到Web开发。Python库的丰富性是Python成为最受欢迎的编程语言之一的关键原因之一。这些库不仅为初学者提供了快速入门的途径,而且为经验丰富的开发者提供了强大的工具,以高效率、高质量地完成复杂任务。例如,Matplotlib和Seaborn库在数据可视化领域内非常受欢迎,它们提供了广泛的工具和技术,可以创建高度定制化的图表和图形,帮助数据科学家和分析师在数据探索和结果展示中更有效地传达信息。
资源推荐
资源详情
资源评论
收起资源包目录
nbconvert-6.4.1.tar.gz (246个子文件)
make.bat 7KB
setup.cfg 225B
index.css 539KB
style.css 259KB
style.css 259KB
theme-dark.css 15KB
theme-light.css 14KB
custom_reveal.css 2KB
notebook1.html 270KB
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
notebook3.ipynb 997B
Unexecuted_widget.ipynb 977B
Unexecuted_widget_2.ipynb 977B
MixedMarkdown.ipynb 820B
latex-linked-image.ipynb 541B
notebook_jl.ipynb 450B
HelloWorld.ipynb 356B
base.tex.j2 9KB
base.html.j2 9KB
style_jupyter.tex.j2 8KB
base.html.j2 7KB
null.j2 6KB
null.j2 5KB
index.html.j2 5KB
index.html.j2 3KB
index.html.j2 3KB
index.rst.j2 3KB
document_contents.tex.j2 3KB
style_ipython.tex.j2 3KB
index.html.j2 2KB
index.asciidoc.j2 2KB
index.md.j2 2KB
style_bw_ipython.tex.j2 2KB
display_priority.j2 2KB
display_priority.j2 1KB
jupyter_widgets.html.j2 1KB
mathjax.html.j2 1KB
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
lablike.html.j2 98B
script.j2 84B
index.html.j2 39B
index.pdf.j2 36B
containerized_deployments.jpeg 12KB
conf.json 391B
conf.json 283B
conf.json 251B
conf.json 144B
conf.json 95B
conf.json 89B
conf.json 87B
conf.json 87B
conf.json 87B
conf.json 87B
conf.json 84B
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 4KB
image2.png 172KB
preprocessor_inheritance.png 64KB
exporter_inheritance.png 36KB
image1.png 36KB
writer_inheritance.png 8KB
testimage.png 2KB
test_templateexporter.py 27KB
test_nbconvertapp.py 25KB
templateexporter.py 25KB
nbconvertapp.py 22KB
exporter.py 12KB
conf.py 11KB
test_files.py 10KB
setup.py 9KB
共 246 条
- 1
- 2
- 3
资源评论
程序员Chino的日记
- 粉丝: 3715
- 资源: 5万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功