PHP 8.2.30
Preview: __init__.py Size: 700 B
/opt/hc_python/lib64/python3.12/site-packages/importlib_resources/__init__.py

"""
Read resources contained within a package.

This codebase is shared between importlib.resources in the stdlib
and importlib_resources in PyPI. See
https://github.com/python/importlib_metadata/wiki/Development-Methodology
for more detail.
"""

from ._common import (
    Anchor,
    Package,
    as_file,
    files,
)
from ._functional import (
    contents,
    is_resource,
    open_binary,
    open_text,
    path,
    read_binary,
    read_text,
)
from .abc import ResourceReader

__all__ = [
    'Package',
    'Anchor',
    'ResourceReader',
    'as_file',
    'files',
    'contents',
    'is_resource',
    'open_binary',
    'open_text',
    'path',
    'read_binary',
    'read_text',
]

Directory Contents

Dirs: 4 × Files: 9

Name Size Perms Modified Actions
compat DIR
- drwxr-xr-x 2025-04-04 08:01:59
Edit Download
future DIR
- drwxr-xr-x 2025-04-04 08:01:59
Edit Download
tests DIR
- drwxr-xr-x 2025-04-04 08:01:59
Edit Download
- drwxr-xr-x 2025-04-04 08:01:59
Edit Download
5.42 KB lrw-r--r-- 2025-04-04 08:01:59
Edit Download
0 B lrw-r--r-- 2025-04-04 08:01:59
Edit Download
6.10 KB lrw-r--r-- 2025-04-04 08:01:59
Edit Download
2.53 KB lrw-r--r-- 2025-04-04 08:01:59
Edit Download
4.38 KB lrw-r--r-- 2025-04-04 08:01:59
Edit Download
5.49 KB lrw-r--r-- 2025-04-04 08:01:59
Edit Download
2.68 KB lrw-r--r-- 2025-04-04 08:01:59
Edit Download
1.25 KB lrw-r--r-- 2025-04-04 08:01:59
Edit Download
700 B lrw-r--r-- 2025-04-04 08:01:59
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).