Enlighten

Latest version: v1.12.4

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

Scan your dependencies

Page 4 of 6

1.6.0

**New Features**
- Status bars can now be created with [Manager.status_bar()](https://python-enlighten.readthedocs.io/en/stable/api.html#enlighten.Manager.status_bar)
- Bars can now be [invoked](https://python-enlighten.readthedocs.io/en/stable/api.html#enlighten.Manager.counter) with ``autorefresh=True`` to trigger a refresh whenever another bar is updated or refreshed
- ``fill`` can now be used multiple times in counters and status bars
- Remaining space is divided equally
- Fill character can now be specified for [counters](https://python-enlighten.readthedocs.io/en/stable/api.html#enlighten.Counter), with ``fill`` keyword
- Compound colors, like ``'aqua_on_seagreen'`` are now supported
- Additional keywords passed to [Counter()](https://python-enlighten.readthedocs.io/en/stable/api.html#enlighten.Counter) and [Counter.update()](https://python-enlighten.readthedocs.io/en/stable/api.html#enlighten.Counter.update) are now used as [user-defined fields](https://python-enlighten.readthedocs.io/en/stable/patterns.html#user-defined-fields)

**Changes**
- ``Counter.last_update`` is now updated when [Counter.refresh()](https://python-enlighten.readthedocs.io/en/stable/api.html#enlighten.Counter.refresh) is called
- ``Counter.last_update`` is now reset when [Counter.clear()](https://python-enlighten.readthedocs.io/en/stable/api.html#enlighten.Counter.clear) is called

**Bug fixes**
- Position pinning now works as expected

1.5.2

Bug Fixes:
- Ensure scroll reset does not exceed screen height 19

Housekeeping:
- Updated [documentation](https://python-enlighten.readthedocs.io/en/stable/examples.html#color) to provide colored text examples

1.5.1

Bug Fixes:
- Fix Read The Docs references that point to latest
- Support counter tests in non-Unicode environments
- Account for unsupported encoding value when determining default series

1.5.0

New Features:
- Support for RGB and X11 [colors](https://python-enlighten.readthedocs.io/en/latest/api.html#series-color)
- New parameter for [Counter()](https://python-enlighten.readthedocs.io/en/latest/api.html#enlighten.Counter): `additional_fields`
- User-defined fields available for counter [formatting](https://python-enlighten.readthedocs.io/en/latest/api.html#counter-format)
- New multiprocessing [example](https://github.com/Rockhopper-Technologies/enlighten/blob/master/examples/multiprocessing_queues.py)
- Subcounter fields `count_n` and `rate_n` are now available in counter-only [format](https://python-enlighten.readthedocs.io/en/latest/api.html#counter-format)
- New repr output

Bug Fixes:
- Fallback series for non-unicode encoding 13
- Workaround implemented for Python 3.9 Issue [39966](https://bugs.python.org/issue39966)

Changes:
- Drop EL6-specific testing
- Python 2.6 automated testing is still enabled, but failures are non-blocking
- Specifying [color](https://python-enlighten.readthedocs.io/en/latest/api.html#series-color) by index is now deprecated
- Minimum supported version of [Blessed](https://pypi.org/project/blessed/) is [1.17.2](https://github.com/jquast/blessed/releases/tag/1.17.2)

Housekeeping:
- Added Python 3.9-dev testing

1.4.0

New Features:
- Escape sequences automatically detected when determining bar width
When [offset](https://python-enlighten.readthedocs.io/en/stable/api.html#counter-offset) is set, this functionality is disabled

Changes:
- Flush streams on program exit
Prevents escape processing from being disabled on Windows before all data with written to the terminal
- Use [Blessed](https://pypi.org/project/blessed) for Windows support
Windows support in Enlighten has been [merged](https://github.com/jquast/blessed/pull/110) into [Blessed](https://pypi.org/project/blessed)


Housekeeping:
- Update FAQ
- Cleanup Examples
- Unicode cleanup (Python 2.7)
- Add tests and metadata for Python 3.8 Final

1.3.3

- Catch additional exception for invalid filehandle when checking terminal size in WIndows

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.