compass.services.threaded#

COMPASS Ordinance Threaded services

Classes

CleanedFileWriter(out_dir[, tpe_kwargs])

Service that writes cleaned text to a file

FileMover(out_dir[, tpe_kwargs])

Service that moves files to an output directory

JurisdictionUpdater(jurisdiction_fp[, ...])

Service that updates jurisdiction info into a file

OrdDBFileWriter(out_dir[, tpe_kwargs])

Service that writes cleaned text to a file

StoreFileOnDisk(out_dir[, tpe_kwargs])

Abstract service that manages the storage of a file on disk

TempFileCache([td_kwargs, tpe_kwargs])

Service that locally caches files downloaded from the internet

TempFileCachePB([td_kwargs, tpe_kwargs])

Service that locally caches files downloaded from the internet

ThreadedService(**kwargs)

Service that contains a ThreadPoolExecutor instance

UsageUpdater(usage_fp[, tpe_kwargs])

Service that updates usage info from a tracker into a file