Releases: VForiel/LRFutils
Releases · VForiel/LRFutils
v0.1.2
v0.1.1
v0.1.0
Warning
This version contain a lot of breaking changes that are identifies below with the 💥 emoji.
LRFutils.color
➕ Additions
- Colors can now be applied using functions such as
LRFutils.color.yellow("Hello World!")
🔀 Tweaks
- 💥 Color variables move from class
Colortofgandbgclasses (respectively for foreground and background colors). - 💥 most of color variable were renamed (mostly due to application of pep8 rules).
LRFutils.logs
🔀 Tweaks
- 💥
logmodule was renamedlogsto avoid conflict with the mathematicallogfunction when the lib is imported with*. - Log folder and file are now created only if one log message is recorded (not anymore at the import of the module).
- The custom hookexcept is no more applied by default. Now, you have to call
LRFutils.logs.replace_hookexcept()to apply it.
0.0.12
🩹 Fixes
- Fixed
LRFutils.archive.new()without name leanding to "None" in the archive name.
🔧 Tweaks
- Now, if any other parameter than
nameorverboseis given to theLRFutils.archive.new()function, this parameter will be added to the name usingLRFutils.archive.description()method.
v0.0.11
Warning
This update include breaking changes 💥
📢 Announcements
- This module is now available on Pypi!
https://pypi.org/project/LRFutils/0.0.11/- You can then install it using
pip install LRFutils
- You can then install it using
➕ Additions
- Added
average_ETAparameter on progress bar to prevent variating ETA. By default, this parameter is set to 10
🔧 Tweaks
- 💥
LRFutils.progress.Bar()'sdurationparameter was renamed inshow_durationto be more explicit. - 💥
LRFutils.logmodule was renamedLRFutils.logsin order to have a conveniant import line (from LRFutils import logs) while avoiding conflict with mathematical log function. - 💥
LRFutils.color.Colorclass, was removed. All the attribute are now directly in the moduleLRFutils.color(which allow to import the module on the same line than other onesfrom LRFutils import color, logs, archive [...])