Hugo Jupyter
Publish Jupyter notebooks with Hugo.
Documentation: https://knowsuchagency.github.io/hugo_jupyter
Installation
pip install hugo_jupyter
Usage
cd root_of_hugo_project
hugo_jupyter --init
This will create a notebooks directory at the root of your hugo project if it doesn’t yet exist. Any jupyter notebooks you want rendered should go in the notebooks directory.
In addition, a fabfile.py script will be written at the project root.
fab serve
Automatically initializes your jupyter server, hugo server, and watchdog to re-render your jupyter notebooks to markdown for hugo as you create and edit them.
Jupyter Notebooks
Any notebooks that you create will need front matter for hugo to know how to render the content.
Once you edit the name of the jupyter notebook to something other than Untitled*.ipynb, hugo-jupyter will automatically edit the notebook’s metadata to enable rendering with jupyter. You may need to reload the notebook page to see the changes in the metadata.
There will also be a hugo-jupyter dictionary in the notebook’s metadata with a render-to field automatically set to content/post/. You can edit this field to edit where the notebook’s markdown will be rendered to.
Any other fields you add to front-matter (author, tags, thumbnail, …) are passed through to the rendered post.
Plots and other image outputs are written to static/notebooks/<slug>/ and linked from the post as /notebooks/<slug>/....
Hugo’s default markdown renderer drops raw HTML, which hides HTML outputs such as pandas tables. To show them, add this to your hugo config:
[markup.goldmark.renderer]
unsafe = true
hugo_jupyter --init copies fabfile.py into your project, so re-run it after upgrading hugo_jupyter to pick up fixes.
Metadata
Release files for hugo_jupyter 1.0.3
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 | |
|---|---|---|---|---|
| hugo_jupyter-1.0.3.tar.gz | 17.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hugo_jupyter-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.0 kB
Release files / hugo_jupyter-1.0.3.tar.gz
| Download URL | hugo_jupyter-1.0.3.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97ed179db88ec04b74c2caace627dc5cd33313306faa4f3dfc1a3ba0a2ab3dbc
|
|
BLAKE2b-256 checksum How to use checksums |
2113462bbb17ee764a30230a35a09174470152bde3797b4a3f7cefd863d4bcec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / hugo_jupyter-1.0.3-py3-none-any.whl
| Download URL | hugo_jupyter-1.0.3-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f7e1046322539875b7099219dbba64ca1fd683c800b55b3f787d86714ba5f58
|
|
BLAKE2b-256 checksum How to use checksums |
b769a3a83602b0a94bea6ee2c4119fb3ed0260a9da7796a2b7befab5a8c51b79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for hugo_jupyter 1.0.3
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.