selector is the WSGI application used within tiddlyweb to dispatch web requests to specific handler code. It is configured by the urls.map or via plugins.
selector was written by Luke Arno. It is a nice piece of work: simple yet powerful, focusing on one specific task and doing that task well. There is a web page for selector.