iBooks Author cover and metadata extraction
“ibooks” is a small python module that can be used to extract cover images and basic metadata from iBooks Author files.
Author: Titusz <tp at py7 de>
Source Code: http://github.com/titusz/ibooks
Use easy_install or pip:
pip install ibooks
With the commandline script you can print metadata to the console and extract the cover from .ibooks files:
Here is how you can use ‘ibooks’ as a lib in your code:
>>>from ibooks import iBooks >>>ibook = iBooks('my-ibooks-author.ibooks') # Get some metadata >>> ibook.title "Title of iBooks file" >>>ibook.author "Authors Name" # Extract cover >>>ibook.cover /temp-path-to/OPS/assets/images/cover-image.jpg # Be sure to process the image file before the "ibook" object is released
Release date: 2013-07-29
added wheel package and other packaging fixes
fix error when calling as script without argument
Release date: 2013-07-26
Release date: 2013-06-19
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.