Giter Site home page Giter Site logo

whigg / jupylecture Goto Github PK

View Code? Open in Web Editor NEW

This project forked from strawpants/jupylecture

0.0 1.0 0.0 1.28 MB

Template for a lecture series using jupyter notebook slides

License: MIT License

Jupyter Notebook 78.92% CSS 4.26% Python 15.90% Shell 0.92%

jupylecture's Introduction

Creating lectures using jupyter notebook slides with RISE and reveal.js

You can run the first 'lecture' in an interactive jupyter notebook here Binder

The RISE extension allows you to run reveal.js presentations with embedded code cells from jupyter. The jupylecture module adds functionality to the default RISE functionality, such as for example more freedom in placing content on the slides by using flexboxes.

Installation

Clone the jupylecture repository and install using pip (possibly in your dedicated virtual environment)

git clone https://github.com/strawpants/jupylecture 
pip install jupylecture

Initializing a new lecture setup

Navigate to a suitable destination direction and initialize the lecture files:

mkdir testlecture
cd testlecture
jupylectureinit.py NewLecture.ipynb

After initialization you can start a jupyter instance and navigate to the notebook

Tips and Tricks

  • Enable fullscreen when developing the lecture in a browser, this ensures that the aspect ratio of your lecture will be correct.
  • A bash script to export the notebooks is provided to convert the presentation to a pdf format
  • You can edit the slide description shown in the footer by going to Edit-> Edit Notebook Metadata
  • For developers: When an editable installation has been performed (pip install -e jupylecture) it's possible to add the --develop flag to jupylecture.py, so the css files and image files are symlinked instead of copied. This allows parallel development of lectures and this module (e.g. no need to update rise.css)

Todo

  • Publish on pypi when this package is a bit more mature
  • Enable a static export to html

jupylecture's People

Contributors

strawpants avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.