Overview
This repository provides pfmisc – miscellaneous services for the pf family.
Most simply, pfmisc provides debug, text-console colorization, and error modules.
Usage
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
Installation is relatively straightforward, and best done with pip:
pip install pfmisc
Notes
Please examine the pfmisc.py code for hints on how to use/call the various debugging and error modules:
https://github.com/FNNDSC/pfmisc
Release files for pfmisc 2.2.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pfmisc-2.2.14.tar.gz | 41.5 kB | Details |
Release files / pfmisc-2.2.14.tar.gz
| Download URL | pfmisc-2.2.14.tar.gz |
|---|---|
| Size | 41.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5f9c8a458170e56770b32ee6c30231dafd3ec10f13cb4a40b17a5c5601b706b
|
|
BLAKE2b-256 checksum How to use checksums |
691ffb4d1c7d7679a1606223cb3e27e79348d85cc27e2ba5fd15449a7a4dc1d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|