Py-basic-commands

Latest version: v0.2.24

Safety actively analyzes 701533 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 7

0.1.3

Added

- `read_file()`
- Able not to split lines -> Returns `string`
- Able to change `encoding` (default: `'utf-8'`)
- New function `write_file()`
- New function `fd()`
- For fast debugging
- New `dependency required`: `colored`

Todo

- `README` add
- `write_file()`
- `fd()`

0.1.2

Added

- `finput()`
- `text` variable to `'Input: '` if empty/`None` empty `''`
- `choose_from_list()`
- Possible to choose more than one variable from list
- Returns an empty list, instead of `None` (line: `110`)
- `remove_file_dir()`
- Shows correct `error` messages for both `'dir'` and `'file'`
- Returns `traceback.format_exc()` if `except` happens
- `try_traceback`
- Now returns `traceback.format_exc()`
- `func_timer`
- Able to return `time_delta`
- `do_print` to all prints
- `README`
- Examples added for all functions and decorators

Changed

- `get_path_for_file()` ---> `get_dir_path_for_file()`
- Updated `__init__.py`
- `get_dir_path_for_file()`
- `return_val` ---> `ret_val`

**Full Changelog**: https://github.com/RasseTheBoy/Py_Basic_Tools/compare/0.1.1...0.1.2

0.1.1

Added

- Added `do_print` to a lot of `fprint()` functions
- `create_file_dir()`
- `remove_file_dir()`
- `read_files()`

0.1.0

Added

- New function `remove_file_dir()`
- New function `get_path_for_file()`

Changed

- Some tweaks to `create_file_dir()`

0.0.9

New function added: `read_file()`

0.0.8

Check CHANGELOG

Page 6 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.