Skip to main content

A simple function that will help you with debugging.

Project description

simple-print

A simple function that will help you with debugging.

https://github.com/Sobolev5/simple-print

How to use it

To install run:

pip install simple-print

Add the following line at the top of your file:

from simple_print.functions import sprint, sprint_f 

And simple print your variables:

a = 5
sprint(a)    
sprint(a, 'red') # colors: 'grey', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white'. 
sprint_f(a) 
sprint_f(a, 'green')

Open your development console and see the result:

a=5 :: line 15
a=5 :: line 15
a=5 :: line 15 :: /my_project/news/views.py
a=5 :: line 15 :: /my_project/news/views.py

That's all.

Project details


Release history Release notifications

This version

0.1

Download files

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

Files for simple-print, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size simple_print-0.1-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size simple-print-0.1.tar.gz (2.1 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