Powered by Tachyonic Project Luxon Framework v0.0.0

Luxon Framework for rapid application development. (luxon)

Version

Package Utility

Typically used in main.py

class luxon.utils.pkg.Module(module)[source]

Imports installed module and performs actions on it

Parameters:module (str) – Module import path definition.
copy(src, dst, new_extension=None)[source]

Copy the resource

Parameters:
  • src (str) – resource location
  • dst (str) – destination
exists(path, error=False)[source]

Does the resource exist

Parameters:path (str) – resource location
file(path)[source]

Returns resource as a string

Parameters:path (str) – resource location
is_dir(path)[source]

Is the resource a directory

Parameters:path (str) – resource location
is_file(path)[source]

Is the resource a file

Parameters:path (str) – resource location
list(path)[source]

List directories in the resource

Parameters:path (str) – resource location
read(path)[source]

Returns resource as a string

Parameters:path (str) – resource location
walk(path)[source]

Walk through the resource

Parameters:path (str) – resource location