Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A awesome-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 317
    • Merge requests 317
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Vinta Chen
  • awesome-python
  • Merge requests
  • !1373

Add PySnooper

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/AakashKhatu/master into master Oct 05, 2019
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

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 👍 to it, and usually, the maintainer will merge it when votes reach 20.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/AakashKhatu/master