tomasohara / mezcla

Upgrade to misc-utility: miscellaneous python utility scripts developed for various projects over the years,
GNU Lesser General Public License v3.0
3 stars 1 forks source link

add facility for noting utility function correspondence to standard library functions #70

Open tomasohara opened 7 months ago

tomasohara commented 7 months ago

Mezcla is intended for R&D programming rather than product, but it would still be nice for there to be a way to establish a correspondence between the utility function correspondence to standard library functions. For example, glue_helper's form_path corresponds to os.path.join (albeit with a create option).

tomasohara commented 7 months ago

More examples:

system.getenv_int(var, default) => (int)os.environ.get(var), default)

system.getenv_bool(var, default) => (str(os.environ.get(var), default)).lower() in ["0", "f", "false", "none"])