Skip to content

Releases: waikato-datamining/simple-file-poller

Release v0.0.11

13 Sep 04:25
Compare
Choose a tag to compare
  • using shutil.move instead of os.rename to work across file-system boundaries

Release v0.0.10

17 Mar 20:28
Compare
Choose a tag to compare
  • added the output_num_files boolean property to the Poller class, which extends the logging output by outputting a x/y string as well (x=current file index, y=total number of files in a batch)

Release v0.0.9

05 Jan 00:19
Compare
Choose a tag to compare
  • the Poller.logging property no longer returns the check_file method

Release v0.0.8

05 Jan 00:19
Compare
Choose a tag to compare
  • fixed high CPU usage (ie constant polling) when using unlimited files to list (max_files=0)
  • poll_wait and watchdog_check_interval are now float instead of int to allow for sub-second poll waits
  • internal delays when poller is busy have been dropped from 1s to 0.1s

Release v0.0.7

10 Dec 03:18
Compare
Choose a tag to compare
  • keyboard_interrupt method is now public

Release v0.0.6

10 Dec 01:42
Compare
Choose a tag to compare
  • fixed race condition between watchdog reacting to new files and watchdog checking for files at specific intervals
  • logging now distinguishes between DEBUG/INFO/ERROR levels
  • keyboard interrupts via CTRL+C are now handled correctly
  • in watchdog mode, an initial scan of the input directory is now performed, in case files were already present

Release v0.0.5

09 Dec 23:21
Compare
Choose a tag to compare
  • added params object to allow attaching of arbitrary parameters to be used by the check_file and process_file methods; this avoids accidentally overriding Poller attributes that were introduced in later versions.

Release v0.0.4

09 Dec 20:42
Compare
Choose a tag to compare
  • added support for using watchdog for reacting to file creation events, speeding up polling

Release v0.0.3

03 Dec 20:20
Compare
Choose a tag to compare
  • poll method now skips directories, which could be listed if no extensions are supplied to restrict the polling.

Release v0.0.2

05 Jan 00:22
Compare
Choose a tag to compare
  • added other_input_files glob list and delete_other_input_files to manage additional files that may reside in the input directory along side the actual files that are being processed.