maflib

Library for reading and manipulating Mozilla Archive Format (MAF) files


License
Other
Install
pip install maflib==1.0.0

Documentation

MAFLib

Table of Contents

MAFLib is a library for reading and manipulating Mozilla Archive Format (MAF) files.

Installation

Package is uploaded on PyPI.

You can install it with pip:

$ pip install maflib

Usage

Open a .maff file

fd = maflib.MAF("test.maff")

Open a file within the .maff file

fd2 = fd.open("image.jpg")

Open the index file in the .maff file

fd2 = fd.open_index()

Return the content of the index file in the .maff file

content = fd.read_index()

Show a .maff file in a browser window

fd.show()

License

MAFLib is released under the GNU Lesser General Public License, Version 3.