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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/vinta/awesome-python/pull/1373
Author: @AakashKhatu
Created: 10/5/2019
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
72d635aAdd PySnooper📊 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:
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.