foreign-sapphire
foreign-sapphire3y ago

I can only think of one reason Python as

I can only think of one reason. Python as a language is way better than JavaScript. It reflects in respective ecosystems as well.
11 Replies
inland-turquoise
inland-turquoise3y ago
Why is Python in your opinion better than JavaScript? The asyncio is objectively absolutely terrible compared to Promises and async...await. Python is great, but saying it's better than JavaScript is a stretch in my opinion. 😛
Alexey Udovydchenko
At least in case of scraping I can not agree that its better since browser environment is JS now and in foreseen future, so its possible to checkup or reuse internal JS blocks including most of cheerio ($) Indeed, there is plans for Python SDK, so soon it will be equal alternative under Apify cloud 😉
sensitive-blue
sensitive-blue3y ago
How, soon, Alexey, how soon??? 🧐
Alexey Udovydchenko
oh, not sure, pls star and watch to speed it up 😉 https://github.com/apify/apify-python
inland-turquoise
inland-turquoise3y ago
I’ve spoken with the lead developer on the Python SDK project, and he says it’s currently in the research phase. The plan is to first make the ApifyClient py package support asyncio, then the new SDK will be built. Something exciting is that the Python SDK will support both regular use, and use within an event loop with asyncio! So that’s something to look forward to😄 @swarzowski
Alexey Udovydchenko
I think its different things, demand as of right now for SDK and browser support, so i.e. proxy configuration and running browser via webdriver looks like faster steps to me
inland-turquoise
inland-turquoise3y ago
To clarify, we aren’t going to be creating Crawlee for Python, just an Apify SDK. Its purpose will just be to interact with the Apify platform. The new SDK could be used with Scrapy for example to build an actor
genetic-orange
genetic-orange3y ago
@thek1tten can you please reply my dm? Appreciated
inland-turquoise
inland-turquoise3y ago
Heya! I just replied 😄
genetic-orange
genetic-orange3y ago
Alright, kindly check DM again
MEE6
MEE63y ago
@offlinehype just advanced to level 1! Thanks for your contributions! 🎉

Did you find this page helpful?