A Conversion Tool for e-book
Project description
ebook
介绍
- 处理电子书的工具
- 首次使用需安装calibre, 地址是 https://calibre-ebook.com/download
安装
pip install ebooksp
功能
- 支持电子书互相转格式
- 支持将电子书转成文本
支持的电子书格式
- epub
- mobi
- azw3
- azw
使用
转换格式
import ebooksp
ebooksp.convert_format('xxx.mobi', 'xxx.epub')
转换格式(批量转换)
import ebooksp
ebooksp.convert_format_many(['xxx.mobi', 'yyy.epub'], ['xxx.epub', 'yyy.azw3'])
电子书转成文本
import ebooksp
text = ebooksp.to_text('xxx.mobi')
print(text)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ebooksp-0.0.7.tar.gz
(7.0 kB
view details)
File details
Details for the file ebooksp-0.0.7.tar.gz
.
File metadata
- Download URL: ebooksp-0.0.7.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50b3b3a95cc4faa859817a647e5aea6abd261f957e6a1291117869440df39cee |
|
MD5 | 8804a874108a7316738f39bdcf4ddccc |
|
BLAKE2b-256 | ba580623232625b15de36977075f82cbbe032590ca1e7cb6fdb2d6f656f1fc32 |