PlotlyHTMLExporter
Plotly friendly, Jupyter Notebook HTML Exporter.
NBConvert is a module to convert Jupyter Notebooks to other formats (pdf, html etc.). It supplies HTMLExporter which is used to convert Jupyter Notebooks to html.
PlotlyHTMLExporter is a custom Exporter derived from HTMLExporter. It sanitizes the JS/HTML present in output cells, but keeps the trusted plotly.js output intact, thus allowing the plotly charts to be rendered in the resulting html.
Installation:
Using pip:
$ pip install plotlyhtmlexporter
From Source:
$ git clone https://github.com/plotly/plotlyhtmlexporter $ cd plotlyhtmlexporter $ python setup.py install
Usage:
From Command Line (with NBConvert):
$ jupyter nbconvert --to plotlyhtml mynotebook.ipynb
From the Python interpreter:
>>> import nbformat
>>> nb = nbformat.read('mynotebook.ipynb', 4)
>>> from plotlyhtmlexporter import PlotlyHTMLExporter
>>> exp = PlotlyHTMLExporter()
>>> body, resources = exp.from_notebook_node(nb)
License: MIT
Metadata
Release files for plotlyhtmlexporter 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plotlyhtmlexporter-0.0.2.tar.gz | 3.5 kB | Without provenance | Details for plotlyhtmlexporter-0.0.2.tar.gz |
Release files / plotlyhtmlexporter-0.0.2.tar.gz
| Download URL | plotlyhtmlexporter-0.0.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73b3db67acc02f2197c0ee6eb821eec854065b4aa8ae50b66d066fa8acb1e240
|
|
BLAKE2b-256 checksum How to use checksums |
92e944981245c2977d68b6c3262090d84fc2f5335141483f179ead76c879fcfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for plotlyhtmlexporter 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.