Created by: AakashKhatu
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 (closed)
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