| id | introduction |
|---|---|
| title | Overview |
| slug | /overview |
| description | The official library for creating Apify Actors in Python, providing tools for web scraping, automation, and data storage integration. |
import CodeBlock from '@theme/CodeBlock';
import IntroductionExample from '!!raw-loader!./code/01_introduction.py';
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.
{IntroductionExample}Actors are serverless cloud programs capable of performing tasks in a web browser, similar to what a human can do. These tasks can range from simple operations, such as filling out forms or unsubscribing from services, to complex jobs like scraping and processing large numbers of web pages.
Actors can be executed locally or on the Apify platform. The Apify platform lets you run Actors at scale and provides features for monitoring, scheduling, publishing, and monetizing them.
To create and run Actors using Apify Console, check out Apify Console documentation. For creating and running Python Actors locally, refer to the quick start guide.
Explore the Guides section in the sidebar for a deeper understanding of the SDK's features and best practices.
The Apify SDK for Python requires Python version 3.10 or above. It is typically installed when you create a new Actor project using the Apify CLI. To install it manually in an existing project, use:
pip install apify:::note API client alternative
If you need to interact with the Apify API programmatically without creating Actors, use the Apify API client for Python instead.
:::