PHP 8.2.30
Preview: __init__.py Size: 532 B
/opt/alt/python312/lib64/python3.12/importlib/resources/__init__.py

"""Read resources contained within a package."""

from ._common import (
    as_file,
    files,
    Package,
    Anchor,
)

from ._legacy import (
    contents,
    open_binary,
    read_binary,
    open_text,
    read_text,
    is_resource,
    path,
    Resource,
)

from .abc import ResourceReader


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

Directory Contents

Dirs: 1 × Files: 8

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-10 08:06:51
Edit Download
5.08 KB lrw-r--r-- 2026-01-08 18:12:45
Edit Download
4.27 KB lrw-r--r-- 2026-01-08 18:12:45
Edit Download
2.52 KB lrw-r--r-- 2026-01-08 18:12:45
Edit Download
4.38 KB lrw-r--r-- 2026-01-08 18:12:45
Edit Download
5.36 KB lrw-r--r-- 2026-01-08 18:12:45
Edit Download
1.25 KB lrw-r--r-- 2026-01-08 18:12:45
Edit Download
2.88 KB lrw-r--r-- 2026-01-08 18:12:45
Edit Download
532 B lrw-r--r-- 2026-01-08 18:12:45
Edit Download

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