Git Product home page Git Product logo

jupyter-powershell's Introduction

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.

jupyter-powershell's People

Contributors

vors avatar chlafreniere avatar corivera avatar vasubhog avatar theaquamarine avatar willyd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.