https://github.com/titusz/ibooks
Extract cover and metadata from iBooks Author files
https://github.com/titusz/ibooks
Last synced: 3 months ago
JSON representation
Extract cover and metadata from iBooks Author files
- Host: GitHub
- URL: https://github.com/titusz/ibooks
- Owner: titusz
- License: bsd-2-clause
- Created: 2013-06-19T20:26:14.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-07-29T21:42:59.000Z (almost 12 years ago)
- Last Synced: 2025-02-10T03:48:31.029Z (4 months ago)
- Language: Python
- Homepage:
- Size: 121 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
============================================================
ibooks - Extract cover and metadata from iBooks Author files
============================================================*"ibooks" is a small python module that can be used to extract cover images
and basic metadata from iBooks Author files.*- **Author:** *Titusz *
- **PyPi:** http://pypi.python.org/pypi/ibooks
- **Source Code**: http://github.com/titusz/ibooks
- **License**: BSDInstallation
------------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