Skip to main content
https://badge.fury.io/py/pfmisc.svg https://travis-ci.org/FNNDSC/pfdcm.svg?branch=master https://img.shields.io/badge/python-3.5%2B-blue.svg

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

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.14.tar.gz (41.5 kB view details)

Uploaded Source

File details

Details for the file pfmisc-2.2.14.tar.gz.

File metadata

  • Download URL: pfmisc-2.2.14.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pfmisc-2.2.14.tar.gz
Algorithm Hash digest
SHA256 e5f9c8a458170e56770b32ee6c30231dafd3ec10f13cb4a40b17a5c5601b706b
MD5 2be5c2e1fa329f5dd4e98642530edda6
BLAKE2b-256 691ffb4d1c7d7679a1606223cb3e27e79348d85cc27e2ba5fd15449a7a4dc1d6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.2.14 This release

1 file

2.2.12

1 file

2.2.10

1 file

2.2.8

1 file

2.2.4

1 file

2.2.2

1 file

2.0.2

1 file

2.0.0

1 file

1.4.2

1 file

1.4.0

1 file

1.3.32

1 file

1.3.30

1 file

1.3.28

1 file

1.3.26

1 file

1.3.24

1 file

1.3.22

1 file

1.3.20

1 file

1.3.18

1 file

1.3.16

1 file

1.3.14

1 file

1.3.12

1 file

1.3.10

1 file

1.3.8

1 file

1.3.6

1 file

1.3.4

1 file

1.3.2

1 file

1.3.0

1 file

1.2.2

1 file

1.2.0

1 file

1.0.1

1 file

1.0.0

1 file

0.99.12

1 file

0.99.11

1 file

0.99.10

1 file

0.99.9

1 file

0.99.8

1 file

0.99.7

1 file

0.99.6

1 file

0.99.5

1 file

0.99.4

1 file

0.99.3

1 file

0.99.2

1 file

0.99.1

1 file

0.99

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page