Releases: RasseTheBoy/Py_Basic_Commands
Releases · RasseTheBoy/Py_Basic_Commands
0.2.25-beta.5
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
Small update
Full Changelog: 0.2.25-beta.3...0.2.25-beta.4
0.2.25-beta.3
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, andTrue
if it succeeds
Full Changelog: 0.2.25-beta.2...0.2.25-beta.3
0.2.25-beta.2
- Removed
_check_input_val()
- Added some docstrings
- Added missing files to init.py
0.2.25-beta.01
[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
- Has the class
- 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
- What to join the
- New function
Changed
- A lot of classes had the problem of "sharing" the same
fprint()
, sodo_print
was shared between all classes.- This has been fixed, and now each class has its own
fprint()
- This has been fixed, and now each class has its own
- 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 asNone
. 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
Changed
remove_file_dir.py
- Input variables had a default value to them; these were meant to be
None
- Now if
do_print
orforce
is set in.config()
, it will remember that value
- Input variables had a default value to them; these were meant to be
Full Changelog: 0.2.23...0.2.24
0.2.23
Removed
_
prefix from all class self variables- Was unnecessary
base.py
- Forgot to remove (debugging)
print()
from.config()
- Forgot to remove (debugging)
Full Changelog: 0.2.22...0.2.23
0.2.22
Changed
- Forgot to change old variables to new ones
_do_print
->do_print
Full Changelog: 0.2.20...0.2.22
0.2.20
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
- Included in the
Full Changelog: 0.2.01...0.2.20
0.2.01
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