I am a normal py file which must define a 'resource' global, which should be an instance of (a subclass of) web.resource.Resource; it will be renderred.

API Documentation for Twisted, generated by pydoctor at 2017-02-11 20:06:04.