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

Release history Release notifications

This version


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.1
Filename, size File type Python version Upload date Hashes
Filename, size python_watch-0.1-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size python-watch-0.1.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page