Module Expr Str Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Import alias ImportFrom alias identifier FunctionDef arguments args defaults body If CompareEq NameLoad NameLoad body Print Call NameLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMod Str NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad BinOpMod Str NameLoad Str decorator_list
N/A N/A 
This module is responsible for handling paths of glim framework.

Usage
-----
import glim.paths

glim.paths.PROJECT_PATH # returns the project path
glim.paths.APP_PATH # returns the app folder path
glim.paths.GLIM_ROOT_PATH # returns the glim root path
glim.paths.PROTO_PATH # returns the prototype folder path
glim.paths.EXT_PATH # returns the extension folder path
glim.paths.VIEWS_PATH # returns the views folder path
glim.paths.ASSET_PATH # returns the assets folder path
glim.paths.STORAGE_PATH # returns the storage folder path

glim.paths.configure() # detect dev mode & configures the sys path
glim.paths.app_exists() # detects if the app is created
glim.paths.controllers() # returns the controllers path
glim.paths.config(env) # returns the configuration path given environment
glim.paths.start() # returns the app.start path
glim.paths.commands() # returns the app.commands path
glim.paths.routes() # returns the app.routes path
glim.paths.extensions(ext) #returns the extension path given extension name
glim.paths.extension_commands(ext) # returns the ext.<ext>.commands path
 N/A os termcolor colored N/A PROJECT_PATH N/A N/A os getcwd N/A APP_PATH N/A N/A N/A os path join PROJECT_PATH app N/A GLIM_ROOT_PATH N/A N/A N/A os path dirname N/A N/A N/A os path dirname __file__ N/A PROTO_PATH N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ prototype N/A VIEWS_PATH N/A N/A N/A os path join APP_PATH views N/A ASSET_PATH N/A N/A N/A os path join APP_PATH assets N/A STORAGE_PATH N/A N/A N/A os path join APP_PATH storage N/A sys pprint pprint p configure N/A N/A N/A N/A N/A N/A GLIM_ROOT_PATH PROJECT_PATH N/A N/A N/A colored Development mode is on, sys.path is being configured yellow N/A N/A N/A N/A sys path pop 0 N/A N/A N/A N/A sys path insert 0 GLIM_ROOT_PATH N/A N/A N/A N/A N/A sys path insert 0 PROJECT_PATH N/A app_exists N/A N/A N/A N/A N/A N/A N/A N/A os path exists APP_PATH N/A controllers N/A N/A N/A N/A N/A N/A N/A N/A os path join APP_PATH controllers.py N/A config N/A N/A env N/A N/A N/A N/A N/A N/A os path join APP_PATH config N/A %s.py env N/A start N/A N/A N/A N/A N/A N/A N/A N/A os path join APP_PATH start.py N/A commands N/A N/A N/A N/A N/A N/A N/A N/A os path join APP_PATH commands.py N/A routes N/A N/A N/A N/A N/A N/A N/A N/A os path join APP_PATH routes.py N/A extensions N/A N/A ext N/A N/A N/A N/A N/A N/A os path join EXT_PATH N/A %s ext N/A %s.py ext N/A extension_commands N/A N/A ext N/A N/A N/A N/A N/A N/A os path join EXT_PATH N/A %s ext commands.py N/A