vent.core.file_drop package

Submodules

vent.core.file_drop.file_drop module

class vent.core.file_drop.file_drop.GZHandler(patterns=None, ignore_patterns=None, ignore_directories=False, case_sensitive=False)[source]

Bases: watchdog.events.PatternMatchingEventHandler

Handles when an event on the directory being watched happens that matches the values in patterns

created_files = set([])
ignore_patters = ['*-miscellaneous*']
on_created(event)[source]
on_modified(event)[source]
patterns = ['*']
process(event)[source]
event.event_type
‘modified’ | ‘created’ | ‘moved’ | ‘deleted’
event.is_directory
True | False
event.src_path
path/to/observed/file
q = Queue(u'default')
r = StrictRedis<ConnectionPool<Connection<host=redis,port=6379,db=0>>>

Module contents