• Stars
    star
    74
  • Rank 414,833 (Top 9 %)
  • Language
    Python
  • License
    BSD 3-Clause "New...
  • Created over 6 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Sphinx Extension for Generating Jupyter Notebooks

sphinxcontrib.jupyter

A Sphinx Extension for Generating Jupyter Notebooks

Documentation Status status-travis

Summary

This sphinx extension can be used to:

  1. build a collection of jupyter notebooks,
  2. execute the Jupyter notebooks,
  3. convert the executed notebooks to html using nbconvert with template support.

Note: It has mainly been written to support the use case of scientific publishing and hasn't been well tested outside of this domain. Please provide feedback as an issue to this repository.

Requires: Sphinx >= 1.7.2 (for running tests).

Examples

Installation

pip install sphinxcontrib-jupyter

to get the latest version it is best to install directly by getting a copy of the repository, and

python setup.py install

if you are wishing to make changes to the project it is best to install using

python setup.py develop

Usage

Update project conf.py file to include the jupyter extension and the desired Configuration settings (see configuration section below):

extensions = ["sphinxcontrib.jupyter"]

then run

make jupyter

Usage in RST Files

The documentation is the best resource to find usage examples.

A minimum configured sphinx repo is available here which generates a sample notebook

Configuration

The documentation is the best resource for configuration settings.

Credits

This project is supported by QuantEcon

Many thanks to the contributors of this project.

LICENSE

Copyright ยฉ 2019 QuantEcon Development Team: BSD-3 All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

More Repositories

1

QuantEcon.py

A community based Python library for quantitative economics
Python
1,860
star
2

QuantEcon.jl

Julia implementation of QuantEcon routines
Julia
489
star
3

quantecon-notebooks-python

A Repository of Notebooks for the Python Lecture Site
Jupyter Notebook
263
star
4

lecture-python.notebooks

Notebooks for https://python.quantecon.org
Jupyter Notebook
225
star
5

lecture-source-py

Source files for "Lectures in Quantitative Economics" -- Python version
Jupyter Notebook
191
star
6

QuantEcon.cheatsheet

A cheatsheet for Python and Julia
TeX
155
star
7

lecture-source-jl

Source files for "Lectures in Quantitative Economics" -- Julia version
TeX
128
star
8

GameTheory.jl

Algorithms and data structures for game theory in Julia
Julia
122
star
9

QuantEcon.notebooks

Jupyter notebooks contributed by QuantEcon developers, users and the community
Jupyter Notebook
119
star
10

quantecon-notebooks-julia

Jupyter Notebook
110
star
11

book-dp1-public-companion

Dynamic Programming Volume 1
Julia
109
star
12

MatchingMarkets.py

Python toolbox for simulation of matching markets in economics
Python
104
star
13

book-networks-public

Companion Site for Economic Networks: Theory and Computation
CSS
83
star
14

lecture-python.myst

Quantitative Economics with Python
Jupyter Notebook
76
star
15

lecture-python

Source files for https://python.quantecon.org
Jupyter Notebook
60
star
16

Expectations.jl

Expectation operators for Distributions.jl objects
Julia
56
star
17

QuantEcon.lectures.code

Code Repository to Support QuantEcon Lecture Site
Python
52
star
18

lecture-python-programming.notebooks

Notebooks for https://python-programming.quantecon.org
Jupyter Notebook
51
star
19

rvlib

Distributions for Python
C
46
star
20

CompEcon.jl

Julia versions of the CompEcon routines by Miranda and Fackler.
Julia
46
star
21

lecture-julia.myst

Lecture source for "Quantitative Economics with Julia"
TeX
43
star
22

quantecon-notebooks-datascience

Jupyter Notebooks for https://datascience.quantecon.org
Jupyter Notebook
42
star
23

lecture-julia.notebooks

Download Notebooks for julia.quantecon.org
Jupyter Notebook
41
star
24

lecture-python-advanced

Source files for https://python-advanced.quantecon.org
Python
41
star
25

