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
- Clone this repo
git clone git@github.com:louis-she/featurize-jupyterlab.git
- Create virtual environment
cd featurize-jupyterlab
python -m venv .venv
source .venv/bin/activate
- Install Python dependencies
pip3 install -r requirements.txt
- Install frontend dependencies
npm install
- Install Typescript
npm install -g typescript
- Add jupyter extension
pip3 install -e .
./.venv/bin/jupyter serverextension enable --py featurize_jupyterlab
./.venv/bin/jupyter labextension install . --no-build
- Add featurize extension
pip3 install featurize-package
./.venv/bin/featurize_server package:add ftpkg.demo
- Start development file watching
npm run dev
For the regular time
- source .venv/bin/activate
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for featurize_jupyterlab-0.0.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 503eb63acb11af84ee1941e361d86a3f8d68bfd4af5e1f9f9d223e5d4cf58295 |
|
MD5 | d638dcc329ecaed962196b24b47ef851 |
|
BLAKE2b-256 | e49600cb387cb4f8351c24a48cc6a15b16a663272503318e5052eac50658e349 |