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.7.tar.gz
(15.1 kB
view details)
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 epub_metadata-1.0.7.tar.gz.
File metadata
- Download URL: epub_metadata-1.0.7.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1db663d73d131b265c809bb3c9a088a459bccdccacbf86b235edb96f0e91e553
|
|
| MD5 |
941ab7122db0a2450217b9da11c4d147
|
|
| BLAKE2b-256 |
1537aab440e6f9d55c9991c60ffe72764de70dc96f7f1c94f3574e279d4a70c3
|
File details
Details for the file epub_metadata-1.0.7-py3-none-any.whl.
File metadata
- Download URL: epub_metadata-1.0.7-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a16d9d3798e3d5f9b8865305f19638de98aaf2eb41dc056591387263807b15a9
|
|
| MD5 |
53c99149880ed89c5d2521bae3e98ae2
|
|
| BLAKE2b-256 |
c233b9c49daf6eb4a1a31a41336b03223a17bbc29ba04526a78c70fe022b7cc6
|