Dev tools · alternatives · 2026
24 alternatives to Python decorator to log local variables with each line of code run
Print each local variable and line of code at execution
This Python decorator automatically logs local variables at each line of code execution. It helps developers debug by tracking variable values throughout function runs. The tool is aimed at Python developers who need… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Python decorator to log local variables with each line of code run launched in 2023; newer entries below may have overtaken it.
- 1

Contribute to tylerhou/fiber development by creating an account on GitHub.
2021 · github.com · its alternatives →
- 2

Trace the local context of a Python function's execution with just a decorator. - mihneadb/python-execution-trace
2016 · github.com · its alternatives →
- 3

- 4

Easily run Python at the shell! Magical, but never mysterious. - hauntsaninja/pyp
2020 · github.com · its alternatives →
- 5LL
localscope is a small Python package that disassembles functions to check if they access global variables they shouldn't. I wrote this a few years ago to detect scope bugs which are common in Jupyter notebooks. It's recently come in handy writing jax code (https://github.com/jax-ml/jax) because it requires pure functions. Thought I'd share.
2025 · localscope.readthedocs.io · its alternatives →
- 6

Hi HN! We’re Adrien and Kanav. We met at our previous job, where we spent about a third of our lives combating a constant firehose of bugs. In the hope of reducing this pain for others in the future, we’re working on automating debugging. We’re currently working on a platform that ingests logs and then automatically reproduces, root causes and ultimately fixes production bugs as they happen. You can see some of our work on this here - https://news.ycombinator.com/item?id=39528087 As we were building the root-cause phase of our automated debugger, we realized that we developed…
2024 · github.com · its alternatives →
- 7

A simple Python debugger and profiler that generates animated visualizations of program flow, useful for algorithm learning. - CCExtractor/vardbg
2020 · github.com · its alternatives →
- 8

Debugging-friendly exceptions for Python. Contribute to cknd/stackprinter development by creating an account on GitHub.
2019 · github.com · its alternatives →
- 9

Sampling profiler for Python programs. Contribute to benfred/py-spy development by creating an account on GitHub.
2018 · github.com · its alternatives →
- 10

Simple Python Calculation Engine. Contribute to bsdz/calcengine development by creating an account on GitHub.
2021 · github.com · its alternatives →
- 11

Hi! I've built this because I kept reaching for Celery for simple scheduled tasks and it felt like overkill. I just needed "run this function every hour" or "daily at 9am", not distributed workers. So it's decorators for scheduling (@scheduler.every(5).minutes, @scheduler.daily.at("09:00")), state saves to JSON so jobs survive restarts, and there's an optional FastAPI dashboard if you want to see what's running. No Redis, no message broker, runs in-process with your app. Trade-off is it's single process only — if you need distributed workers, stick with Celery.
Jan 2026 · github.com · its alternatives →
- 12

watchpoints is an easy-to-use, intuitive variable/object monitor tool for python that behaves similar to watchpoints in gdb. - gaogaotiantian/watchpoints
2021 · github.com · its alternatives →
- 13

- 14

Hello and happy new year! We're excited to introduce the Pyper package for concurrency & parallelism in Python. Pyper is a flexible framework for concurrent / parallel data processing, following the functional paradigm. Source code can be found on [github](https://github.com/pyper-dev/pyper) Key features: Intuitive API: Easy to learn, easy to think about. Implements clean abstractions to seamlessly unify threaded, multiprocessed, and asynchronous work. Functional Paradigm: Python functions are the building blocks of data pipelines. Let's you write clean, reusable…
2025 · github.com · its alternatives →
- 15

A simple Prolog Interpreter written in a few lines of Python 3. It runs a limited subset of Prolog and uses backtracking and generators in order to perform its magic. - photonlines/Python-Prolog-Interpreter
2019 · github.com · its alternatives →
- 16

Your first Python programs make pictures on a canvas. Learn calls, values, variables, and a loop before adding one click handler.
19d ago · scimigo.com · its alternatives →
- 17

I will write this later... Contribute to llllllllll/lazy_python development by creating an account on GitHub.
2015 · github.com · its alternatives →
- 18

Recently, I write an interpreter for subset of Python using Go. I haven't seen source code of CPython, all is just written according to my understanding of Python so there may be some unusual things. Hope you can play fun with it. Any suggestion is welcome, glad to get some feedback.
2023 · github.com · its alternatives →
- 19

Hi HN, I built this because I got tired of the Claude Code CLI hiding details from me. Recent updates have replaced critical output with summaries like "Read 3 files" or "Edited 2 files". To see what actually happened, I was forced to use `--verbose`, which floods the terminal with unreadable JSON and system prompts. I wanted a middle ground: *Full observability without the noise.* `claude-devtools` is a local Electron app that tails the session logs in `~/.claude/` to reconstruct the execution trace in real-time. *Unlike wrappers, it solves the visibility gap in your native…
Feb 2026 · github.com · its alternatives →
- 20

A linter to prevent exception handling antipatterns in Python (limited only for those who like dinosaurs). - guilatrova/tryceratops
2021 · github.com · its alternatives →
- 21

Hi HN — I’m learning Rust and decided to build a universal CLI for running code in many languages. The tool, Run, aims to be a single, minimal dependency utility for: running one-off snippets (from CLI flags), running files, reading and executing piped stdin, and providing language-specific REPLs that you can switch between interactively. I designed it to support both interpreted languages (Python, JS, Ruby, etc.) and compiled languages (Rust, Go, C/C++). It detects languages from flags or file extensions, can compile temporary files for compiled languages, and exposes a unified REPL…
2025 · github.com · its alternatives →
- 22

- 23

You write a standard solution, just like on LeetCode, and run it through the CLI. It identifies the problem by ID or title, executes your code against local test cases, and shows the result. It currently supports around 1.4k problems and multiple languages, including Python, C++, Rust, Java, Go, TypeScript, Swift, and others. The project is still an MVP. System design, SQL, and concurrency problems are not supported yet, but support for more problem types is planned. Made in Haskell!
Aug 2026 · github.com · its alternatives →
- 24

DEPCRECATED/UNMAINTAINED - A Python library to make debugging with print statements simpler and more effective. - alixander/PyScribe
2015 · github.com · its alternatives →
Also compare
- Python decorator that enables arbitrarily-deep tail/non-tail recursion alternatives
- Trace the local context of Python functions with just a decorator alternatives
- utile alternatives
- Pyp – Easily, magically, run Python at the shell alternatives
- Localscope–Limit scope of Python functions for reproducible execution alternatives
- Leaping – Debug Python tests instantly with an LLM debugger alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →