apify-sdk-python
apify-sdk-python copied to clipboard
The Apify SDK for Python is the official library for creating Apify Actors in Python. It provides useful features like actor lifecycle management, local storage emulation, and actor event handling.
Can be reproduced by this test: ``` async def test_no_double_purge_for_filesystem_storage_client() -> None: expected_value = 'some value' expected_key = 'some key' async with Actor(): await Actor.set_value(expected_key, expected_value) # RQ uses KVS...
Following the [Scrapy discussion #6639](https://github.com/scrapy/scrapy/discussions/6639), Scrapy 2.13 introduced new async runners - `AsyncCrawlerRunner` and `AsyncCrawlerProcess` (see [docs](https://docs.scrapy.org/en/master/topics/practices.html#run-scrapy-from-a-script)). These classes provide native coroutine-based APIs for running Scrapy projects in asynchronous contexts....
Functionality previously handled by SDK was implemented in apify-client-python, and it made some init arguments obsolete. Remove them in next major bump. Currently they are marked as deprecated. Related changes...
A few points were raised during the implementation of ApifyRequestQueueClient that were not addressed immediately, as they were more of optimization issues and did not prevent the client from being...
## ApifyEventManager ## LocalEventManager