Skip to main content
Help us improve Python packaging – donate today!

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.

Release history Release notifications

This version
History Node

0.2.0

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
undrp-0.2.0.tar.gz (9.4 kB) Copy SHA256 hash SHA256 Source None Sep 27, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page