Skip to main content

Minimalistic Native kernel for Jupyter

Project description

Minimal Native kernel for Jupyter

The goal of this kernel is to provide a unified frontend for working with native languages from jupyter.

It was started from the jupyter C kernel.

Usage:

  • %load to load a file to the cell
//%load https://passlab.github.io/CSCE569/resources/axpy.c
//%compiler: gcc
//%cflags: -fopenmp
//%ldflags: -lm
//%args: 1024

Setup

Works only on Linux and OS X. Windows is not supported yet. If you want to use this project on Windows, please use Docker.

Make sure you have the following requirements installed:

  • gcc
  • jupyter
  • python 3
  • pip

Install (system)

This installs the kernel at the system level. (Not tested yet.)

  1. git clone <this repo>
  2. sudo pip3 install -e jupyter-native-kernel
  3. sudo install_native_kernel

To install on system folder, do sudo install_native_kernel --sys-prefix

Install (virtualenv)

This installs the kernel within the current virtualenv.

  1. git clone <this repo>
  2. virtualenv -p python3 venv
  3. source venv/bin/activate
  4. pip3 install -e jupyter-native-kernel
  5. install_native_kernel --user

License

This project is released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_native_kernel-0.0.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_native_kernel-0.0.2-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_native_kernel-0.0.2.tar.gz.

File metadata

  • Download URL: jupyter_native_kernel-0.0.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for jupyter_native_kernel-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3251fbfb3cccb4f9f088b46e1f2b64bfe76fc5850b89daf59969e0b610f07b93
MD5 b890df3958380687ecb0348eda360a07
BLAKE2b-256 257ad6c8206be7fb691907f6d80312e872d7b38bf26e22f99820d3d2a5e400d0

See more details on using hashes here.

File details

Details for the file jupyter_native_kernel-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: jupyter_native_kernel-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for jupyter_native_kernel-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 602900c6866f9ae40f9d42a37506829613caba13cf6e3d4445f49f23c82c5238
MD5 88fd24143476388433cbd376107419b2
BLAKE2b-256 970d56b6155a777c426aee6b2badaf22b15199f5e03d3d8764c0f4d8e8b18920

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page