pyxx.dev

Functions and utilities to assist in debugging or analyzing Python code

The pyxx.dev module is intended to provide commonly used tools or scripts that can be useful when debugging Python code.

Code Profiling

The classes below are intended to assist in analyzing the performance of and profiling code.

InterruptibleLoop([throw_exception])

Context manager to create an interruptible loop

TimeIt([print_duration, units, message])

A context manager for measuring the duration of a code block.