def resource_stream(self, package_or_requirement, resource_name):
        """Return a readable file-like object for specified resource"""
        return get_provider(package_or_requirement).get_resource_stream(
            self, resource_name
        )
Return a readable file-like object for specified resource
product/gradle-plugin/src/main/python/pkg_resources/__init__.py