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.3.tar.gz
(4.9 MB
view hashes)
Built Distribution
Close
Hashes for cracknuts_panel-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9843ee2a9eae7a534914ee43e68261ca1b819da5ab0d184a69998957bf2804a7 |
|
MD5 | 78649f2e3fbd7a892c55177ea2ea0341 |
|
BLAKE2b-256 | 6b1f30a7b97e9508dce89b881eef68269e66beceab40329a94bbac6ca45b521c |