jeremyephron / python-utilities

Python utility functions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Utility Functions

This repository is home to my Python functions that have potential use across a wide range of different projects and scripts.

Modules :octocat:

  • 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.

About

Python utility functions.


Languages

Language:Python 100.0%