actio_python_utils.utils¶
Functions
|
Cast a chromosome string, optionally prefixed with chr, to an integer. |
|
Check if the given directory is valid for outputting. |
|
Return the first argument that is not |
|
Wraps a function to output the function signature, run the function, output the return value, and return the return value. |
|
Extract a sheet from an Excel spreadsheet. |
|
Flatten a nested value in a dict |
|
Get the column names from the first line of the specified file and optionally replaces an arbitrary sequence of strings to others |
|
Return a file handle to filename using |
|
Return a file handle to filename using |
|
Runs a |
|
Return a file handle to filename using either |
|
Returns a new dict that's a copy of the supplied dict but with an arbitrary number of keys renamed |
|
Syncs a directory to specific S3 bucket/path. |
|
Wraps a function to output the running time of function calls. |
|
|
|
Open pipe, zipped, or unzipped file automagically |
Classes
|
Class that after initializing with a dict can be called to map keys to values, e.g.. |
|
Creates a class that can be used as a function to verify that a passed argument is a numeric value of the correct type and in the expected range |