5.1.0 (May 29, 2025)#
Added#
Add
logs.FORMAT_SEC, renameFORMAT->FORMAT_MS.New class
logs.LoggingSetupHelper.New functions
logs.get_logger()andconvert_log_level().New naive functions
strings.camel_to_snake()andsnake_to_camel().New class
types.LiteralHelper[T].New wrapper functions
types.verify_literal()andverify_enum().New module
rics.env:Added
read-functions for primitive types;read_bool(),read_int,read_enum().Added
types.LiteralHelper[T].read_env().
New function
strings.str_as_bool().New module
rics.click.The
MultiCaseTimernow supports callabletest_dataargs to generate data.Finished new
rics.performanceplotting implementation (support facets).
Changed#
Update
basic_config.basic_config(): Allow and handlelevel=Noneto avoid logging from root.The
misc.get_by_full_name()function now supports reading member attributes. Uses entrypoint syntax, e.g.pandas:DataFrame.sum.Moved some functions to new
rics.envmodule:Moves implementation
rics.envinterp->rics.env.interpolation.Moved implementation of
misc.interpolate_environment_variables()->env.interpolation.replace_in_string().
Aliases above will be deprecated in
0.6.0and removed in0.7.0.Added
strings.format_seconds(full=False); round to nearest minute for durations above four hours.
Fixed#
Calling
MultiCaseTimer.run(number=<int>)no longer crashes.Calling
tname()withprefix_classname=Truewhenargis an inherited instance method (e.g.pd.Series().describe) now uses the child name. This parent is still shown for methods of uninitialized child types (e.g.pd.Series.describe).