Skip to main content

Misc utilities for FNNDSC python repos

Project description

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

Table of Contents

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.

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

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pfmisc-1.3.32.tar.gz (39.4 kB) Copy SHA256 hash SHA256 Source None Oct 9, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page