Releases: netinvent/ofunctions
Releases · netinvent/ofunctions
Maintenance release 5
Features
process
- Refactored kill_childs() so we use signals when possible, to avoid race conditions that come with PID reusage
- Added get_absolute_path() that allows to find an executable path in PATH environment variable, in order to avoid shell=True calls with command_runner / subprocess
- Added get_processes_by_name() that allows to find processes by name, with default case ignore on Windows
Maintenance release 4
Features
csv
- Added tests
misc
- is_nan() function for numpy handling
network
- test_http_internet() now also properly tests dns resolution
Bugfixes
csv
- Fix csv_dict_reader() with Python < 3.6 where returned dicts are not ordered
file_utils
- Don't rewrite file in remove_bom() when not necessary
Maintence release 3
This is a maintenance release that includes the following:
Features
file_utils
- get_paths_recursive tests have been extended
- get_paths_recursive code has been refactored in order to be more readable
checksums
- Added unit tests
service_control
- Refactored service control
- Added unit tests
process
- kill_childs now uses self as default PID if none given
- Added unit tests
Bugfixes
file_utils
- check_path_access function has been refactored so it works better under Windows
Maintence release 2
This is a maintenance release that adresses the following:
New functionnality:
- file_utils: New get_paths_recursive function that improves old get_files_recursive function, compatibility is kept
- misc: New dictionnary functions (reverse_dict and get_key_from_value)
Fixes:
- File date checks now work in both directions, and use UTC dates
- Fix typo in get_public_ip for ipify API
- Fix errors on python 3.4 because of missing typing requirement
First maintenance release
This is a simple maintenance release that addresses the following:
- Add ofunctions.threading
- Normalize file_utils ctime/mtime/atime functions
- Remove unused get_lzma_dict_size function from file_utils
- Rename ofunctions.pw_gen to ofunctions.random
- Fix typos
- Fix github CI tests
First public release
Nothing groundbreaking here, but some nice tools.