Releases: Rockhopper-Technologies/enlighten
Releases · Rockhopper-Technologies/enlighten
1.10.0
New Features
- [Experimental] Support for Jupyter Notebooks
width
keyword can be applied to manager classes to statically specify width
1.9.0
New Features
- Human-readable numeric prefixes #29
- Allows automatic conversion of SI (metric) and IEC (binary) unit prefixes
- Improved exemption messages for unavailable reserve fields
rate_0
,rate_00
,interval_0
, andinterval_00
added as formatting fields
Changes
- New dependency: Prefixed
all_fields
can now be specified as a keyword argument to Counter to set the default value for subcounters
Housekeeping
- Minor refactoring and optimizations
- Demo updated
- Added Conda badge and instructions
1.8.0
New Features
-
Manager.counter() and Manager.status_bar() now have a
replace
keyword argumentreplace
value must be an existing managed counter or status bar- New counter will assume the position of the counter it replaces
- Old counter will be closed and removed
- Equivalent to setting
leave=False
and runningcounter.close
before adding a new counter
-
percentage_00
andcount_00
added asbar_format
formatting fields (#42)- Sum of percentages and counts for all subcounters
- Inverse of percentage_0 and count_0
Changes
position
for Manager.counter() and Manager.status_bar() must be >= 1- This was assumed before, but not enforced
Bugfixes
- Improved behavior of multicolored bars to avoid partial bars when count is 0 (#41)
Housekeeping
- Fixed typos
- Minor refactoring
1.7.2
Changes
- Manager() argument,
threaded
, now defaults to True when multiple processes are detected - Evaluation of Manager() argument,
threaded
, now deferred until scroll area is set when not set explicitly - Added FAQ question about reentrant calls
Housekeeping
blessed.Terminal
subclass removed- Removed assert statements from code
1.7.1
1.7.0
New Features
- Added
interval
, the inverse ofrate
as a built-in formatting field. [ Issue #34 ] - Added new
Manager()
argument,threaded
, which forces threading behavior whenTrue
- Defaults to
True
when multiple threads are detected
- Defaults to
Changes
- Deferred resize handing introduced in 1.6.2 is now only performed if
threaded
isTrue
(default when multiple threads are detected)
Bugfixes
- Improved resize handing [ Issue #33 ]
Housekeeping
- Add 3.9 support to package metadata
- Minor optimizations
1.6.2
Changes
- Output will now be resized on the first write after a resize is detected
- This addresses an issue that can cause threaded programs to crash #28
- Default Unicode are now used when running under Windows Terminal
- Other windows terminals, like CMD, will still default to cp65001 compatible characters
Bug fixes'
- Additional stream flushes added to ensure incidental flush aren't relied upon #21
- Updated RPM installation instructions
1.6.1
1.6.0
New Features
- Status bars can now be created with Manager.status_bar()
- Bars can now be invoked 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, with
fill
keyword - Compound colors, like
'aqua_on_seagreen'
are now supported - Additional keywords passed to Counter() and Counter.update() are now used as user-defined fields
Changes
Counter.last_update
is now updated when Counter.refresh() is calledCounter.last_update
is now reset when Counter.clear() is called
Bug fixes
- Position pinning now works as expected