[PR #1373] [CLOSED] Add PySnooper #1210

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

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1373
Author: @AakashKhatu
Created: 10/5/2019
Status: Closed

Base: masterHead: master


📝 Commits (1)

📊 Changes

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

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

PySnooper is a debug/logging Library that logs function execution line by line along with Variable value changes.
PySnooper on GitHub
#1285

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

PySnooper Requires almost no setup.
for example, to log the execution of a function all that would be required is:

import pysnooper

@pysnooper.snoop()
def is_prime(number):
    # function definition ...

every call of the function will get automatically logged.

it also includes many other features which make life a lot simpler such as:

  • Redirecting output to a file

  • Tracking Variables which aren't local to a function

  • Prefix for lines to make them easily searchable

  • Thread info for multi threadded applications

--

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/1373 **Author:** [@AakashKhatu](https://github.com/AakashKhatu) **Created:** 10/5/2019 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`72d635a`](https://github.com/vinta/awesome-python/commit/72d635a1e492d59c1b4ccb707488980ea1ecd3e3) Add PySnooper ### 📊 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 is a debug/logging Library that logs function execution line by line along with Variable value changes. [PySnooper on GitHub](https://github.com/cool-RR/PySnooper) #1285 ## What's the difference between this Python project and similar ones? PySnooper Requires almost no setup. for example, to log the execution of a function all that would be required is: ``` import pysnooper @pysnooper.snoop() def is_prime(number): # function definition ... ``` every call of the function will get automatically logged. it also includes many other features which make life a lot simpler such as: - Redirecting output to a file - Tracking Variables which aren't local to a function - Prefix for lines to make them easily searchable - Thread info for multi threadded applications -- 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:38 -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#1210