Skip to content

Releases: VForiel/LRFutils

v0.1.2

09 Feb 15:07
Compare
Choose a tag to compare

0.1.2

progress

🐛 Bug fixes

  • The Bar initialization was using a pipe in type hints which is not supported in python before 3.10. This is now fixed.

v0.1.1

07 Feb 13:27
Compare
Choose a tag to compare

This release is just to test the Github Action to auto-upload the lib on PyPI

v0.1.0

03 Feb 14:30
Compare
Choose a tag to compare

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 Color to fg and bg classes (respectively for foreground and background colors).
  • 💥 most of color variable were renamed (mostly due to application of pep8 rules).

LRFutils.logs

🔀 Tweaks

  • 💥 log module was renamed logs to avoid conflict with the mathematical log function 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

22 Oct 09:25
Compare
Choose a tag to compare

🩹 Fixes

  • Fixed LRFutils.archive.new() without name leanding to "None" in the archive name.

🔧 Tweaks

  • Now, if any other parameter than name or verbose is given to the LRFutils.archive.new() function, this parameter will be added to the name using LRFutils.archive.description() method.

v0.0.11

22 Oct 07:53
Compare
Choose a tag to compare

Warning

This update include breaking changes 💥

📢 Announcements

➕ Additions

  • Added average_ETA parameter on progress bar to prevent variating ETA. By default, this parameter is set to 10

🔧 Tweaks

  • 💥 LRFutils.progress.Bar()'s duration parameter was renamed in show_duration to be more explicit.
  • 💥 LRFutils.log module was renamed LRFutils.logs in order to have a conveniant import line (from LRFutils import logs) while avoiding conflict with mathematical log function.
  • 💥 LRFutils.color.Color class, was removed. All the attribute are now directly in the module LRFutils.color (which allow to import the module on the same line than other ones from LRFutils import color, logs, archive [...])

v0.0.8

18 Aug 14:34
Compare
Choose a tag to compare

Added log module