PDF export for Drawio diagrams in Jupyter Notebook and JupyterLab
Project description
jupyter-drawio-export
PDF export of drawio diagrams for Jupyter.
See the project repo for more information.
Server Extension
jupyter-drawio-export
runs as a server extension. When installed,
it should be automatically configured. If problems arise, it can be manually
enabled:
jupyter serverextension list # If you don't see it here...
jupyter serverextension enable --sys-prefix --py jupyter_drawio_export # run this...
jupyter serverextension list # ... then check it again
Command-Line Usage
Exporting PDF
PDF can also be generated from the command line:
pip install jupyter-drawio-export
jupyter drawio-export some_file.dio
If needed, the nodejs
application will be installed into the Jupyter data path.
jupyter config --paths # it uses the one in the environment
In the future, it's hoped this can be packaged more conveniently.
Provisioning
To ensure the nodejs
application is installed without exporting a PDF (e.g
when building a docker container).
jupyter drawio-config provision
Open Source
This work is licensed under the Apache 2.0.
The vendored code from @jgraph/draw-image-export2 is also licensed under the Apache-2.0 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jupyter-drawio-export-0.8.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100d61b32bbbd23619ac64b70afd01041d06c2980dd5e8e2eb11abbc8b9ea183 |
|
MD5 | a0151243a5dc14c9d0fa7dfeac71467e |
|
BLAKE2b-256 | 37fad037acaad27642e7758e47f213c04db6531f3211b3654df7a86b47654ef3 |
Hashes for jupyter_drawio_export-0.8.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e744cccffba9ea1ed861725270f0034000f5cc50714de5f5dc6013a84e24ba |
|
MD5 | f4a4171ab3cb0f5b08363ee943977c74 |
|
BLAKE2b-256 | 7f71bbe8d1ce68ccb553892f427b33cefe47148f448c894eab55c9d3d6682905 |