Skip to content

public archival fork | PowerShell language kernel for Jupyter

License

Notifications You must be signed in to change notification settings

goyalyashpal/jupyter-powershell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jupyter-powershell

PowerShell language kernel for Jupyter. Works on Windows, Linux and MacOS.

Install kernel

pip install powershell_kernel
python -m powershell_kernel.install

This command will install the kernel with Full PowerShell on Windows and Core on non-Windows. You can also specify command (i.e. if you want to use powershell Core on Windows).

python -m powershell_kernel.install --powershell-command pwsh

Run

Run jupyter and you will see new kernel available!

jupyter notebook

Aknowledgement

This is an early prototype, but I tried to avoid unnessesary dependencies.

This kernel is heavily based on https://github.com/takluyver/bash_kernel (as jupyter kernel example) and https://github.com/wuub/SublimeREPL for calling PowerShell repl from python.

bash_kernel has BSD 3-clause license. SublimeREPL has complicated license, so here is a careful explanation of the used parts.

From https://github.com/wuub/SublimeREPL/blob/94e859eae3b9a665a818ff7e13e45edf303ef87b/LICENSE-LIB.txt

This means that, although the parts of SublimeREPL that I (wuub) wrote are published under BSD license and you're free to reuse them as you wish, the whole SublimeREPL package is as of now licensed under GPLv2.

I'd like to avoid GPLv2 dependencies (and I don't need any of that code), so I want to list all used code (BSD/MIT):

  • subprocess_repl.py wrote by wuub, licensed under BSD/MIT.

LICENSE

All code that I (vors) wrote is licensed under MIT v3 license.

About

public archival fork | PowerShell language kernel for Jupyter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 60.9%
  • Python 39.1%