github KenKundert/quantiphy v2.0

latest releases: v2.20, v2.19, v2.18...
8 years ago

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

Don't miss a new quantiphy release

NewReleases is sending notifications on new releases.