Let me explain the use case...

In a simple python web application framework designed for Google App Engine, I'd like to have my models loaded automatically from a 'models' directory, so all that's needed to add a model to the application is place a file user.py (for example), which contains a class called 'User', in the 'models/' directory.

Being GAE, I can't read from the file system so I can't just read the filenames that way, but it seems to me that I must be able to 'import \* from models' (or some equivalent), and retrieve at least a list of module names that were loaded, so I can subject them to further processing logic.

To be clear, I want this to be done WITHOUT having to maintain a separate list of these module names for the application to read from.