Eli Schwartz 0d7ae5b1b9
Don't pass the "format" argument of struct.pack as a bytestring.
It's the format argument, not actual data, and it's perfectly happy to
be a plain str. But using a b'' string in python3 means we cannot
interpolate an int inside, so we get the error message:

>>> serialize_binary('foo', True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/eschwartz/git/calibre/src/calibre/gui2/win_file_dialogs.py", line 61, in serialize_binary
    return struct.pack(b'=B%ssB' % len(key), len(key), key, int(val))
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'int'
2019-12-17 20:09:46 -05:00
2019-11-30 17:22:29 +05:30
2019-12-15 11:03:28 +05:30
2019-12-13 09:48:25 +05:30
2019-12-15 18:56:36 +05:30
2019-12-15 11:03:28 +05:30
2019-12-14 12:40:08 +05:30
2019-01-19 12:17:52 +05:30
2018-06-16 13:10:05 +05:30
2018-06-25 08:14:49 +05:30
...
2019-12-13 08:27:09 +05:30
2019-09-13 09:12:35 +05:30
2019-04-24 05:29:51 +05:30
2019-04-24 05:29:51 +05:30
...
2019-04-10 20:02:33 +05:30
2019-05-15 20:39:48 +05:30
2019-09-13 09:12:39 +05:30

calibre

calibre is an e-book manager. It can view, convert, edit and catalog e-books in all of the major e-book formats. It can also talk to e-book reader devices. It can go out to the internet and fetch metadata for your books. It can download newspapers and convert them into e-books for convenient reading. It is cross platform, running on Linux, Windows and macOS.

For more information, see the calibre About page

Build Status

Screenshots

Screenshots page

Usage

See the User Manual

Development

Setting up a development environment for calibre

A tarball of the source code for the current calibre release.

Bugs

Bug reports and feature requests should be made in the calibre bug tracker at launchpad. GitHub is only used for code hosting and pull requests.

Support calibre

calibre is a result of the efforts of many volunteers from all over the world. If you find it useful, please consider contributing to support its development. Donate to support calibre development.

Building calibre binaries

See Build instructions for instructions on how to build the calibre binaries and installers for all the platforms calibre supports.

Description
The official source code repository for the calibre ebook manager
Readme GPL-3.0 360 MiB
Languages
Python 92.6%
C 3.3%
C++ 3.1%
HTML 0.4%
Shell 0.2%
Other 0.2%