Apify Shared Python

2.2.0 · active · verified Sat Apr 11

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

Install

Imports

Quickstart

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.

from apify_shared.consts import ActorExitCodes

# Accessing an internal constant (example)
print(f"Actor OK exit code: {ActorExitCodes.SUCCESS}")

view raw JSON →