the workspace.directory module provides a workspace implemntation based on the contents of a directory on a file system.
-
class geoscript.workspace.directory.Directory(dir=None)
A subclass of Workspace that provides layers that correspond to the files in a directory.
dir is the optional path as a str to a directory. If not specified it defaults to os.getcwd().