Skip to main content

Convert EPUB to clean Markdown chapters

Project description

epub2md

Convert EPUB to clean Markdown chapters.

Install

pip install epub2md

Usage

epub2md book.epub          # Creates book/*.md and book/images/
epub2md book.epub output   # Creates output/*.md and output/images/

Output:

book/
├── 01-chapter-i.md
├── 02-chapter-ii.md
├── ...
└── images/
    └── *.jpeg

Images are git-ignored by default. To commit them: rm book/images/.gitignore

Requirements

License

MIT


Discussion on Hacker News

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

epub2md-0.2.3.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

epub2md-0.2.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file epub2md-0.2.3.tar.gz.

File metadata

  • Download URL: epub2md-0.2.3.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for epub2md-0.2.3.tar.gz
Algorithm Hash digest
SHA256 c91aaa9711b589b2190521dbd4f9ef2941a8f10857327d7675265a0f6b2cedd1
MD5 6e4b46505961e12de8602eb58e68b17a
BLAKE2b-256 4994cf99d591db65148ac4607e9b6875a6b3b848fc9dcd496b85c7c4c81d7dc7

See more details on using hashes here.

File details

Details for the file epub2md-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: epub2md-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for epub2md-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 67cca5bb3120293e50768f4dcba637b479bb642194dbb97b16a248787f004c48
MD5 535ce8ddc061b44b0ab513c5363b8c66
BLAKE2b-256 c2beeaa7bb08bcbc1ad6bf3f4c7983a0a2a6e52f51dee6f862bc7b22ff453340

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page