Skip to main content

Jupyter Notebook extension GUI node editor

Project description

ailab-lite

Jupyter Notebook extension GUI node editor

Installation

To install use pip:

$ pip install ailab_lite

For a development installation (requires Node.js and Yarn version 1),

$ git clone https://github.com/fathoms-io/ailab-lite.git
$ cd ailab-lite
$ pip install -e .
$ jupyter nbextension install --py --symlink --overwrite --sys-prefix ailab_lite
$ jupyter nbextension enable --py --sys-prefix ailab_lite

When actively developing your extension for JupyterLab, run the command:

$ jupyter labextension develop --overwrite ailab_lite

Then you need to rebuild the JS when you make a code change:

$ cd js
$ yarn run build

You then need to refresh the JupyterLab page when your javascript changes.

Usage:

Notebook:

Import node editor widget:

from ailab_lite import NodeEditorWidget

Import pandas:

import pandas as pd

Decalare dataset:

example = pd.read_csv("example.csv")

Run widget:

NodeEditorWidget(env=globals())

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

ailab_lite-0.1.1.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

ailab_lite-0.1.1-py2.py3-none-any.whl (2.7 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file ailab_lite-0.1.1.tar.gz.

File metadata

  • Download URL: ailab_lite-0.1.1.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7

File hashes

Hashes for ailab_lite-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a7f4cea86f14914f19e557887c9fb40c526f338cade56e0b7424970d67288141
MD5 9bf64e4043d3eca552ea4b26c5f5c640
BLAKE2b-256 713e310ef4b947e5408fc38bcf1e0d9c9542f4915bb51b15da73858f6aec00fc

See more details on using hashes here.

File details

Details for the file ailab_lite-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ailab_lite-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.7

File hashes

Hashes for ailab_lite-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 52528853ae4d8c237310c0fc25451d46c74abfe00e92b52895856a1d90a6a1ee
MD5 c5fc5a47fc4cd672dee0179544391941
BLAKE2b-256 980c2bc41931d68055765622d24e0783d121c8d778711bd9953045dddfcce27d

See more details on using hashes here.

Supported by

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