Skip to content

Releases: RasseTheBoy/Py_Basic_Commands

0.2.25-beta.5

13 Jan 20:12
Compare
Choose a tag to compare
0.2.25-beta.5 Pre-release
Pre-release

Added required package dependencies to .cfg and .toml file.

Full Changelog: 0.2.25-beta.4...0.2.25-beta.5

0.2.25-beta.4

02 Jan 21:12
Compare
Choose a tag to compare
0.2.25-beta.4 Pre-release
Pre-release

Small update

Full Changelog: 0.2.25-beta.3...0.2.25-beta.4

0.2.25-beta.3

08 Jul 20:26
Compare
Choose a tag to compare
0.2.25-beta.3 Pre-release
Pre-release

Some small QOF changes and a new function to play with.

Added

  • New function try_moving()
    • Tries to move a file
    • Returns False if it fails, and True if it succeeds

Full Changelog: 0.2.25-beta.2...0.2.25-beta.3

0.2.25-beta.2

05 Jul 00:58
Compare
Choose a tag to compare
0.2.25-beta.2 Pre-release
Pre-release
  • Removed _check_input_val()
  • Added some docstrings
  • Added missing files to init.py

0.2.25-beta.01

05 Jul 00:31
Compare
Choose a tag to compare
0.2.25-beta.01 Pre-release
Pre-release

[0.2.25] - 2023-7-3

Major QOL update!

Added

  • New file file_editor.py
    • Has the class FileEditor
    • Can read, edit and write to a file with ease
    • STILL WIP, so may not work as intended
  • New function try_listdir()
    • Tries to list a directory
    • Returns None if it fails
  • fprint()
    • New function error()
      • Prints an error messade to the console, with your own text
      • fprint.error('This is an error message') -> --[!]-- This is an error message --[!]--
    • sep (separator) variable
      • What to join the *args with

Changed

  • A lot of classes had the problem of "sharing" the same fprint(), so do_print was shared between all classes.
    • This has been fixed, and now each class has its own fprint()
  • Changed docstring format from my custom created, to NumnPy style
    • should make it easier to read and understand
  • In a lot of class __call__() functions, the default input values were set as None. Those are removed, and now are being taken from a kwargs.
    • This makes the code a lot more readable, and easier to understand
  • fprint()
    • Total rework of the function
    • Should be easier to add more functions in the future

Removed

  • Some classes had unnecceary @dataclass decorators, so those have been removed
    • Shouldn't affect anything

0.2.24

31 May 00:38
Compare
Choose a tag to compare

Changed

  • remove_file_dir.py
    • Input variables had a default value to them; these were meant to be None
    • Now if do_print or force is set in .config(), it will remember that value

Full Changelog: 0.2.23...0.2.24

0.2.23

30 May 23:34
Compare
Choose a tag to compare

Removed

  • _ prefix from all class self variables
    • Was unnecessary
  • base.py
    • Forgot to remove (debugging) print() from .config()

Full Changelog: 0.2.22...0.2.23

0.2.22

06 May 01:14
Compare
Choose a tag to compare

Changed

  • Forgot to change old variables to new ones
    • _do_print -> do_print

Full Changelog: 0.2.20...0.2.22

0.2.20

06 May 00:55
Compare
Choose a tag to compare

Added

  • All objects can now be imported as is, instead of pre-made variables
    • (Testing how this works out; may be removed in the future)
  • remove_file_dir.py
    • Catches a lot more exceptions when trying to remove a file or directory

Changed

  • Configuring objects actually works now!
    • Code is also a lot more readable
  • xxx.config() function removed from all objects
    • Included in the base.py file
    • No need to create function for each object

Full Changelog: 0.2.01...0.2.20

0.2.01

04 Apr 15:35
Compare
Choose a tag to compare

Added

  • New shield to README.md
    • license

Changed

  • Split all functions into separate files and folders.
    • This will make it easier to find the function you want to use.
    • This will also make it easier to add and fix functions in the future.

Everything should work as before, but if you have any problems,
please let me know!

Most functions have been tested. But there may be some bugs that I have not found yet.
So keep an eye out for future updates!

Full Changelog: 0.1.62...0.2.01