No project description provided
Project description
epub-metadata
Get metadata from the Epub file.
Install
pip install epub-metadata
Example
import epub_metadata
epub = epub_metadata.epub('tests/Alices Adventures in Wonderland.epub')
show all metadata from the Epub file
print(epub.metadata)
# return all metadata from the Epub file
{
'version': '2.0',
'title': "Alice's Adventures in Wonderland",
'creator': 'Lewis Carroll',
'date': '1865-07-04',
'cover': '/9j/4AAQSkZJRgABAQE...',
'cover_type': 'image/jpeg',
'description': '',
'publisher': 'D. Appleton and Co',
'identifier': 'eb2934ae-bb1a-4652-bce7-9f78fc5ca496'
}
only show the epub metadata
print(epub.metadata.title)
# only print the title
Alice's Adventures in Wonderland
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
epub_metadata-1.0.1b0.tar.gz
(15.5 kB
view hashes)
Built Distribution
Close
Hashes for epub_metadata-1.0.1b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 124202711fd3a5fb0517e5be9862e54ece2c9f6c724edd51101d1a3cfbaabcba |
|
MD5 | bf19a3f6a80dfd25c9fa0fd4778e1077 |
|
BLAKE2b-256 | 04d2ed56330795ffe8f6d0551e2829fece8c9442a160710c90666e894185c3b0 |