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 Provenance Actions
ebooksp-0.0.7.tar.gz 7.0 kB Without provenance Details for ebooksp-0.0.7.tar.gz

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

Security for ebooksp 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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