PHP 8.2.30
Preview: __init__.py Size: 703 B
//opt/alt/python313/lib64/python3.13/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 (
    as_file,
    files,
    Package,
    Anchor,
)

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: 1 × Files: 8

Name Size Perms Modified Actions
- drwxr-xr-x 2026-02-10 08:06:26
Edit Download
5.08 KB lrw-r--r-- 2026-01-10 10:38:56
Edit Download
6.10 KB lrw-r--r-- 2026-01-10 10:38:56
Edit Download
2.53 KB lrw-r--r-- 2026-01-10 10:38:56
Edit Download
4.38 KB lrw-r--r-- 2026-01-10 10:38:56
Edit Download
5.48 KB lrw-r--r-- 2026-01-10 10:38:56
Edit Download
2.59 KB lrw-r--r-- 2026-01-10 10:38:56
Edit Download
1.25 KB lrw-r--r-- 2026-01-10 10:38:56
Edit Download
703 B lrw-r--r-- 2026-01-10 10:38:56
Edit Download

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