Skip to main content
https://img.shields.io/pypi/v/hugo_jupyter.svg https://img.shields.io/travis/knowsuchagency/hugo_jupyter.svg Updates https://img.shields.io/github/license/mashape/apistatus.svg

Publish Jupyter notebooks with Hugo.

Installation

pip install hugo_jupyter

Usage

example_movie.gif
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.

http://i.imgur.com/ynQs0gB.png http://i.imgur.com/Jcjwc0y.png

Release files for hugo_jupyter 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hugo_jupyter 1.0.2
File Size Uploaded
hugo_jupyter-1.0.2.tar.gz 201.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hugo_jupyter 1.0.2
File Interpreter ABI Platform
hugo_jupyter-1.0.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 213.2 kB

Release files / hugo_jupyter-1.0.2.tar.gz

Download URL hugo_jupyter-1.0.2.tar.gz
Size 201.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b3991ea0c9d22acf45919ea03f64a4952e8775eb46ee2a05a4b6e012b749bdd6
BLAKE2b-256 checksum
How to use checksums
1470158041c90c022f7091ce9ae969809b23db88cb2cf68780706198656acc06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / hugo_jupyter-1.0.2-py2.py3-none-any.whl

Download URL hugo_jupyter-1.0.2-py2.py3-none-any.whl
Size 11.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cdf27ff0eddf0116f8ee7f5aaa2601c4da13996e5214518e888755389214538c
BLAKE2b-256 checksum
How to use checksums
a2a5b85ff77104b31cb6601509ee26882db4c9a1bbc8e5e55a484fbfffc84c3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page