Skip to content

Releases: KenKundert/quantiphy

v2.1

31 Jul 00:05

Choose a tag to compare

The primary focus of this release was on improving the documentation, though there are a few small feature enhancements.

  • added support for SI standard composite units
  • added support for non-breaking space as spacer
  • removed constraint in extract() that names must be identifiers

v2.0

13 Jul 17:52

Choose a tag to compare

This is a 'coming of age' release where the emphasis shifts from finding the right interface to providing an interface that is stable over time. This release includes the first formal documentation and a number of new features and refinements to the API.

  • created formal documentation
  • enhanced label_fmt to accept {V}
  • allow quantity to be passed as value to Quantity
  • replaced Quantity.add_to_namespace with Quantity.extract
  • raise NameError rather than Assertion for unknown preferences
  • added Quantity.all_from_conv_fmt() and Quantity.all_from_si_fmt()
  • change assign_rec to support more formats
  • changed Constant() to add_constant()
  • changed the way preferences are implemented
  • changed name of preference methods: set_preferences -> set_prefs, get_preference -> get_pref
  • added Quantity.prefs() (preferences context manager)
  • split label_fmt preference into two: label_fmt and label_fmt_full
  • added show_desc preference
  • allow show_label to be either 'a' or 'f' as well True or False
  • renamed strip_dp option to strip_radix
  • added number_fmt option

v1.3

19 Mar 18:12

Choose a tag to compare

Reworks constants and adds support for both mks and cgs constants.