semvec/pypi-packages huggingface dataset:
utillc 0.11.4
a utility for smart logging
License: MIT
Requires Python: >=2.7
Keywords: logging fstring alternative


## a utility for smart logging
Like this :

#source code of test.py

	from utillc import *
	import utillc
	import time

	a,b = 1,"23"
	EKOX(a)
	EKOX((a, b))
	for i in range(5) :
    		time.sleep(1)
    		EKOX(i)

	EKO()
	EKOT("done")


# Output :

MINEKOLEVEL=0 python test.py

	test.py:8: [0021ms] a=1.
	test.py:9: [0000ms] a = 1,  b = 23.
	test.py:12: [1002ms] i=0.
	test.py:12: [1003/1003ms] i=1.
	test.py:12: [1002/1002ms] i=2.
	test.py:12: [1003/1003ms] i=3.
	test.py:12: [1002/1002ms] i=4.
	test.py:14: [0000ms] .
	test.py:15: [0000ms] =done.



- format understood by emacs filename:linenumber
- time since last EKO
- time since last time when same line executed
- output format : <variable name>=<value>

more compact than fstring and compatible back to python 2.7

# todo

remove text like 'ipython-input-7-210784e6384d' which is the 'filename' equivalent when running in notebook and which is useless