Skip to main content

Python library to aid with bug hunting

Project description

Concept


Kond's Live REPL. A remake of Kondikes Debugging Lens (KDL). A way to cherry pick functions to test and bug hunt for. No need to travel through 5 long functions just to find a typo and a crash, and repeat while testing crash fixes, just boot up KLR, a Command line, and call the function in KLRs syntax.

How to set up


IMPORTANT NOTICE: This is a HUGE WIP, so not everything is thought out, and things stated here are expected to change.

KDL: See the no longer maintained github page for KDL to get a feel for what this will be. - https://github.com/sepforBlueBoi/KDL

How To Start


To start KLR you will need 2 things, a command dict template, and the init function call.

Command Template

To be able to actually call the functions you want, you need a command template dict. The file should look something like this:

from my_module import my_func

# The naming does not matter
template = {
    "cmd": "my_func"
}

Thats it. You can add as many function commands as you want.

The init function

KLR has a init function call. This function handles the start up of KLR.

from KLR import init

init()

init has 2 arguments, the first one is for the command template. the second one is the the command you want to use as it starts up. both are optional, But without the command template KLR cannot reach your functions.

Other Cool things


KLR has 3 call things that make it a step higher then a REPL. Though not by much, as it is all Misc stuff.

  • clear: KLRs clear function, for clearing the terminal.
  • typrint: KLRs type writer print effect seen at the start of KLR
  • Error Handling: its own custom errors
  • @__watcher__: KLR's decorator logger. find logs at /Log
  • Basic commands: echo and help

Things to come

KLR still has some features that could be ironed out:

  • arguments for function calls are limited to strings
  • toggleale typrint at boot
  • what ever bugs are found
  • -h arguments for printing function docstrings if any found

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

konds_live_repl-1.0.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

konds_live_repl-1.0.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file konds_live_repl-1.0.0.tar.gz.

File metadata

  • Download URL: konds_live_repl-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for konds_live_repl-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dd7a6aa92dfbee813f467a8ad649f700c6c11fa02dbf9558e62f27a146b058e4
MD5 547cac6df70a0f72ac555e713245dd28
BLAKE2b-256 e5057ba4050d047dd1fe56f7994c891e241b726ee8e10bf24bcff1a8521e93a7

See more details on using hashes here.

File details

Details for the file konds_live_repl-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for konds_live_repl-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e9ba9f735bd9df1366a5adf71e1b6c3a413ff39c92dcdb8e18a0b97a96400a7
MD5 7e03e130630cbc7f64414605a7115c63
BLAKE2b-256 c66bc6dc468098b7a0296f8977c8191c6bf078320c01ba557cb471e21ee67e0f

See more details on using hashes here.

Supported by

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