Apify Shared Python
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.
Warnings
- breaking This library is for internal use by Apify projects only. Its public API is not stable and may introduce breaking changes at any time without prior deprecation warnings. Users should avoid direct usage.
- gotcha There is no guaranteed backward compatibility for `apify-shared`. Functions, classes, and constants may be renamed, moved, or removed without notice, leading to unexpected errors or behavior in applications directly dependent on it.
Install
-
pip install apify-shared
Imports
- ActorExitCodes
from apify_shared.consts import ActorExitCodes
Quickstart
from apify_shared.consts import ActorExitCodes
# Accessing an internal constant (example)
print(f"Actor OK exit code: {ActorExitCodes.SUCCESS}")