Skip to content

Add PySnooper#1373

Closed
AakashKhatu wants to merge 1 commit intovinta:masterfrom
AakashKhatu:master
Closed

Add PySnooper#1373
AakashKhatu wants to merge 1 commit intovinta:masterfrom
AakashKhatu:master

Conversation

@AakashKhatu
Copy link

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.

@richarson
Copy link

Duplicate of #1296 , please vote on that one :)

@stale stale bot added the stale label Nov 22, 2019
@stale stale bot closed this Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants