sugar3.bundle.helpers module

sugar3.bundle.helpers.bundle_from_archive(path, mime_type=None)

Return an appropriate Bundle object for a given file path. The bundle type is identified by mime_type, which is guessed if not provided.

sugar3.bundle.helpers.bundle_from_dir(path)

Return an appropriate Bundle object for a given directory containing an unzipped bundle.

Previous topic

sugar3.bundle.contentbundle module

Next topic

sugar3.datastore package

This Page