mirror of
https://github.com/dgelessus/python-rsrcfork.git
synced 2024-08-30 11:29:05 +00:00
24 lines
802 B
Python
24 lines
802 B
Python
"""A library for reading old Macintosh resource manager data, as found in resource forks or .rsrc files even on current Mac OS X/macOS systems.
|
|
|
|
This library only understands the resource file's general structure, i. e. the type codes, IDs, attributes, and data of the resources stored in the file. The data of individual resources is provided in raw bytes form and is not processed further - the format of this data is specific to each resource type.
|
|
|
|
Writing resource data is not supported at all.
|
|
"""
|
|
|
|
__version__ = "1.2.0.dev"
|
|
|
|
__all__ = [
|
|
"Resource",
|
|
"ResourceAttrs",
|
|
"ResourceFile",
|
|
"ResourceFileAttrs",
|
|
"compress",
|
|
"open",
|
|
]
|
|
|
|
from . import api, compress
|
|
from .api import Resource, ResourceAttrs, ResourceFile, ResourceFileAttrs
|
|
|
|
# noinspection PyShadowingBuiltins
|
|
open = ResourceFile.open
|