Skip to content

v0.3.0

Choose a tag to compare

@wildekek wildekek released this 26 Jul 18:16
70f02d0

Adds identifier naming helpers, moving the readout identifier grammar into the library alongside the enumeration decoding.

  • split_camel()VentPositionLeewardSide becomes Vent position leeward side, keeping acronyms such as CO2 intact.
  • readout_display_name() — turns an identifier into a friendly name, dropping the default Measured kind (and Ridder's Measuered typo of it) and parenthesising the others.
  • readout_subject() — the identifier without its -kind suffix, lowercased.
  • disambiguate_source_names() — resolves clashing source display names by appending the source type, then a number from the technical name.

No behaviour changes to existing API.