sugar3.bundle.bundle module¶
Sugar bundle file handler
UNSTABLE.
- exception sugar3.bundle.bundle.AlreadyInstalledException¶
- Bases: - Exception
- class sugar3.bundle.bundle.Bundle(path)¶
- Bases: - object- A Sugar activity, content module, etc. - The bundle itself may be either a zip file or a directory hierarchy, with metadata about the bundle stored various files inside it. - This is an abstract base class. See ActivityBundle and ContentBundle for more details on those bundle types. - get_file(filename)¶
 - get_installation_time()¶
- Get a timestamp representing the time at which this activity was installed. 
 - get_path()¶
- Get the bundle path. 
 - get_show_launcher()¶
 - is_dir(filename)¶
 - is_file(filename)¶
 
- exception sugar3.bundle.bundle.InvalidPathException¶
- Bases: - Exception
- exception sugar3.bundle.bundle.MalformedBundleException¶
- Bases: - Exception
- exception sugar3.bundle.bundle.NotInstalledException¶
- Bases: - Exception
- exception sugar3.bundle.bundle.RegistrationException¶
- Bases: - Exception
- exception sugar3.bundle.bundle.ZipExtractException¶
- Bases: - Exception