Live rich content slides in jupyter notebook
Project description
ipyslides
Create Interactive Slides in Jupyter/Voila with all kind of rich content.
Install
> pip install ipyslides
For development install, clone this repository and then
> cd ipyslides
> pip install -e .
Usage
import ipyslides as isd
isd.initilize() #This will create a title page and parameters in same cell
isd.insert_title() #This will capture the title page with magice %%title
isd.insert(1) #This will create a slide in same cell where you run it
isd.insert_after(1) #This will create as many slides after the slide number 1 as length of list/tuple at cell end
isd.build() #This will build the presentation cell. After this go top and set __slides_mode = True and run all below.
Each command is replaced by its output, so that when you run next time, you don't get duplicate slides.
For jupyterlab >= 3, do pip install sidecar for better presenting mode.
Content Types to Embed
You can embed anything that you can include in Jupyter notebook like ipywidgets,HTML,PDF,Videos etc.,including jupyter notebook itself! I am not kidding, see
Note: Websites may refuse to load in iframe. Jupyterlab was loaded inside itself, but refused in Voila.
Full Screen Presentation
- Use Voila for full screen prsentations. Your notebook remains same, it is just get run by Voila.
Jupyterlab-Sidecar does not give 100% full screen experience but it is more useful in context of content types you can use e.g. showing magic of codeing inside slides!
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
ipyslides-0.1.0.tar.gz
(11.1 kB
view hashes)
Built Distribution
ipyslides-0.1.0-py3-none-any.whl
(11.9 kB
view hashes)
Close
Hashes for ipyslides-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 231969b160bfe445cfcdbe7b7a49c7148c59bdaef41088ad05efedc4e37d7e84 |
|
MD5 | 60bacce893f8d39c9aeef6e6911a1f85 |
|
BLAKE2b-256 | 91ff1d56108369c57650e36598bd658a9209876c9b64b643ef34af3d74b4d727 |