Skip to main content

algorithmic python debugging

Project description

alkh [al-khwarizmi]

Algorithmic python debugging

Convert your debugger stack to jupyter notebook

Installation

pip install alkh

API

function name: take_it_offline

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

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

alkh-0.1.4.tar.gz (724.8 kB view hashes)

Uploaded Source

Built Distribution

alkh-0.1.4-py3-none-any.whl (8.8 kB 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