Skip to content

msavazzi/calibre_pbook_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PBook Importer Calibre Plugin

Overview

PBook Importer is a Calibre plugin that allows you to manage and import metadata from .pbook files, treating them as ebooks inside Calibre.

The .pbook file format is a simple text-based format (similar to TOML) with key-value pairs under a [metadata] section.
This plugin reads that metadata and updates the Calibre database accordingly.


Example .pbook file

[metadata]
title=Book Title
author=Book Author
publisher=Book Publisher
ISBN=9788888888888
source=Library Archive
publication_date=2025-01-01
language=en
tag=Physical, ToRead, Favorite

Features

  • Imports .pbook files as if they were real ebooks.
  • Reads metadata and updates Calibre fields:
    • Title
    • Author(s)
    • Publisher
    • ISBN
    • Language
    • Tags
    • Source (as optional tag)
  • Supports UTF-8 and Latin-1 encoded .pbook files.
  • Compatible with Windows, macOS, and Linux.

Requirements

  • Calibre version 6.8.0 or newer

Installation

  1. Save the plugin Python file (e.g., pbook_importer.py).
  2. Open Calibre → Preferences → Plugins → Load plugin from file.
  3. Select the pbook_importer.py file and install it.
  4. Restart Calibre.

Usage

  1. Add a .pbook file to your Calibre library.
  2. The plugin will parse the metadata and update the Calibre entry automatically.
  3. The .pbook entry will behave like a regular ebook in Calibre.

License

This project is licensed under the GPL v3 License.

© 2025 Massimo Savazzi

About

To use Calibre for physical libraries in addition to ebooks. Import .pbook files reading the Metadata and updating it accordingly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages