Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 06-10-2014, 01:41 AM   #1
jamawg
Member
jamawg began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2013
Device: Kindle PaperWhite
Question Can I develop a plugin in a launguage other than Python?

I have no experience of Python and not really enough time to learn it in enough depth in order to code a plugin.

Is there an alternative?

Or are there any code stubs, such that I can provide a DLL or a .EXE (for Windows only, sorry) and just change a few strings in the Python hook to have it invoke my code?

Yes, I know that I _should_ take the time to lean a new language, and I know that I _should_ make my plugin cross platform, but, if we accept that I just don't have the time and that such a plugin is better than no plugin at all, what are my options?

Thanks in advance for any help.
jamawg is offline   Reply With Quote
Old 06-10-2014, 03:03 AM   #2
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: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, there's no way to do that. The best you can do is create a standalone program and invoke it from a python shell plugin, but even that will only work if you dont intend to interact with any of calibre's internals, the GUI, the database, etc. All you would be able to do is process files on the filesystem.
kovidgoyal is offline   Reply With Quote
Advert
Old 06-13-2014, 12:38 AM   #3
jamawg
Member
jamawg began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2013
Device: Kindle PaperWhite
Sigh!

Ok, no shortcut then. Well, maybe yet another language won't hurt. Time to start learning Python, I guess.

Thanks for the info.
jamawg is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to develop a book classification plugin, not sure where to start bittenfig Plugins 1 02-28-2014 03:07 PM
Python script to add scribble to pdf - teach me how to make into a plugin cadmus Plugins 2 02-21-2012 02:03 PM
Do I need to download python before I plugin mobi dedrm anarcHy Plugins 2 09-25-2010 09:33 AM
Develop for JetBook rml Ectaco jetBook 0 07-26-2010 01:06 PM
How do I Create a Python Plugin? Sydney's Mom Plugins 25 01-27-2010 06:26 AM


All times are GMT -4. The time now is 08:00 PM.


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