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.
Author: Titusz <tp at py7 de>
Source Code: http://github.com/titusz/ibooks
License: BSD
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ibooks-0.3.zip.
File metadata
- Download URL: ibooks-0.3.zip
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5ba73b03d6c9c3e04823fbe2b0de62cf2fa11145f1a8aa9311117978346f48f
|
|
| MD5 |
5b3f12b64249138bff43f0b5eb3d55e4
|
|
| BLAKE2b-256 |
ede3c8a74a7345d41661ebdb1d81a256ae33311c54cd031aaff5a0115ebf070c
|
File details
Details for the file ibooks-0.3-py2.py3-none-any.whl.
File metadata
- Download URL: ibooks-0.3-py2.py3-none-any.whl
- Upload date:
- Size: 42.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d2df5dc26ecff3d7b9f454e3f0e4cf959b4d2f509d25a9966c074af990a4699
|
|
| MD5 |
70a6f3a8b1adb4b7b51c1493241dd777
|
|
| BLAKE2b-256 |
9f2cb9027dfd798805a66b9baba727fcbfd0d1c44607647fb107a4d64bed60ef
|