• Stars
    star
    335
  • Rank 125,904 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 8 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

Jupyter for Visual Studio Code

Deprecated

This extension is no longer being maintained and all of its functionality has been (or will be) placed into the Microsoft Python extension.

Please download the Microsoft Python Extension instead.

Feel free to submit new issues or feature requests on the Microsoft Python Extension.

Jupyter

An extension with rich support for Jupyter

Quick Start

Sample Python usage

  • Create a Python file with the following text
#%%
import matplotlib.pyplot as plt
import matplotlib as mpl
import numpy as np

x = np.linspace(0, 20, 100)
plt.plot(x, np.sin(x))
plt.show() 
  • Click on the code lens Run Cell

Run Cell Hot key as in Chrome

  • If you want to run cell with Ctrl+Enter, add those code in keybindings.json.
{ "key": "ctrl+enter",      "command": "jupyter.execCurrentCell",
                                  "when": "editorTextFocus"
}

Connect to Remote Jupyter kernel on Server / Docker

Try this to connect to a remote Jupyter kernel running on a server, or inside Docker container:

  1. Make sure Jupyter, Notebook, and jupyter_kernel_gateway packages are installed. They are all included by default in Anaconda installation, but if you are using PIP you may need to install them manually.
  2. Run following commands on Linux: (Windows users will need to adapt these commands for their env)
# Generate config file for KernelGateway
jupyter kernelgateway --KernelGatewayApp.generate_config=True

# Generate config for Jupyter Notebook
jupyter notebook --generate-config --allow-root

# Append appropriate values to both config files
echo -e "c.JupyterWebsocketPersonality.list_kernels = True" >> ~/.jupyter/jupyter_kernel_gateway_config.py
echo -e "c.NotebookApp.allow_root = True" >> ~/.jupyter/jupyter_notebook_config.py
  1. Start a remote Jupyter Notebook or headless KernelGateway
  2. Find the token in the output of the Jupyter server logs: http://jupyter-notebook.readthedocs.io/en/latest/security.html

Then in VS Code:

  1. ctrl+shift+p
  2. Jupyter: Enter the url of local/remote Jupyter Notebook
  3. Select existing kernels from the drop-down list, or start a new kernel
  4. Select language for the kernel from drop-down list: e.g., "Python 3"

Documentation

For further information and details continue through to the documentation.

Issues, Feature Requests and Contributions

  • Contributions are always welcome. Fork it, modify it and create a pull request.
  • Any and all feedback is appreciated and welcome.

Roadmap

Version 1.1.3 (5 May 2017)

  • Notebook not detected #46

Version 1.1.2 (24 April 2017)

  • Fix high CPU usage #40

Version 1.1.1 (13 April 2017)

  • Bug fix (extension fails to load)
  • Increase timeout waiting for Jupyter Notebook to start

Version 1.1.0 (12 April 2017)

  • Preliminary support for older versions of Jupyter Notebook (< 4.2.0)

Scientific Tools

Source

GitHub

License

MIT

More Repositories

1

pythonVSCode

This extension is now maintained in the Microsoft fork.
TypeScript
2,053
star
2

gitHistoryVSCode

Git History for Visual Studio Code
TypeScript
918
star
3

typescript-notebook

Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc
TypeScript
803
star
4

vscode-python-manager

Python Environment & Package Manager
Python
74
star
5

vscode-python-samples

Samples for VS Code Python extension
Python
72
star
6

javaVSCode

Extension for java development on VSCode (deprecated)
TypeScript
43
star
7

jquerysnippets

jQuery Code Snippets for Visual Studio Code
TypeScript
36
star
8

python-extension-pack

Popular Visual Studio Code extensions for Python
29
star
9

git-extension-pack

Popular Visual Studio Code extensions for Git
26
star
10

vscode-jupyterpowertools

10
star
11

vscode-activate-python-extension

Always activate the python extension
JavaScript
7
star
12

listFilesVSCode

Extension to List Files in Visual Studio Code for selection
TypeScript
6
star
13

pythonVSCodeDocs

JavaScript
5
star
14

dump

TypeScript
4
star
15

vscode-jupyter

VS Code Jupyter extension
TypeScript
4
star
16

PdfManager

JavaScript
4
star
17

testJupyterDepdendency

Dockerfile
3
star
18

test

TypeScript
2
star
19

bowerVSCode

Bower Package Manager for Visual Studio Code IDE
TypeScript
2
star
20

pythonImproved

Syntax highlighting for Python using PythonImproved (https://github.com/MattDMo/PythonImproved)
2
star
21

xyz

Dockerfile
2
star
22

pyvscSmokeTesting

Python
2
star
23

testDebugPyInContainer

Dockerfile
2
star
24

vscode-setup

My Visual Studio Code setup
2
star
25

PlayCodeSpaces

2
star
26

hackJupyter2021Apr

JavaScript
2
star
27

vscode-notebook-cell-linenumber

2
star
28

pvscSmokeLS

Python
1
star
29

testingRepo

Python
1
star
30

medium

Medium Resources
1
star
31

createidsvscode

Create Unique Ids, UUID/GUID and random numbers
TypeScript
1
star
32

testVSCExt

1
star
33

blah

Python
1
star
34

shareInfo

1
star
35

vscode-extensions

Personal collection of Visual Studio Code extensions, packed together for ease of management.
1
star
36

vscode-notebook-renderer-mime

TypeScript
1
star
37

vscodePythonTesting

Python
1
star
38

VSTeamServicesExtension

Sample Visual Studio Team Services extension using TypeScript and WebPack
TypeScript
1
star
39

vscode-beeware-old

A Visual Studio Code extension with support for BeeWare development
TypeScript
1
star
40

vscode-python-uitests

Python
1
star
41

smokeTestProject

Repo used for smoke testing of Python Extension
Python
1
star
42

vscodeExtWithReact

VS Code Extension with React Code
TypeScript
1
star
43

kernel-python-picker

TypeScript
1
star
44

test1

JavaScript
1
star
45

FlaskAppExperimentalDebug

Debugging Flask apps using Experimental debugger in Python extension for VSC
Python
1
star
46

unidoc-wasm-example

Example of using unidoc in browser
HTML
1
star
47

test_gitHistory

TypeScript
1
star
48

diff-match-patch-tsd-ambient

TypeScript typings for diff-match-patch
TypeScript
1
star