Get Project Library Packages

Is there a way to get a list of packages/scripts in the Project Library via code?

looks like packages will be of type
com.inductiveautomation.ignition.common.script.ProjectScriptModule

and script files will be of type
com.inductiveautomation.ignition.common.script.ScriptPackage

I can call getDict() on ProjectScriptModule but I cannot seem to figure out how to get the list of packages and scripts in the root of Project Library.

Try globals().