Skip to content

Releases: hsbc/pyratings

v0.6.1

24 Feb 13:21
Compare
Choose a tag to compare

Security

  • Updated third-party dependencies (#54, #55).

Improved

v0.6.0

18 Jan 12:32
092f7dd
Compare
Choose a tag to compare

Added

  • Option to choose between three different strategies to translate scores into short-term ratings (#24).
  • Functionality to remove prefix '(P)' when cleaning ratings (#27).
  • Functions to consolidate ratings and return numerical rating scores (#37):
    • get_best_scores
    • get_second_best_scores
    • get_worst_scores
  • Function consolidate_ratings: Wrapper function for get_best_ratings, get_second_best_ratings, and get_worst_ratings (#37).

Changed

  • BREAKING CHANGE: Automatic column naming (#9).
    • get_scores_from_ratings()
      When input a pd.Series, the name of the output series will now become ratings.name prefixed with "rtg_score_".
      When input a pd.DataFrame, the column names of the output frame will now become ratings.columns prefixed with "rtg_score_".
    • get_warf_from_ratings()
      When input a pd.Series, the name of the output series will now become ratings.name prefixed with "warf_".
      When input a pd.DataFrame, the column names of the output frame will now become ratings.columns prefixed with "warf_".
  • BREAKING CHANGE: Translations of short-term ratings are now different (#16).

Fixed

  • Short-term DBRS rating entries in Ratings.db (#29).

Improved

  • Splitting the code base into multiple files in order to increase maintainability (#8).
  • Internal checks have been improved (#20).
  • Documentation has been updated and will now be created via mkdocs and mkdocstrings.
  • Using nox to test the code base against multiple Python versions.
  • Make code base flake8 compliant.
  • Use pre-commit to ensure good quality before commiting/sending PRs.
  • Use python-kacl in order to maintain CHAGELOG.

v0.5.4

07 Jul 13:33
42da2a8
Compare
Choose a tag to compare

Changed

  • Moved from setup.py to pyproject.toml configuration file.

v0.5.3

05 Apr 14:15
Compare
Choose a tag to compare

Updated documentation

v0.5.2

25 Mar 10:01
Compare
Choose a tag to compare

Initial release to public GitHub repository