pkg_resource.resource_filename
https://setuptools.pypa.io/en/latest/pkg_resources.html#resource-extraction
resource_filename(package_or_requirement, resource_name)
Sometimes, it is not sufficient to access a resource in string or stream form, and a true filesystem filename is needed.
「リソースに文字列やストリームの形式でアクセスするのは、時々効率的ではないが、
If the resource is in an archive distribution (such as a zipped egg),
resource_string、resource_streamのことを言っていそう(ref: Basic Resource Access メモ)
ファイルシステムの正しいファイル名が必要となる」
In such cases, you can use this method (or module-level function) to obtain a filename for a resource.
「そのような場合、リソースのファイル名を手に入れるのにこのメソッド(またはモジュールレベル関数)を使える」