Misc utilities for FNNDSC python repos
This repository provides pfmisc – miscellaneous services for the pf family.
Most simply, pfmisc provides debug, text-console colorization, and error modules.
Simply do a
import pfmisc class MyClass(): def __init__(self, *args, **kwargs): self.debug = pfmisc.debug() self.debug.qprint('hello there!')
which will result in some decent debugging in stdout.
Installation is relatively straightforward, and best done with pip:
pip install pfmisc
Please examine the pfmisc.py code for hints on how to use/call the various debugging and error modules: