Skip to content

Releases: cdgriffith/Reusables

Version 0.9.6

26 Sep 15:10
f581d8f
Compare
Choose a tag to compare
  • Adding #58 defaultlist (Thanks to Dogeek)
  • Adding LoggerIOWrapper (Thanks to Dogeek)
  • Adding log_it (Thanks to Dogeek)
  • Adding #57 singleton implementation (Thanks to Dogeek)
  • Changing line length to 120 and using black standard formatter

Version 0.9.5

18 Dec 01:19
171ea3d
Compare
Choose a tag to compare
  • Adding ignored context manager (Thanks to Dogeek)

Version 0.9.4

17 Dec 16:06
c54ea34
Compare
Choose a tag to compare
  • Adding sync_dirs function
  • Adding sanitized_input function (Thanks to Dogeek)
  • Breaking change: Changing find_files to return pathlib objects by default on Python 3.4+
  • Removing python 2.6 from travis tests

Version 0.9.3

21 Sep 01:43
bc32f72
Compare
Choose a tag to compare

Fixing async keywork error for python 3.7

Version 0.9.2

22 May 21:29
Compare
Choose a tag to compare
  • Adding option of kwargs to task for tasker
  • Fixing documentations links

Version 0.9.1

12 May 22:59
Compare
Choose a tag to compare
  • Fix import issue

Version 0.9.0

27 Apr 23:37
Compare
Choose a tag to compare
  • Adding datetime_format, dtf methods
  • Adding datetime_from_iso, dtiso methods
  • Adding catch_it and retry_it wrappers
  • Adding CONTRIBUTING file
  • Changing Namespace now operates more like "dict" on init, and can accept both iterable and kwargs
  • Changing major structure of reusables to better group similar functionality
  • Changing wrapper time_it now uses .time for older versions instead of the .clock
  • Depreciation Warning: get_logger is changing to setup_logger
  • Breaking change: log_exception has new and changed kwargs
  • Breaking change: removing Cookie Management in favor of separate library
  • Breaking change: removing sort_by
  • Breaking change: removing namespace.from_dict()
  • Breaking change: removing DateTime class in favor of singular methods datetime_format and datetime_from_iso

Version 0.8.0

15 Dec 04:52
Compare
Choose a tag to compare
  • Adding log_exception wrapper
  • Adding ProtectedDict
  • Adding hooks for Tasker main loop
  • Adding roman number functions
  • Adding directory_duplicates function
  • Adding integer to words functions
  • Adding option to enable scandir package walk instead of os.walk
  • Adding url_to_ip and ip_to_url functions
  • Adding hex_digest kwarg to file_hash
  • Adding args and kwargs to time_it and log_exception wrappers
  • Fixing file_hash checks by just passing to hashlib
  • Changing functions to remove 'all' from them, extract_all, archive_all, find_all_files and find_all_files_generator
  • Changing time_it function to use time.perf_counter on 3.3+ and time.clock on 2.6-3.2
  • Depreciation Warning: extract_all is changing to extract
  • Depreciation Warning: archive_all is changing to archive
  • Depreciation Warning: find_all_files is changing to find_files
  • Depreciation Warning: find_all_files_generator is changing to find_files_generator
  • Depreciation Warning: count_all_files is changing to count_files
  • Breaking change: Removing reuse wrapper
  • Breaking change: archive_all now detects type based off name, should supply extension to name
  • Breaking change: time_it message now takes args seconds, args, kwargs and does not allow positionals
  • Breaking change: os_tree will no longer return an empty dictionary on failure, but include the base directory supplied
  • Breaking change: renaming splice to cut

Version 0.6.1

03 Nov 19:43
Compare
Choose a tag to compare

Version 0.6.1

  • Changing config_dict auto_find to accept a path to search at
  • PyPI is stupid is why 0.6.0 is not up there

Version 0.6.0

03 Nov 19:14
Compare
Choose a tag to compare

Version 0.6.0

  • Adding multiprocessing helpers, Tasker class and run_in_pool
  • Adding download and cmd helper functions
  • Adding ThreadedServer class, for running a server (defaults to local file server) in the background
  • Adding terminal analogue functions: cd, pwd, ls, pushd, popd
  • Adding match_case option for find_all_files and count_all_files
  • Fix 'run' call to CalledProcessError on older python versions
  • Changing logger to _logger to be hidden by default (should not be breaking, if so you coded wrong)