Skip to main content

Noteboot(like jupyter) widget for cracknuts.

Project description

cracknuts_panel

Jupyter widget for cracknuts.

For user in Users in chinese mainland

  1. set mirror for pip
  2. 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


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.5.tar.gz (4.9 MB view hashes)

Uploaded Source

Built Distribution

cracknuts_panel-0.0.5-py3-none-any.whl (5.0 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page