Skip to main content

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

Metadata

Release files for alkh 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alkh 0.5.0
File Size Uploaded Provenance Actions
alkh-0.5.0.tar.gz 985.7 kB Without provenance Details for alkh-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for alkh 0.5.0
File Interpreter ABI Platform Actions
alkh-0.5.0-py3-none-any.whl Python 3 none any Details for alkh-0.5.0-py3-none-any.whl

Total release size: 1.0 MB

Release files / alkh-0.5.0.tar.gz

Download URL alkh-0.5.0.tar.gz
Size 985.7 kB
Tags Source
SHA-256 checksum
How to use checksums
404140c529787e596e7c017681e5ac55750557eaba785e472ce00fa971757d14
BLAKE2b-256 checksum
How to use checksums
c6ed8c47219e54a80b6368e9218eb0916b40e0e3c8e696141fb11495ff39a63c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

Release files / alkh-0.5.0-py3-none-any.whl

Download URL alkh-0.5.0-py3-none-any.whl
Size 40.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
072a1f7eeabca09e0b3bff5db44c476fbea7b0caafabc5f0bb2c43c4d0c0057b
BLAKE2b-256 checksum
How to use checksums
e4817db03bd92d7060644eb3b91cc8f1b71d640227e9711d96c580895277b8dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

Security for alkh 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page