Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2024, 05:03 AM   #1
xiatian
Connoisseur
xiatian began at the beginning.
 
Posts: 50
Karma: 10
Join Date: Oct 2018
Device: kindle
Question How to import python requests module to a recipe?

I want to write my own recipe and use requests module(https://pypi.org/project/requests/) but Calibre uses mechanize to handle web request. It is too complicated for me as a technical novice. I always use requests module because it is simple and powerful. Is it possible to import requests module?
xiatian is offline   Reply With Quote
Old 01-26-2024, 07:34 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: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, calibre does not include requests.
kovidgoyal is offline   Reply With Quote
Reply

Tags
recipe


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to include a Python module with the plugin SylvanKnight Development 11 12-04-2022 04:46 AM
Use calibre ebook-convert as a Python Module apducer Development 2 10-24-2019 01:46 PM
How to import system python modules in a recipe? xiatian Recipes 5 02-19-2019 08:45 AM
Import module not in bundled Python Toxaris Plugins 11 02-01-2016 01:55 AM
python error: No module named MySQLdb stgabriel Development 1 03-10-2013 02:13 PM


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


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