[PR #1340] [CLOSED] Add PySnooper for debugging #1183

Closed
opened 2025-11-06 13:11:05 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1340
Author: @stanleyuan
Created: 8/30/2019
Status: Closed

Base: masterHead: add_pysnooper


📝 Commits (2)

  • c7fbd64 Add PySnooper for debugging
  • ea7073a Apply suggestions from code review

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

PySnooper lets you print values except instead of carefully crafting the right print lines, you just add one decorator line to the function you're interested in. You'll get a play-by-play log of your function, including which lines ran and when, and exactly when local variables were changed.

What's the difference between this Python project and similar ones?

Just slap the decorator on, as shown below, and redirect the output to a dedicated log file by specifying its path as the first argument.

--

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1340 **Author:** [@stanleyuan](https://github.com/stanleyuan) **Created:** 8/30/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `add_pysnooper` --- ### 📝 Commits (2) - [`c7fbd64`](https://github.com/vinta/awesome-python/commit/c7fbd64fc816cd7beed265ce41a0dc7d51fa1c93) Add PySnooper for debugging - [`ea7073a`](https://github.com/vinta/awesome-python/commit/ea7073afb59eb7b1d1320b6a35ab98e174d54c0c) Apply suggestions from code review ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? PySnooper lets you print values except instead of carefully crafting the right print lines, you just add one decorator line to the function you're interested in. You'll get a play-by-play log of your function, including which lines ran and when, and exactly when local variables were changed. ## What's the difference between this Python project and similar ones? Just slap the decorator on, as shown below, and redirect the output to a dedicated log file by specifying its path as the first argument. -- Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 13:11:05 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#1183