Noteboot(like jupyter) widget for cracknuts.
Project description
cracknuts_panel
Jupyter widget for cracknuts.
For user in Users in chinese mainland
- set mirror for pip
- set mirror for npm (Only developer need.)
Installation
// Not yet.
pip install cracknuts_panel
Development installation
You need install nodejs and python environment.
Clone cracknuts_panel
and cracknuts
code to local.
git clone https://codeup.aliyun.com/667fc48e96794f5c6d920349/cracknuts_panel.git
git clone https://codeup.aliyun.com/667fc48e96794f5c6d920349/cracknuts.git
Create a virtual environment and then install cracknuts_panel and cracknuts in editable mode with the optional development dependencies:
On Linux:
cd cracknuts_panel
python3 -m venv --prompt cracknuts_panel .venv
source .venv/bin/activate
pip install -e ".[dev]"
cd cracknuts
pip install -e ".[dev]"
On Windows:
cd cracknuts_panel
python -m venv --prompt cracknuts_panel .venv
.\.venv\Scripts\Activate.ps1
pip install -e ".[dev]"
cd cracknuts
pip install -e ".[dev]"
You then need to install the JavaScript dependencies and run the development server.
npm install
npm run dev
To enable HMR
you should set environment ANYWIDGET_HMR=1
# powershell
$env:ANYWIDGET_HMR=1
# bash
ANYWIDGET_HMR=1 jupyter lab
Open demo/*.ipynb
in JupyterLab, VS Code, or your favorite editor to start developing.
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
cracknuts_panel-0.0.2.tar.gz
(4.9 MB
view hashes)
Built Distribution
Close
Hashes for cracknuts_panel-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59889194cc34ded3f94beb4b68a60d3a10616d42577948c6f43397e74e215f1a |
|
MD5 | f1fe8d44979af6aacfa70729ffbace9e |
|
BLAKE2b-256 | 2f217fb0dc798712c1c6881391f24235182fb4cbb13bdf65218570c59e43d74e |