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)
Metadata
Release files for ebooksp 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ebooksp-0.0.7.tar.gz | 7.0 kB | Details |
Release files / ebooksp-0.0.7.tar.gz
| Download URL | ebooksp-0.0.7.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50b3b3a95cc4faa859817a647e5aea6abd261f957e6a1291117869440df39cee
|
|
BLAKE2b-256 checksum How to use checksums |
ba580623232625b15de36977075f82cbbe032590ca1e7cb6fdb2d6f656f1fc32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.7
|