calibre
Calibre Database Lib for Nim
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Passing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:24 |
Tags
Installation
nimble install calibre
choosenim install calibre
git clone https://github.com/juancarlospaco/nim-calibre
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| calibre | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/juancarlospaco/nim-calibre |
|---|---|
| Homepage | https://github.com/juancarlospaco/nim-calibre |
| Registry Source | nimble_official |
README
Nim-Calibre
Calibre eBooks App Database Client for Nim.
Install
nimble install calibre
Use
import calibre
var client = Calibre(filepath: "/path/to/calibre/metadata.db")
client.connect()
echo client.get_all()
echo client.get_tags()
echo client.get_series()
echo client.get_authors()
echo client.get_formats("96")
echo client.get_synopsis("96")
echo client.get_author_of_book("96")
echo client.get_book_by_name("Hellraiser")
echo client.get_by_author("J. K. Rowling")
client.close()
- Run
nim doc calibre.nimfor more Docs. - Feel free to send more proc with useful Queries.
- All proc return a standard lib simple Row object.
- This is a read-only client, database is meant to be written by Calibre.
- If you have a Calibre database you can run the module as an Example
nim c -r calibre.nim.
Requisites
- None.
Credits
- This code is ported from Python from Biblioteca-Guerrilla.
- All credit for the SQL Queries is for Biblioteca-Guerrilla.
See both if you want calibre.py ⟺ calibre.nim