Generate/parse macOS Alias records from Python
Project Links
Meta
Author: Alastair Houghton
Maintainer: Russell Keith-Magee
Requires Python: >=3.10
Classifiers
Development Status
- 5 - Production/Stable
Programming Language
- Python :: 3
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: 3.15
- Python :: 3 :: Only
Topic
- Desktop Environment
- Software Development :: Libraries :: Python Modules
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 <wiml@hhhh.org>, whose work on reverse engineering the alias format was extremely useful in writing this code. Alastair Houghton <alastair@alastairs-place.net> was responsible for reverse engineering the bookmark format.
See the documentation for more information.
2.2.3
Dec 04, 2025
2.2.2
Dec 06, 2022
2.2.1
Nov 24, 2022
2.2.0
Dec 08, 2020
2.1.1
Nov 28, 2020
2.1.0
Oct 11, 2020
2.0.7
Feb 13, 2018
2.0.6
Aug 02, 2017
2.0.5
Aug 02, 2017
2.0.4
Jul 27, 2017
2.0.2
Jul 27, 2017
2.0.1
Apr 28, 2017
2.0.0
Dec 02, 2016
1.1.0
Oct 19, 2015
1.0.0
Feb 13, 2014
Wheel compatibility matrix
Files in release
No dependencies