Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/c/a/cablemap-HEAD/helpers/generate_topicmaps.py   cablemap(Download)
     MultipleCableHandler, DelegatingCableHandler, CableIdFilter
from cablemap.tm import psis
from cablemap.tm.handler import create_ctm_handler, create_xtm_handler, \
     create_ctm_miohandler, create_xtm_miohandler, MediaTitleResolver, BaseMIOCableHandler
 
def slo_handler(files, filename='cable-subject-locators'):
    ctm, xtm = openfile(filename + '.ctm'), openfile(filename + '.xtm')
    files.append(ctm)
    files.append(xtm)
    ctm_miohandler = create_ctm_miohandler(ctm, register_prefixes=False, register_templates=False)
        files.append(ctm)
        files.append(xtm)
        h = DebitlyFilter(MediaTitleResolver(handler.TeeMapHandler(create_ctm_miohandler(ctm), create_xtm_miohandler(xtm))))
        handlers.append(h)
    handle_source(src, MultipleCableHandler(handlers))