Library for reading and writing Macintosh HFS volumes
Go to file
Elliot Nunn 46314c4747 Create minimal Desktop Database
This contains no useful information, but prevents a lengthy search of
the volume at startup. Eventually this should be replaced with a real
desktop database.
2018-10-23 17:33:20 +08:00
machfs Create minimal Desktop Database 2018-10-23 17:33:20 +08:00
.gitignore Add a gitignore (phew) 2018-10-23 14:46:00 +08:00
LICENSE
README.md
setup.py Create minimal Desktop Database 2018-10-23 17:33:20 +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.