pyadf is a pure python module (using ctypes) that allows access to Amiga disk images from Python it relies on ADFlib.
pyadf provides:
ADFlib is maintained by Laurent Clevy. For more details see http://lclevy.free.fr/adflib and http://sourceforge.net/projects/adflib
pyadf currently targets Python 2.4-2.6, known to work with the CVS version of ADFlib version 0.7.10 and 0.7.11a (under Windows). Pre-built Windows (XP) DLL available under Downloads. You may choose to build ADFLib manually, see BuildingADFlib.
pyadf has not yet been tested with 0.7.12.
Requires a pre-built shared library (DLL under Windows) of adflib
This project was produced with http://code.google.com/p/ctypesgen (ctypesgen is not required to use pyadf).
For other ADFlib projects see RelatedProjects.
For roadmap, and to do items see Ideas.
Example command line tool session, see http://code.google.com/p/pyadf/source/browse/trunk/cmdadf.py :
C:\>cmdadf.py tests\data\pyadftest.adf
(Cmd) dir
2010/03/14 18:00:00 37925 A Christmas Carol stave1 by Ch
2010/03/14 18:00:00 154 unixtext.txt
2010/03/14 18:00:00 479 read_file.py
2010/03/14 18:00:00 11081 juggler.png
2010/03/14 18:00:00 170 wintext.txt
2010/03/14 18:00:00 154 file with spaces.txt
2010/03/14 18:00:00 168937 juggler_adnim.gif
2010/03/14 18:00:00 39334 maximum_file_length_of_30.txt
1996/10/15 2:10:12 90234 AmigaLogo.iff
2010/03/14 18:00:00 dir1/
2010/03/14 18:00:00 UPPERCASEDIR/
2010/03/15 16:39:44 777 readme.txt
2010/03/14 18:00:00 MixedCaseDir/
(Cmd) printraw wintext.txt
accessing 'wintext.txt'
170 bytes read from wintext.txt
This is a text file with Windows/DOS style line endings.
I.e. cr+lf
It is 170 bytes in length if treated as binary.
It is 164 bytes in length if treated as text.
(Cmd) quit
Quitting...