Skip to main content

A server extension for JupyterLab's featurize extension

Project description

featurize-jupyterlab

A JupyterLab extension.

Prerequisites

  • Python >= 3.7
  • Node.js >= 8

It's recommended to use nvm to manage your node and npm versions.

Installation

jupyter labextension install featurize-jupyterlab

Development

For the first time

  1. Clone this repo
git clone git@github.com:louis-she/featurize-jupyterlab.git
  1. Create virtual environment
cd featurize-jupyterlab
python -m venv .venv
source .venv/bin/activate
  1. Install Python dependencies
brew install postgresql
pip3 install -r requirements.txt
  1. Install frontend dependencies
npm install
  1. Install Typescript
npm install -g typescript
  1. Add jupyter extension
pip3 install -e .
./.venv/bin/jupyter serverextension enable --py featurize_jupyterlab
./.venv/bin/jupyter labextension install . --no-build
  1. Add featurize extension
pip3 install featurize-package
./.venv/bin/featurize_server package:add ftpkg.demo
  1. Start development file watching
npm run dev

For the regular time

  1. source .venv/bin/activate
  2. npm run dev

Writing tests

We use pytest to write the tests case. All tests goes in the featurize_jupyterlab/tests directory.

Both the test file and method should be started by test_, using the following command to run all the tests,

pytest featurize_jupyterlab/tests

Project details


Download files

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

Files for featurize-jupyterlab, version 0.0.27
Filename, size File type Python version Upload date Hashes
Filename, size featurize_jupyterlab-0.0.27.tar.gz (41.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page