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.
## Description The following patterns should all be equivalent and valid: ### 1) `Actor` + `Actor` - works ✔️ ```python async with Actor: Actor.exit_process = False print('Hello world') async with...
Consider alternatives for the docs webpage. Currently, there is some code duplication when it comes to documentation for our different repos. For example: https://github.com/apify/apify-sdk-python/pull/673#discussion_r2513242852
I didn't have an opportunity to provide feedback on #573 as it was merged while I was on vacation. While the implementation works well and the costs and performance improvements...
- Add support for Python 3.14
### Description - Make sure that storage from `ApifyFileSystemStorageClient` does not get purged twice due to storage from `FileSystemStorageClient` pointing to the same location. (Those storage clients will have the...
### Description - When running an Apify Actor twice in a row using `apify run -i 'some input'`, the first execution works as expected, but the second one fails to...
- calls to `ChargingManager.charge` should be safe because the "critical section" does not yield - however, when calling PPE-aware `Actor.push_data` there might be some interleaving of the `push_data` and `charge`...
Currently updating rspack to the newly released version 1.6.0 breaks the docs build and so the version has been pinned to
The current implementation of the Apify Request Queue storage client (both in the v2 and v3 versions of the SDK) is not resilient to concurrent processing scenarios, which leads to...