Skip to main content

ebook

介绍

安装

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)

Source distribution for ebooksp 0.0.7
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

Release history Release notifications | RSS feed

This release

0.0.7 This release

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page