Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-14-2009, 04:11 AM   #1
barduck
Junior Member
barduck began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2009
Device: none
Question Reading .lit files from my app

Hi all,

(I asked this in the "workshop" forum but am re-asking here)

I need a library that can read .lit files and can be used from my code (python) to process the input (i.e. I don't want to pre convert it to other format first). I stumbled across Calibre and it seemed like it's what I was looking for but I am having some difficulties to make it work (or properly install the egg package for that matter).

Before I spend more time trying to make it work, is Calibre able to work in library mode that I can just call from my code and get paragraphs from a .lit file? If not, is there any other simple library that can do this?

Thanks in advance,
- barduck
barduck is offline   Reply With Quote
Old 06-14-2009, 07:33 AM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,460
Karma: 986493
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by barduck View Post
Before I spend more time trying to make it work, is Calibre able to work in library mode that I can just call from my code and get paragraphs from a .lit file?
Do you mean you something like this?

Code:
calibre_lit = calibre_function( open('blah.lit', r))
text = calibre_lit.paragraph(974)
If that is the case, no.
user_none is offline   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iPod 1g 32gb --Is there an app that can read aloud epub or lit files for the ipod/iphone? Shasta_d Apple Devices 12 05-28-2010 02:31 PM
iPad Kobo reading app is great! DixieGal Apple Devices 7 05-23-2010 12:18 PM
borders reading app coming scottjl Apple Devices 10 05-16-2010 11:43 PM
Library to read .lit files from my app? barduck Workshop 2 06-14-2009 04:08 AM
Converting LIT to LRF Woes (or: Trouble with Images in LIT Files) JEMelby Sony Reader 0 07-27-2007 09:18 PM


All times are GMT -4. The time now is 10:43 AM.


MobileRead.com is a privately owned, operated and funded community.