Skip to content

topmark.registry

topmark.registry

Public registry facade and advanced registries.

This package exposes:

Most users should import from here:

from topmark.registry.registry import Registry

fts = Registry.filetypes()
procs = Registry.processors()

Advanced usage (mutation; global state):

from topmark.registry.filetypes import FileTypeRegistry, HeaderProcessorRegistry

FileTypeRegistry.register(my_ft)
HeaderProcessorRegistry.register(my_ft.name, MyProc)

options: heading_level: 1 show_root_heading: true members_order: source filters: - "!^_"