Library for reading and writing Macintosh HFS volumes
Go to file
2018-11-05 23:47:28 +08:00
bin Allow a custom (non-Finder) startup app 2018-11-05 23:47:28 +08:00
machfs Allow a custom (non-Finder) startup app 2018-11-05 23:47:28 +08:00
.gitignore Add a gitignore (phew) 2018-10-23 14:46:00 +08:00
LICENSE
README.md
setup.cfg Fix wheel-style distribution 2018-10-23 17:33:56 +08:00
setup.py Add scripts to convert to/from the native FS 2018-11-03 20:29:47 +08:00
test_all.py Read extents overflow file 2018-10-08 09:33:34 +08:00
upload.sh Got setuptools working 2018-10-08 10:12:45 +08:00

machfs is a pure Python 3 library for reading and writing disk images in the Apple's long-deprecated Hierarchical File System format. It operates entirely on in-memory bytes objects. Images are serialised and deserialised in one go using the read and write methods of the Volume object.

The directory hierarchy of a Volume is then accessed and manipulated like a Python dict. Folder and File objects represent the contents of the filesystem.