Library for reading and writing Macintosh HFS volumes
Go to file
Elliot Nunn 829d3a5189 Pad B*-tree files to the alloc block size
This bug was corrupting all volumes over 32 MB (i.e. with a block size
exceeding 512 bytes). Oops!
2018-10-14 10:09:01 +08:00
machfs Pad B*-tree files to the alloc block size 2018-10-14 10:09:01 +08:00
LICENSE Prepare to package 2018-10-08 07:38:58 +08:00
README.md Prepare to package 2018-10-08 07:38:58 +08:00
setup.py Got setuptools working 2018-10-08 10:12:45 +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.