glashammer.utils.system
| copyright: | 2008-2010 Glashammer Developers |
| license: | MIT |
Various utilities for application running and event
dispatching.
-
glashammer.utils.system.build_eventmap(app)
- Walk through all the builtins and plugins for an application and
look for emit_event calls. This is useful for plugin developers who
want to find possible entry points without having to dig the source or
missing documentation. Speaking of documentation: This could help for
that too.
-
glashammer.utils.system.load_app_from_path(modulepath, factory_name='create_app')
- Load the module containing the application and create it.
-
glashammer.utils.system.run_very_simple(app)
- Starts a debug server using the WSGI application app.