https://github.com/dmgbuild/mac_alias
Generate/parse macOS Alias records from Python
https://github.com/dmgbuild/mac_alias
macos
Last synced: 5 months ago
JSON representation
Generate/parse macOS Alias records from Python
- Host: GitHub
- URL: https://github.com/dmgbuild/mac_alias
- Owner: dmgbuild
- License: mit
- Created: 2017-07-07T08:42:21.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2025-12-14T21:49:13.000Z (6 months ago)
- Last Synced: 2025-12-17T10:20:02.903Z (6 months ago)
- Topics: macos
- Language: Python
- Homepage: https://mac-alias.readthedocs.io
- Size: 426 KB
- Stars: 24
- Watchers: 5
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=========
mac_alias
=========
.. |pyversions| image:: https://img.shields.io/pypi/pyversions/mac_alias.svg
:target: https://pypi.python.org/pypi/mac_alias
:alt: Python Versions
.. |version| image:: https://img.shields.io/pypi/v/mac_alias.svg
:target: https://pypi.python.org/pypi/mac_alias
:alt: PyPI Version
.. |maturity| image:: https://img.shields.io/pypi/status/mac_alias.svg
:target: https://pypi.python.org/pypi/mac_alias
:alt: Maturity
.. |license| image:: https://img.shields.io/pypi/l/mac_alias.svg
:target: https://github.com/dmgbuild/mac_alias/blob/main/LICENSE
:alt: MIT License
.. |ci| image:: https://github.com/dmgbuild/mac_alias/workflows/CI/badge.svg?branch=main
:target: https://github.com/dmgbuild/mac_alias/actions
:alt: Build Status
|pyversions| |version| |maturity| |license| |ci|
What is this?
-------------
``mac_alias`` lets you generate or read binary Alias and Bookmark records
from Python code.
While it is written in pure Python, some OS X specific code is required to
generate a proper Alias or Bookmark record for a given file, so this module
currently is not portable to other platforms.
Credit is due to Wim Lewis , whose work on reverse engineering
the alias format was extremely useful in writing this code. Alastair Houghton
was responsible for reverse engineering the
bookmark format.
See the documentation_ for more information.
.. _documentation: http://mac-alias.rtfd.org