columbia_mini_course

Computational Economics with Python
Jupyter Notebook
40
star
26

lecture-python-programming.myst

Python Programming for Finance and Economics
JavaScript
40
star
27

dynamic_factor_models

Jupyter Notebook
35
star
28

lecture-python-intro

An Undergraduate Lecture Series for the Foundations of Computational Economics
Jupyter Notebook
33
star
29

BasisMatrices.jl

Routines for constructing BasisMatrices of different types (Chebyshev polynomials, B-Splines, piecewise linear, complete monomials, Smolyak...)
Julia
32
star
30

quantecon-book-theme

A Jupyter Book Theme for QuantEcon Book Style Projects
Jupyter Notebook
30
star
31

econometrics

Jupyter Notebook
29
star
32

krusell_smith_code

Code for the Krusell--Smith model
Jupyter Notebook
29
star
33

ShenzhenWinterCamp

Shenzhen Winter Camp 2018
Jupyter Notebook
28
star
34

lecture-jax

Lectures on Quantitative Economics Using JAX
TeX
27
star
35

lecture-datascience.myst

Source repository for QuantEcon Datascience
TeX
26
star
36

phd_workshops

2017 QuantEcon PhD Workshops on Computational Economics
Jupyter Notebook
25
star
37

RBA_RBNZ_Workshops

Code and teaching material for the workshops at the RBA and RBNZ
Jupyter Notebook
21
star
38

lecture-python-advanced.myst

Advanced Quantitative Economics with Python
TeX
21
star
39

jupinx

Jupyter + Sphinx Utilities and Tools
Python
20
star
40

ChicagoFed_workshop

Workshop on scientific computing for economists with Python and Julia
Jupyter Notebook
18
star
41

lecture-python-programming

Source files for https://python-programming.quantecon.org
Smarty
18
star
42

game-theory-notebooks

A collection of game theory notebooks
Jupyter Notebook
17
star
43

InstantiateFromURL.jl

Julia
17
star
44

lecture-python-advanced.notebooks

Notebooks that support https://python-advanced.quantecon.org
Jupyter Notebook
15
star
45

ContinuousDPs.jl

Continuous state dynamic programming
Julia
14
star
46

lecture-datascience.notebooks

Notebooks for datascience.quantecon.org
Jupyter Notebook
14
star
47

quantecon-notebooks-datascience-old

Jupyter Notebook
13
star
48

qe_lunch_workshops

Jupyter Notebook
13
star
49

cbc_workshops

Workshops for the Central Bank of Chile
Jupyter Notebook
12
star
50

SimpleDifferentialOperators.jl

Library for simple upwind finite differences
Julia
12
star
51

Copenhagen_workshop_2018

Copenhagen Summer School 2018 QuantEcon Workshop
Jupyter Notebook
11
star
52

sphinxcontrib-jupyter.minimal

A Minimal Example of the Jupyter Sphinx Extension
Python
9
star
53

summer_course_2019

QuantEcon-RSE Intensive Course on Computational Modeling
Jupyter Notebook
9
star
54

emet_summer_workshop

Repository for the North American Summer Meeting of the Econometric Society 2016 workshop
Jupyter Notebook
8
star
55

website

Website for QuantEcon Organisation
HTML
8
star
56

book-dp1-public

Website for Dynamic Programming TextBook
Julia
8
star
57

continuous_time_mcs

Continuous Time Markov Chains
Jupyter Notebook
7
star
58

jaxinterp

JAX compatible multilinear interpolation
7
star
59

NUS_workshop_2016

Computational Economics with Python and Julia
Jupyter Notebook
7
star
60

phd-macro-theory-book

Tom's PhD Macro Theory Book
TeX
7
star
61

quantecon-book-networks

Package for networks.quantecon.org (Economic Networks)
Python
6
star
62

QE_data_science_conf

QuantEcon discussion for the Berkeley Data Science x Economics conference
Jupyter Notebook
5
star
63

