1.0.0 (November 26, 2022)#

Added#

  • The logs.disable_temporarily function (returns a context manager).

  • Permit creation of derived classes with Translator.from_config.

  • Flesh out description of the Translatable type variable.

  • Ability for the perftest CLI program to create and run dummy tests.

  • Utility method utility.pandas.TimeFold.iter: Create temporal k-folds from a heterogeneous DataFrame.

  • Make SqlFetcher engine creation more customizable.

    • Add SqlFetcher.create_engine, which my be overridden.

    • Add optional engine_kwargs init argument.

Changed#

  • Change definition of Mapper.context_sensitive_overrides; now also True for blank overrides regardless of type.

  • Discard useless (no-source) fetchers in MultiFetcher.

  • The SqlFetcher class now always includes the engine information in log messages.

  • The utility.misc.tname-method now also considers __name__ before falling back to __class__.__name__.

  • The utility.configure_stuff-method now also sets the pandas float_format option.

  • Renamed perftest CLI program to mtimeit (was: rics-perf).

  • Feature gate all CLI functionality behind the new cli extra.

Fixed#

  • Properly handle empty whitelists in SqlFetcher. Used to treat empty whitelist as no whitelist.