sugar4.bundle.helpers

Functions

bundle_from_archive(path[, mime_type])

Return an appropriate Bundle object for a given file path.

bundle_from_dir(path)

Return an appropriate Bundle object for a given directory containing

Module Contents

sugar4.bundle.helpers.bundle_from_archive(path, mime_type=None)[source]

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

sugar4.bundle.helpers.bundle_from_dir(path)[source]

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