Runez

Latest version: v5.3.0

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

Scan your dependencies

Page 15 of 15

1.7.7

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

* Hint type of ``runez.conftest.cli`` for PyCharm's auto-complete

* Added support for ``ignore=[...]`` in ``copy()``

* Strip trailing spaces by default when saving pretty-printed json

* Added ``runez.log.spec.clean_handlers`` (``True`` by default), to automatically cleanup any pre-existing ``logging.root.handlers``

* Renamed ``to_json`` -> ``from_json`` (to avoid confusion)

* Augmented all docstrings to accept ``str`` or ``unicode``, to avoid type-check warnings in python 2.7

* Allow stacked ``CaptureOutput``

1.6.12

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

* Better heartbeat

* ``runez.log.setup(rotate=)`` raises more descriptive ``ValueError`` if bogus value passed

* Added ``runez.config`` and ``runez.click.config``

* Added ``runez.header()``

* Auto-simplify ``sys.argv`` when running tests in pycharm

* Removed ``prop`` (wasn't useful after all)

* Modified ``runez.log.setup()``:

* Renamed ``custom_location`` to ``file_location``

* Introducing ``console_level``, and ``file_level``

1.5.5

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

* Correctly handle ``custom_location``

* Preparing for log file rotation support

* Introduced ``runez.UNSET`` to distinguish between values not provided vs ``None`` (to avoid confusion)

* ``custom_location=`` instead of ``location=`` in ``runez.log.setup()``

* ``custom_location`` is now part of ``runez.log.spec``
(meaning it can be set via ``log.setup()``, or via ``log.spec.set()``, just like all other settings)

1.4.4

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

* Removed ``runez.State``, dryrun is now in ``runez.DRYRUN``

* Removed ``runez.debug()``, ``runez.info()`` etc, use ``runez.log.setup()`` then simply calls to ``logging.debug()`` etc

* Added ``runez.log.setup()``, a convenient way of performing typical logging setup in one line

1.3.6

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

* Added ``basename`` and ``prop``

* Added ``Heartbeat``, ``shortened``, ``testing``

* Refactored code to allow for better

* Simplified names::

JsonSerializable -> Serializable
run_program() -> run()
write_contents() -> write()

1.2.8

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

* Initial operational version


.. _PEP-440: https://peps.python.org/pep-0440/

Page 15 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.