This repository is home to my Python functions that have potential use across a wide range of different projects and scripts.
- colors.py: output stylized text in command-line (or other interface with ANSI support) with ANSI escape sequences.
- fake_progress_bar.py: print a progress bar that loads in a given amount of time.
- runtime.py: decorator to log a function's runtime.
- traverse_nested_dict.py: set or retrieve a value from a nested dict of arbitrary depth.
- uniqify.py: return a list of unique elements while preserving order.