Skip to content

r4lv/jpy-flette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jpy-flette

jpy-flette is a lightweight (~150 lines) python static website generator which uses jupyter notebooks as input. It's fantastic for documenting scientific projects, documentation, or just to share your thoughts with the world.

Installation

Install jpy-flette with pip:

pip install jpy-flette

You could also download or clone the source code from the repository:

git clone "https://github.com/r4lv/jpy-flette"
cd "jpy-flette"
python setup.py install

Usage

Make sure you check the documentation, which is actually built using jpy-flette itself!

jpy-flette transforms a directory full of .ipynb jupyter notebooks into a website with multiple pages. Let's assume the following directory structure:

~/my/directory
          └── notebooks
              ├── 00.index.ipynb
              └── 01.advanced-usage.ipynb

After calling

jpy-flette ~/my/directory/notebooks

you would obtain

~/my/directory
          ├── docs
          │   ├── index.html
          │   ├── advanced-usage.html
          │   └── static
          │       ├── style.css
          │       └── script.js
          └── notebooks
              ├── 00.index.ipynb
              └── 01.advanced-usage.ipynb

~/my/directory/docs is then ready to be published!

About

Static site generator for jupyter notebooks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages