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.4.tar.gz
(4.9 MB
view hashes)
Built Distribution
Close
Hashes for cracknuts_panel-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7525ce336d230e24eb4195a1be0b2f0bed397c7b8f1dd2991bbde12a20fe8414 |
|
MD5 | 93e41b70fbe8ae50b3894f812f88c029 |
|
BLAKE2b-256 | 09fddf588dd065a13cfc8f21b8ef692f78cda7c1951d14f906b31e00ba114299 |