Written by Zachary Gannon.
This repository is a collection of utility methods to improve or simplify common tasks like printing with timestamps and tags, reading and writing files, and emulating bash functions.
The gkit_utils
package includes the following utilities modules:
gkit_utils.date_utilities
- Provides methods to fetch datestamps and convert their formats.
gkit_utils.file_utilities
- Provides wrapper methods to standard read/write methods for CSV, JSON, INI (config), and TXT files.
gkit_utils.print_utilities
- Provides methods to display messages with timestamps, message type tags, and dividers.
- Also provides a method to time (theoretically) any method.
gkit_utils.time_utilities
- Provides methods to fetch timestamps and convert their formats.
- Also provides a method to fetch the elapsed time between two timestamps.
Additionally, the gkit_utils
package contains the following helper modules:
gkit_utils.message_generator
- Essentially the backbone of the
print_utilities
module. - This module creates the tagged messages, whereas
print_utilities
displays them.
- Essentially the backbone of the
-
gkit_utils.file_utilities.prepend_headings()
:- Breaks integrity of order of columns per row in Python < 3.6.
-
gkit_utils.file_utilities.convert_file()
:- Does not work. Not sure if salvageable in current state.
- Write docs