GithubHelp home page GithubHelp logo

luis-hebendanz / kestrel-jupyter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opencybersecurityalliance/kestrel-jupyter

0.0 2.0 0.0 38 KB

Kestrel Jupyter Notebook Kernel

License: Apache License 2.0

JavaScript 27.88% Python 72.12%

kestrel-jupyter's Introduction

Kestrel Jupyter Notebook Kernel

Python 3 Code Style: Black Code Coverage Latest Version

This repository contains two Python packages:

  • kestrel_jupyter_kernel
  • kestrel_ipython

Install and Setup

To install the released version:

$ pip install kestrel-jupyter
$ python -m kestrel_jupyter_kernel.setup

To install the nightly built version:

$ git clone git://github.com/opencybersecurityalliance/kestrel-jupyter
$ cd kestrel-jupyter
$ pip install .
$ python -m kestrel_jupyter_kernel.setup

How to Use Kestrel Jupyter Notebook Kernel

Start Jupyter with jupyter nbclassic and start a new notebook with the kestrel kernel. Note if you are using jupyter lab, most functionalities are there such as code execution, error prompot, and context-aware auto-complete, but the syntax highlighting is not ported from our Jupyter Notebook environment to Jupyter Lab yet.

Write your hello world hunt:

newvar = NEW process ["cmd.exe", "reg.exe"]
DISP newvar

Check Kestrel documentation for more.

How to Use ipython Magic Function

import kestrel_ipython

Then you can write any code in single-line or multi-line Kestrel in Python:

%%kestrel
newvar = NEW process ["cmd.exe", "reg.exe"]
DISP newvar

Uninstall Kestrel Jupyter Kernel

List all Jupyter kernels installed:

$ jupyter kernelspec list

Uninstall Kestrel kernel:

$ jupyter kernelspec uninstall kestrel

How to Contribute

As a component in the Kestrel runtime, this repo follows the contributing guideline and governance documentation in the main kestrel-lang repo.

kestrel-jupyter's People

Contributors

pcoccoli avatar qubasa avatar subbyte avatar

Watchers

 avatar  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.