pyepub:提取epub信息的python库

时间:2021-06-07 00:09:18
【文件属性】:
文件名称:pyepub:提取epub信息的python库
文件大小:1.69MB
文件格式:ZIP
更新时间:2021-06-07 00:09:18
Python 酒馆 提取epub信息的python库 快速使用示例: import pyepub epub = pyepub.Pyepub.from_filename('fname.epub') # get metadata metadata = epub.metadata # get manifest manifest = epub.manifest() # outut: [{'item': {'href': 'part.html', 'media-type': 'application/xhtml+xml'}}] # custimize get mainfest serialize = [('href', 'path', 'LOCAL_HOST/%s'), ('media-type', 'media-type')] manifest = epub.manifest(serialize) # ou
【文件预览】:
pyepub-master
----test()
--------test.py(1KB)
--------Calibre Quick Start Guide - John Schember.epub(127KB)
--------moby-dick.epub(1.59MB)
----LICENSE(1KB)
----__init__.py(1B)
----.gitignore(702B)
----pyepub.py(4KB)
----README.md(545B)

网友评论