|
|
#1 |
|
unbaffling myself...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 872
Karma: 821537
Join Date: Jan 2011
Location: US southeast
Device: PRS-T2, Nexus 7, KindleT, Kindle3KB, iPad1
|
Newbie asks for help with build on OS X
This driver presumably enables use of SQL queries to fetch data from calibredb (SQLite) back to a spreadsheet, which presumably would be useful providing flexibility to calibre power users with large book libraries (meaning large datasets). I'm an old-timer with rusty out-of-date skills and I don't even know where to start with this build. Plus the driver was developed primarily for Windows, though it has been implemented on Linux and on Mac OS. OS X is unix-based, my unix skills from 20 years ago are faded and perhaps no longer relevant, I'm lucky if I remember what cd and ls mean. So for all those reasons the amount of help I need is large and the project may not be worth it in the first place. For further context, if you're interested, please see this thread: http://www.mobileread.com/forums/sho...d.php?t=117048 |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,853
Karma: 285886
Join Date: Jan 2010
Location: France
Device: Sony PRS-300, HTC WM6.5, Samsung Galaxy Nexus, HTC Sensation
|
I know that it is another step and a point where errors can be made, but you could use the sqlite shell to dump the calibre database as SQL, then import that SQL into a db that you can get an ODBC driver for.
You could also write a plugin to write your own CSV from within calibre, then import that into a DB.
__________________
Support calibre developers at no cost to you by using calibre's get books feature. Use Calibre Companion to wirelessly connect your Android phone or tablet to calibre charles.haleys.org/calibre |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
unbaffling myself...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 872
Karma: 821537
Join Date: Jan 2011
Location: US southeast
Device: PRS-T2, Nexus 7, KindleT, Kindle3KB, iPad1
|
@chaley. I used to hate working with ingres, db2, and oracle. So it doesn't make much sense that I'm pursuing this ODBC thing, except I figured there'd have been many technical advances since those old days so these days it might be easier and might even work well.
Regarding the plugin suggestion, you've mentioned it before and I'm keeping it in the back of my mind but I'm not sure I'm ready to work with python yet. Re-immersing myself in VB, which at least I used to be relatively proficient with before, I've found that even VB has advanced considerably. So I thought a gradual progression of honing my skills might work best for me. To me python looks scary at this point. SQLite shell? I didn't see anything about that in the calibre user manual. I'll go look for documentation on the SQLite site. |
|
|
|
|
|
#4 |
|
unbaffling myself...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 872
Karma: 821537
Join Date: Jan 2011
Location: US southeast
Device: PRS-T2, Nexus 7, KindleT, Kindle3KB, iPad1
|
That approach looks promising. I wonder if ms query and/or excel could deal with that SQL export directly without and odbc driver and expensive database? I'll look into it. Thanks.
|
|
|
|
|
|
#5 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,853
Karma: 285886
Join Date: Jan 2010
Location: France
Device: Sony PRS-300, HTC WM6.5, Samsung Galaxy Nexus, HTC Sensation
|
Quote:
![]() I would be astounded if MS query could use the SQL directly. However, you might be able to import it into MS access if that is on the mac.
__________________
Support calibre developers at no cost to you by using calibre's get books feature. Use Calibre Companion to wirelessly connect your Android phone or tablet to calibre charles.haleys.org/calibre |
|
|
|
|
|
|
#6 |
|
unbaffling myself...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 872
Karma: 821537
Join Date: Jan 2011
Location: US southeast
Device: PRS-T2, Nexus 7, KindleT, Kindle3KB, iPad1
|
If anyone is curious enough to want to look at the source, this is the link to the odbc driver downloads page.
http://www.ch-werner.de/sqliteodbc/ |
|
|
|
|
|
#7 | |
|
Comparer of the Ephemeris
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,170
Karma: 58793
Join Date: Mar 2009
Device: iPad
|
Quote:
G |
|
|
|
|
|
|
#8 |
|
unbaffling myself...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 872
Karma: 821537
Join Date: Jan 2011
Location: US southeast
Device: PRS-T2, Nexus 7, KindleT, Kindle3KB, iPad1
|
Nope, no ms access here. And I'm starting to wean myself from ms products and switch to open source products, such as open office. So thanks for the MySQL suggestion, I was on their site earlier today while looking for odbc drivers and it looked good.
|
|
|
|
|
|
#9 |
|
unbaffling myself...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 872
Karma: 821537
Join Date: Jan 2011
Location: US southeast
Device: PRS-T2, Nexus 7, KindleT, Kindle3KB, iPad1
|
Hmm. That's the opposite of what I'd assumed (of course). I'll look for the book. Thanks.
|
|
|
|
|
|
#10 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,127
Karma: 77366
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
) is broad enough to give an introduction. I learned what I know of Python from that.
__________________
I reject your reality and substitute my own. |
|
|
|
|
|
|
#11 |
|
unbaffling myself...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 872
Karma: 821537
Join Date: Jan 2011
Location: US southeast
Device: PRS-T2, Nexus 7, KindleT, Kindle3KB, iPad1
|
OK. I ordered Lutz's 3 books in paperback (ironically) from Amazon. Until they get here in 2 days I'll use the doc that came with python on OS X. I'm also downloading MySQL. Thanks, chaley, GRiker, Manichean.
|
|
|
|
![]() |
| Tags |
| caiibredb, odbc driver, os x, spreadsheet, sqlite |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MacMillan Asks Authors for Backlist eBook Rights | abookreader | News | 24 | 08-21-2010 03:58 AM |
| Copyright Czar asks for Input | thename | News | 6 | 02-24-2010 06:31 PM |
| Daniel Akst asks what about "Apple's iTablet and the future of literature"? | taglines | News | 5 | 01-27-2010 09:00 AM |
| A new users asks... | kweller | Calibre | 15 | 04-01-2009 12:37 PM |
| Removing Books - a newbie asks | rquesty | Sony Reader | 9 | 12-24-2007 05:12 AM |