HCMC_workshop_2016

Modern Methods in Computational Economics in Ho Chi Minh City
Jupyter Notebook
5
star
64

Gensys.jl

A Julia version of Gensys (Sims 2000)
Jupyter Notebook
5
star
65

honours_workshop

2018 QuantEcon-RSE Honours Workshop
Jupyter Notebook
5
star
66

Keio_workshop

For the QuantEcon lecture at Keio in October 2016
Jupyter Notebook
5
star
67

DIIS_workshop

Dept of Industry, Innovation and Science QuantEcon-RSE Workshop
Jupyter Notebook
5
star
68

indian_summer_workshop

Online quantitative economics course for Indian students
5
star
69

imf_2024

Computational economics workshop at the IMF, March 2024
Jupyter Notebook
5
star
70

2021-workshop-rsit

RSIT Workshop (Uni Tรผbingen) 2021
Jupyter Notebook
4
star
71

dse_workshop

DSE Conference DP Workshop 2022
Jupyter Notebook
4
star
72

lecture-jax.notebooks

Notebooks for the lecture-jax lecture series
Jupyter Notebook
4
star
73

qe_libraries_article

Repo for a paper describing the QE libraries
TeX
4
star
74

docker

Docker Containers for QuantEcon
Dockerfile
4
star
75

WAMS-2017

Code and files for the QuantEcon workshop at WAMS 2017
Jupyter Notebook
4
star
76

lecture-econometrics-machine-learning

Python for Econometrics and Machine Learning
Jupyter Notebook
4
star
77

dynamic_programming_lecture

Fast dynamic programming with Python
3
star
78

rse_comp_econ_2023

RSE Computational Economics workshops Feb 2023
Jupyter Notebook
3
star
79

qeds

Python library to support the QuantEcon Data Science lecture series.
Python
3
star
80

rse_comp_econ_2022

Jupyter Notebook
3
star
81

parallelization_experiments

Jupyter Notebook
3
star
82

workshop.africa-july2023

Workshop Repository for Africa July 2023
Jupyter Notebook
3
star
83

project.lecture-mojo

Some Real World Examples using Mojo (Modular)
3
star
84

continuous_time_mcs.notebooks

Notebook Repository for Continuous Time Markov Chain Lecture Series
Jupyter Notebook
3
star
85

GC_CUNY_workshop_2019

Notebooks for introduction to using Python for economics
Jupyter Notebook
2
star
86

python_lecture_sandpit

A sandpit for developing lectures on the Python side
Smarty
2
star
87

ipynb_to_rst_tools

Tools, scripts and instructions for converting Jupyter notebooks to RST files
Jupyter Notebook
2
star
88

DFOLS.jl

Julia
2
star
89

short_python_workshop

A short introduction to Python for economists
Jupyter Notebook
2
star
90

imf_october_2023

IMF Presentation October 2023
Jupyter Notebook
2
star
91

quantecon-book-dp

Website for the Dynamic Programming textbook
2
star
92

quantecon-notebooks-julia-colab

Colab notebooks for the QuantEcon Julia lectures
Jupyter Notebook
2
star
93

reading-group-2024

A shared repository to support notes and discussion for the Reading Group 2024
Jupyter Notebook
2
star
94

python-lecture-sandpit.myst

A python lecture sandpit (for myst migration)
TeX
2
star
95

QuantEcon.py.benchmark

Contains benchmarks for the QuantEcon.py repository using the asv project
Python
1
star
96

QuantEcon.py-conda

For conda package of QuantEcon.py code library
Batchfile
1
star
97

TaxSmoothing

Notebooks on tax smoothing
Jupyter Notebook
1
star
98

sphinx-tojupyter

A Jupyter Notebook Writer for Sphinx
Jupyter Notebook
1
star
99

keio_comp_econ_2023

Computational economics with Python
Jupyter Notebook
1
star
100

sphinxcontrib-jupyter.testground

An Example and Test Case repository for the Sphinx Jupyter extension
Python
1
star