• This repository has been archived on 19/Nov/2023
  • Stars
    star
    438
  • Rank 99,453 (Top 2 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

⚠️ This plugin is deprecated and no longer maintained.

Obsidian has evolved, and integrating the plugin with the new live preview editor is non-trivial. Here is an alternative setup that is future proof, less prone to bugs, and supports many of the requested features (such as storing outputs and supporting input calls).

  1. Set up your python distribution, install Jupyter Lab and Jupytext for markdown-based notebooks: pip install jupyterlab jupytext [other dependencies].
  2. Run jupyter lab from the root directory of your vault.
  3. Right-click on any markdown file and select Open With > Notebook to open the Obsidian note as a Jupyter notebook.

Optionally, you can "pair" markdown-based notebooks with classic notebook files (.ipynb extension) to keep the results if you close and reopen a notebook. To do so, add a jupytext.toml file to the root directory of your vault containing the following code. This will create a hidden .ipynb directory containing the results of your notebook for later use.

formats = "md,.ipynb//ipynb"

Unfortunately, this option does not support Jupyter notebooks within Obsidian, but reproducing the Jupyter experience would be a substantial undertaking.


Obsidian Jupyter Plugin Release Obsidian Plugin

This plugin allows python code blocks in fences with jupyter language to be executed as Jupyter notebooks.

Installation

  1. Install the plugin via the community plugins settings tab in Obsidian.
  2. Specify the python interpreter path in the settings tab of the plugin. If you don't know what your interpreter path is, run python -c 'import sys; print(sys.executable)' from the console. The python version should be at least 3.7.
  3. Verify that jupyter is installed. If you're unsure, run pip install jupyter --upgrade from the console to install the latest version. You can also use the Install dependencies button in the settings to install the requirements.

This plugin has been tested with the following python dependencies. If you encounter problems, please update your python dependencies before opening an issue.

jupyter==1.0.0
jupyter-client==7.0.2
jupyter-console==6.4.0
jupyter-core==4.7.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.1
nbclient==0.5.4
nbconvert==6.1.0
nbformat==5.1.3
notebook=6.4.3

Settings

  • Python interpreter: path to the python interpreter used to execute code, e.g. /usr/bin/python.
  • Setup script: script that is run prior to every execution of a python code block.

The python interpreter can also be specified for each document using YAML frontmatter.

---
obsidian-jupyter:
 interpreter: interpreter-path
---

More Repositories

1

obsidian-file-include

TypeScript
28
star
2

time_series

Jupyter Notebook
12
star
3

asymmetric_kde

Density estimation using asymmetric kernels.
TeX
9
star
4

universal_tensorflow_image

Develop tensorflow models with or without a GPU accelerator using the same Docker image. 🥳
Dockerfile
7
star
5

wastewater-catchment-areas

7,537 wastewater catchment areas in the Great Britain covering more than 95% of the population.
Jupyter Notebook
6
star
6

shedding

Uncertainties surrounding the concentration of viral RNA fragments in the faeces of individuals infected with SARS-CoV-2 poses a major challenge for wastewater-based surveillance of Covid-19. This repository serves to collate data from quantitative studies on RNA load in faecal samples to constrain the shedding distribution.
Python
6
star
7

cyfunc

Easy universal functions for numpy in cython.
Cython
5
star
8

sphinx-stan

Sphinx domain for Stan, the probabilistic programming language
Python
5
star
9

testax

Jit-able runtime assertions for JAX in NumPy style.
Python
4
star
10

localscope

Restrict the scope of functions for reproducible code execution and peace of mind.
Python
4
star
11

reference-models

Python
2
star
12

template

A simple template for reproducible research.
Python
2
star
13

version-wizard

Python
2
star
14

gptools

Gaussian processes on graphs and lattices in Stan and pytorch.
Python
2
star
15

python_skeleton

Skeleton for python projects using conda, py.test and TravisCI.
Python
1
star
16

util

Code snippets for statistics and machine learning.
Python
1
star
17

slides

Create stunning presentations using markdown powered by reveal.js.
Python
1
star
18

ifnt

Execute runtime assertions, indexing checks, and more if `jax` code is not traced.
Python
1
star
19

datatrail-python

Makefile
1
star
20

precompiled-cmdstan

Precompiled cmdstan for use in Read the Docs and elsewhere.
1
star
21

vscode-snakeviz

TypeScript
1
star
22

common

Python
1
star
23

idxhound

🐶 Track indices across one or more numpy selections.
Python
1
star
24

variational_bayes

Python
1
star