1.0 (2016-11-26):
  • initial production release.
1.1 (2016-11-27):
  • added known_units preference.
  • added get_preference class method.
1.2 (2017-02-24):
  • allow digits after decimal point to be optional
  • support underscores in numbers
  • allow options to be monkey-patched on to Quantity objects
  • add strip_dp option
  • fix some issues in full precision mode
  • ranamed some options, arguments and methods
1.3 (2017-03-19):
  • reworked constants
  • added unit systems for physical constants
2.0 (2017-07-15):

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 quantiphy.Quantity
  • replaced Quantity.add_to_namespace with quantiphy.Quantity.extract()
  • raise NameError rather than AssertionError for unknown preferences
  • added quantiphy.Quantity.all_from_conv_fmt() and quantiphy.Quantity.all_from_si_fmt()
  • change assign_rec to support more formats
  • changed Constant() to quantiphy.add_constant()
  • changed the way preferences are implemented
  • changed name of preference methods: set_preferencesset_prefs, get_preferenceget_pref
  • added quantiphy.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
2.1 (2017-07-30):

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 quantiphy.Quantity.extract() that names must be identifiers
2.2 (2017-11-22):
2.3 (2018-03-11):
2.4 (2018-09-12):
  • fixed bug in format that resulted in several format codes ignoring width
  • follow Python convention of right-justifying numbers by default.
  • add Quantity.add() (adds a number to a quantity returning a new quantity)
  • added # alternate form of string formatting.
  • Change show_si to form (argument on quantiphy.Quantity.set_prefs() and quantiphy.Quantity.render() (show_si is now obsolete, use form=’si’ instead).
  • Added concept of equivalent units for unit conversion to documentation.
  • Enhance UnitConversion so that it supports nonlinear conversions.
2.5 (2019-01-16):
Latest development release:
Version: 2.5.0
Released: 2019-01-16