For these two reasons, I decided to create a standalone Python 2 script to extract the Calibre library and save it to disk. I will leave the searching and comparison with Amazon to a separate Python 3 script. Writing the code. First, I imported the Calibre API calibre.library and also the Python. Switch calibre to Python 3. This means that some no longer maintained third party plugins will not work. Viewer: Re-enable the old reference mode from calibre 3.x.
Latest versionReleased:
Search local Calibre XML export, lookup results online.
Calibre 5.0
Project description
Accessing specific books and fields
calibre_search
loads the .csv Calibre library export file in its main folder on import.
This library is represented by the books
object:
The Book
object fields can be accessed by dot field name:
Searching
Setting Up Calibre
General search
You can search any specific field using .search(search_term, field_name)
:
Filtering on title
You can partially match title field using .intitle
:
Filtering on tag
You can partially match tags using books.intags
:
Chaining filters
The .intitle
and .intags
filters can be chained:
Release historyRelease notifications | RSS feed
0.3.7
0.3.6
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size calibre_search-0.3.7-py2.py3-none-any.whl (11.4 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes |
Filename, size calibre search-0.3.7.tar.gz (9.7 kB) | File type Source | Python version None | Upload date | Hashes |
Colt Python Calibre 357
CloseHashes for calibre_search-0.3.7-py2.py3-none-any.whl
Calibre 5 Dedrm
Algorithm | Hash digest |
---|---|
SHA256 | 3ca6cc037530562375d447c5a9a3fa171640c52d594f0a7bb5e9de361343abdc |
MD5 | dad91491f702520e84d352e346fafbf0 |
BLAKE2-256 | e7a880752df975399ad90ada5c3b053506241c48d3379778eb4f16bc7dff85c4 |
Calibre Python 3d
CloseHashes for calibre search-0.3.7.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 823143c65a083b4e7e6d3eb6f39ca24a6125d207a7a680988761697c436bf696 |
MD5 | fd7307fa56f1e5f43835ada5b40597d6 |
BLAKE2-256 | 309d121c2eb5275001f47f58af80320b19ec3ad65b3717da90267b5d5498ec72 |