envisage.resource.package_resource_protocol module¶
A resource protocol for package resources.
- class envisage.resource.package_resource_protocol.PackageResourceProtocol[source]¶
Bases:
HasTraits
A resource protocol for package resources.
This protocol uses ‘importlib.resources’ to find and access resources.
An address for this protocol is a string in the form:
'package/resource'
e.g:
'acme.ui.workbench/preferences.ini'