Quantiphy

Latest version: v2.20

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

2.2

2.1

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

2.0

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

1.3

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

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.