Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

iBooks Author cover and metadata extraction

Project Description

“ibooks” is a small python module that can be used to extract cover images and basic metadata from iBooks Author files.

Installation

Use easy_install or pip:

pip install ibooks

Commandline Usage

With the commandline script you can print metadata to the console and extract the cover from .ibooks files:

ibooks my-ibooks-author-file.ibooks

Library Usage

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

0.3

Release date: 2013-07-29

  • added wheel package and other packaging fixes
  • fix error when calling as script without argument

0.2

Release date: 2013-07-26

  • custom exceptions
  • added .is_preview()

0.1

Release date: 2013-06-19

  • Initial release
Release History

Release History

This version
History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ibooks-0.3-py2.py3-none-any.whl (42.3 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jul 29, 2013
ibooks-0.3.zip (7.6 kB) Copy SHA256 Checksum SHA256 Source Jul 29, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting