ReleasesΒΆ

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):
  • 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