View Single Post
Old 05-05-2010, 11:26 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 35,513
Karma: 12737927
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A good place to learn about the interface to the database is in the file

calibre/library/cli.py

which implements a simple command line interface to the database.

Then look at the files

calibre/gui2/library.py

and

calibre/library/database2.py
kovidgoyal is offline   Reply With Quote