Skip to main content

Convert DRP-formatted Barnes & Noble e-books to a portable format

Project description

ABOUT

undrp converts Barnes & Noble’s proprietary fixed-layout EPUB files (aka BNFixedFormat or DRP) to more generic formats such as PDF. The goal is to allow you to read these e-books in non-Barnes & Noble e-readers.

INSTALLATION

undrp requires Python 3.3 or later. You can install it via pip:

pip install undrp

USAGE

You can run undrp like the UNIX cp command.

Convert a single file (explicit target filename):

undrp /path/to/somebook.epub somebook.pdf

Convert a single file (implicit target filename):

undrp /path/to/somebook.epub .

Convert multiple files:

undrp /path/to/*.epub .

Convert a single file, outputting to stdout:

undrp /path/to/somebook.epub -

LIMITATIONS

undrp is still in its infancy, so there are quite a few limitations:

  • Can only handle EPUB files where all the pages are JPEG images.

  • Error reporting is terrible.

  • Cannot convert EPUB files with DRM. You will need to strip the DRM off first.

  • Can only output to PDF format.

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

undrp-0.2.0.tar.gz (9.4 kB view details)

Uploaded Source

File details

Details for the file undrp-0.2.0.tar.gz.

File metadata

  • Download URL: undrp-0.2.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for undrp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2f620e53d1145cf9a468e1d348cdd0813509b93c096e64a4fadea737344bba9b
MD5 f1b71e4c3f0a2e38c4faa662dc54fb10
BLAKE2b-256 fd882d14b4f1aa9640d6ccad3022acdb849ab0f65cea8c5d151391b47b634a8b

See more details on using hashes here.

Supported by

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