Powered by Tachyonic Project Luxon Framework v0.0.0

Luxon Framework for rapid application development. (luxon)

Version

Imports

Import a module

luxon.utils.imports.import_module(module)[source]

Import module.

Parameters:module – Module import path definition.
Returns:Module in given path.

Import Modules

luxon.utils.imports.import_modules(modules)[source]

Import modules.

Typically uses for modules in WSGI.

Parameters:modules (list,tuple) – List of module path definitions.
Returns:A dict of imported modules. { ‘name’:: module }

Get Class

luxon.utils.imports.get_class(path)[source]

Return class in module.

Imports module and returns class.

Parameters:path (str) – package.module:class definition.
Returns:The class at given path

Get Classes

luxon.utils.imports.get_classes(classes)[source]

Initilize Classes.

Typically uses by Middleware in WSGI.

Parameters:classes (list,tuple) – List of Class path definitions.
Returns:A list of objects.