Skip to content

v2.5.0

Compare
Choose a tag to compare
@caleb531 caleb531 released this 03 Jan 18:55
· 22 commits to main since this release
bbe5dbe

New Features

  • Added a new (built-in) count_phrases analyzer which allow you to count the number of case-insensitive occurrences of any arbitrary strings across all messages in a conversation (excluding reactions)
    • e.g. ica -c count_phrases -c 'Jane Fernbrook' 'i love you'
  • Added a new prettify_index parameter to the ica.output_results function; if you specify it with a value of False, it will disable the default behavior of titleizing index values (see the new count_phrases analyzer for an example)

Deprecations

  • The get_cli_args() function has been deprecated in favor of the new get_cli_parser() method
    • The get_cli_parser() function gives you access to the underlying argparse.ArgumentParser instance, allowing you to add new CLI arguments specific to your analyzer
    • To migrate, replace ica.get_cli_args() with ica.get_cli_parser().parse_args() across your project files

Under-the-Hood Improvements

  • Upgraded all dependencies to their latest versions
  • The CLI now throws an ImportError if a module spec cannot be created (this is unlikely, though)
  • The __main__ entry point module is now fully tested, increasing the code coverage for the library