# tensorplay.package Source: https://www.tensorplay.cn/docs/package.html ## Classes | tensorplay.package.Directory |A file structure representation. | | --- | --- | | tensorplay.package.EmptyMatchError | This is an exception that is thrown when a mock or extern is marked as allow_empty=False, and is not matched with any module during packaging. | | tensorplay.package.GlobGroup | A set of patterns that candidate strings will be matched against. | | tensorplay.package.Importer | Represents an environment to import modules from. | | tensorplay.package.ModuleType | | | tensorplay.package.ObjMismatchError | Raised when an importer found a different object with the same name as the user-provided one. | | tensorplay.package.ObjNotFoundError | Raised when an importer cannot find an object by searching for its name. | | tensorplay.package.OrderedImporter | A compound importer that takes a list of importers and tries them one at a time. | | tensorplay.package.PackageExporter | Exporters allow you to write packages of code, pickled Python data, and arbitrary binary and text resources into a self-contained package. | | tensorplay.package.PackageImporter | Importers allow you to load code written to packages by PackageExporter. | | tensorplay.package.PackagingError | This exception is raised when there is an issue with exporting a package. | | tensorplay.package.PackagingErrorReason | Listing of different reasons a dependency may fail to package. | ## Functions | tensorplay.package.is_from_package |Return whether an object was loaded from a package. | | --- | --- | | tensorplay.package.is_mangled | |