Sciform

Latest version: v0.37.0

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

Scan your dependencies

Page 5 of 8

0.26.0

-------------------

* **[BREAKING]** Rename some format options to make their usage more
clear.

* ``exp`` to ``exp_val``
* ``precision`` to ``ndigits``
* ``RoundMode.PREC`` to ``RoundMode.DEC_PLACE``
* ``AutoExp`` to ``AutoExpVal``
* ``AutoPrec`` to ``AutoRound``

* Raise more exceptions for incorrect options combinations.

* Raise an exception when using ``pdg_sig_figs`` with a user-supplied
``exp_val``.
* Raise exceptions instead of warnings for invalid user-supplied
``exp_val`` in ``get_mantissa_base_exp()``.

* Minor refactor to ``GlobalDefaultsContext``.
* Documentation:

* Update documentation to reflect name changes above.
* Better centralization of ``float``/``Decimal`` information.
* Better explanations of ``AutoExpVal`` and ``AutoRound`` behavior.
* More accurate descriptions of some invalid options combinations.

----

0.25.2

-------------------

* Update roadmap

----

0.25.1

-------------------

* Refactor ``get_pdg_round_digit()`` into a dedicated function.

----

0.25.0

-------------------

* **[BREAKING]** ``template`` option removed from ``FormatOptions``
constructor.
New ``FormatOptions`` instances can be constructed from two existing
``FormatOptions`` instances using the ``merge()`` method.
* Minor documentation improvements.

----

0.24.0

-------------------

* **[BREAKING]** percent mode is now accessed via an exponent mode,
``ExpMode.PERCENT``.
There is no longer a ``percent`` keyword argument.

----

0.23.0

-------------------

* **[BREAKING]** Users now construct ``FormatOptions`` objects which
they pass into ``Formatter`` objects and global configuration
functions.
``Formatter`` and global configuration functions no longer accept bare
keyword arguments to indicate formatting options.
* **[BREAKING]** ``Formatter`` now resolves un-filled format options
from the global defaults at format time instead of initialization
time.
This is consistent with the previous behavior for ``SciNum`` and
``SciNumUnc`` objects.
* Change ``pyproject.toml`` description

----

Page 5 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.