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
File details
Details for the file jupyter-drawio-export-0.8.0a1.tar.gz
.
File metadata
- Download URL: jupyter-drawio-export-0.8.0a1.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100d61b32bbbd23619ac64b70afd01041d06c2980dd5e8e2eb11abbc8b9ea183 |
|
MD5 | a0151243a5dc14c9d0fa7dfeac71467e |
|
BLAKE2b-256 | 37fad037acaad27642e7758e47f213c04db6531f3211b3654df7a86b47654ef3 |
File details
Details for the file jupyter_drawio_export-0.8.0a1-py3-none-any.whl
.
File metadata
- Download URL: jupyter_drawio_export-0.8.0a1-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e744cccffba9ea1ed861725270f0034000f5cc50714de5f5dc6013a84e24ba |
|
MD5 | f4a4171ab3cb0f5b08363ee943977c74 |
|
BLAKE2b-256 | 7f71bbe8d1ce68ccb553892f427b33cefe47148f448c894eab55c9d3d6682905 |