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
brew install postgresql
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
Built Distribution
Close
Hashes for featurize_jupyterlab-0.0.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 826cb0a20ce1426b167cc2893ee52cf00b4581c4b2b04aeef3a2644309a664b4 |
|
MD5 | 2454187ef62bc7bea67e2cd704616b5b |
|
BLAKE2b-256 | 757e255c714ba3dc89c39be9fcac67349d15c0853b87ecaa4fbd11d283065f5d |
Close
Hashes for featurize_jupyterlab-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 670141b46af72342d2d881df03b94575c6c42ca24ed2b25a95ec531f37906970 |
|
MD5 | 889fe4df586642fc6d3be6ac5304b625 |
|
BLAKE2b-256 | 6f4a0a88efd9d00b1ea045356954b234942f3b7abd084ec641ff33cac14d7b3b |