Releases: fabiocaccamo/python-fsutil
Releases · fabiocaccamo/python-fsutil
0.9.2
- Fix
FileNotFoundErrorwhen callingmake_dirs_for_filewith filename only. - Pin test requirements.
- Bump test requirements.
0.9.1
- Fix
OSErrorwhen downloading multiple files to the same temp dir.
0.9.0
- Drop old code targeting
Python < 3.8. - Add
get_unique_namemethod. - Add
replace_filemethod. - Add
replace_dirmethod. - Add
get_dir_hashmethod. #10 - Add support to
pathlib.Pathpath arguments. #14 - Add default value for
patternargument insearch_dirsandsearch_filesmethods. - Add more assertions on path args.
- Increase tests coverage.
- Add
setup.cfg(setuptoolsdeclarative syntax) generated usingsetuptools-py2cfg. - Add
pyupgradetopre-commitconfig. - Fix duplicated test name.
- Remove unused variable in tests.
0.8.0
- Add
Python 3.11support. - Drop
Python < 3.8support. #17 - Add
pypyto CI. - Add
pre-commit. - Add default json encoder to
write_file_jsonfor encoding alsodatetimeandsetobjects by default. - Replace
str.formatwithf-strings. - Make
dirpathargument optional indownload_filemethod. - Fix
download_fileNameErrorwhenrequestsis not installed. - Increase tests coverage.
- Bump requirements and GitHub actions versions.
0.7.0
- Add
read_file_lines_countmethod. - Update
read_file_linesmethod with two new arguments:line_startandline_end(for specifying the lines-range to read).
0.6.1
- Fixed
create_zip_filecontent directory structure.
0.6.0
- Added
read_file_jsonandwrite_file_jsonmethods. - Removed
requestsrequirement (it's optional now).
0.5.0
- Added
get_parent_dirmethod. - Updated
join_pathto force concatenation even with absolute paths. - Updated
join_pathto return a normalized path. - Updated
join_filepathmethod to usejoin_path.
0.4.0
- Added
delete_dir_contentmethod (alias forremove_dir_contentmethod). - Added
download_filemethod. - Added
read_file_from_urlmethod. - Added
remove_dir_contentand method.
0.3.0
- Added
create_zip_filemethod. - Added
extract_zip_filemethod. - Added
get_dir_creation_datemethod. - Added
get_dir_creation_date_formattedmethod. - Added
get_dir_last_modified_datemethod. - Added
get_dir_last_modified_date_formattedmethod. - Added
get_file_creation_datemethod. - Added
get_file_creation_date_formattedmethod. - Added
get_file_last_modified_datemethod. - Added
get_file_last_modified_date_formattedmethod. - Added
read_file_linesmethod. - Refactored tests.