Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alkh

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alkh

algorithmic python debugging

  • 0.5.0
  • PyPI
  • Socket score

Maintainers
1

alkh [al-khwarizmi]

Algorithmic python debugging

1. Convert your debugger stack to jupyter notebook

2. Focus on code pathways using local web application

Installation

pip install alkh

Convert your debugger stack to jupyter notebook

API

function name: take_it_offline

description: create jupyter notebook based on the program stack

parameters:

notebook_dir_path: Optional[str] = None, directory path to save the notebook in

levels: Optional[int] = 1, number of program stack layers to put in notebook

Usage

import alkh

alkh.take_it_offline('path-of-notebooks-directory')

or

alkh.take_it_offline('path-of-notebooks-directory', levels=2)

or

bash:

export ALKH_NOTEBOOKS_PATH='path-to-notebooks-directory'

python:

import alkh

alkh.take_it_offline()

or

alkh.take_it_offline(levels=2)

Usage flow example

Stop at breakpoint within PyCharm

Use Console to run code within debugger

Run: import alkh

Run: alkh.take_it_offline('path-of-notebooks-directory')

Start Jupyter

Run the notebook

Focus on code pathways using local web application

API

function name: analyze

description: launches web application to analyze code pathways

parameters:None

Usage

import alkh
alkh.analyze()

Usage flow example

Add two line to top of file
Run the file
Analyze your code

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc