Skip to main content

Misc utilities for FNNDSC python repos

Project description


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. Sometimes, it is useful to create a shortcut

self.debug  = pfmisc.debug()
self.log    = self.debug.qprint


Installation is relatively straightforward, and best done with pip:

pip install pfmisc


Please examine the code for hints on how to use/call the various debugging and error modules:

Project details

Download files

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

Source Distribution

pfmisc-2.2.12.tar.gz (41.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page