The `apify-shared-python` library (current version 2.2.0) provides constants and utilities shared internally across Apify's other Python projects, such as `apify-client-python` and `apify-sdk-python`. It is not intended for direct public consumption, and its internal API is subject to change without deprecation warnings. The library maintains an active development status as it supports other core Apify libraries.
pip install apify-sharedVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates a minimal import from `apify-shared`. However, this library is strictly for internal Apify use. Direct consumption is discouraged, and users should typically use `apify-sdk` or `apify-client` for developing Apify Actors or interacting with the Apify API.
Use `apify-sdk` for developing Apify Actors or `apify-client` for interacting with the Apify API, which provide stable public APIs. Only use `apify-shared` if explicitly instructed by Apify for development within their ecosystem.
As advised, refrain from building applications directly on `apify-shared`. Rely on the stable APIs provided by `apify-sdk` or `apify-client` which manage their internal dependencies on `apify-shared` appropriately.
Install the package using 'pip install apify-shared'.
Use 'from apify import Actor' instead.
Check the API response for errors and handle cases where the response is 'None'.