Skip to main content

Simple and useful python decorator for real-time logging.

Project description


Simple and useful python decorator for real-time logging.

How to use it

To install run:

pip install python-watch

Add the following line at the top of your file:

from python_watch.functions import watch 

And simple wrap your function or class method:

def print_text(text):


Open your development console and see the result:

""" /my_project/news/ => print_text: Line number 15 """
args: ('hello_world')

That's all.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-watch, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size python_watch-0.3-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page