Registry / workflow / apache-airflow-providers-standard

apache-airflow-providers-standard

JSON →
library1.18.0pypypi✓ verified 24d ago

This package provides "standard" operators, hooks, and sensors for Apache Airflow. It extends the core Airflow functionality with common components that were historically part of the main `apache-airflow` package before the modularization introduced in Airflow 2.0. The current version is 1.12.2, and providers are released and versioned independently from Airflow core following a Semver scheme, often with more frequent releases than Airflow itself.

pip install apache-airflow-providers-standard
INSTALL
IMPORT
SIG · APACHE-AIRFLOW-PRO
A
apache-airflow-providers-standard
workflowpythonv1.18.0
Install
23.9s avg
Import
5395ms
Disk
256MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.18.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 5.580s · 256.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 23.9s · import 5.210s · 255MB
256MB installed
● package 256MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PythonOperator
from airflow.providers.standard.operators.python import PythonOperator
from airflow.operators.python import PythonOperator
Common operators previously in Airflow core moved to `airflow.providers.standard` in Airflow 2+.
BranchDateTimeOperator
from airflow.providers.standard.operators.datetime import BranchDateTimeOperator
from airflow.operators.datetime import BranchDateTimeOperator
Common operators previously in Airflow core moved to `airflow.providers.standard` in Airflow 2+.
LatestOnlyOperator
from airflow.providers.standard.operators.latest_only import LatestOnlyOperator
from airflow.operators.latest_only import LatestOnlyOperator
This operator was moved to the standard provider as part of modularization.
ExternalTaskSensor
from airflow.providers.standard.sensors.external_task import ExternalTaskSensor
from airflow.sensors.external_task import ExternalTaskSensor
This sensor was moved to the standard provider as part of modularization.

This example demonstrates a basic Airflow DAG using the `PythonOperator` provided by the `apache-airflow-providers-standard` package. Ensure you have Apache Airflow installed (`apache-airflow>=2.11.0`) and then install this provider package. The `PythonOperator` allows you to execute an arbitrary Python callable as an Airflow task.

from __future__ import annotations import pendulum from airflow.models.dag import DAG from airflow.providers.standard.operators.python import PythonOperator def _print_hello(): print("Hello from Apache Airflow Standard Providers!") with DAG( dag_id="standard_provider_quickstart", start_date=pendulum.datetime(2023, 1, 1, tz="UTC"), schedule=None, catchup=False, tags=["example", "standard", "provider"], ) as dag: greet_task = PythonOperator( task_id="greet_with_standard_python_operator", python_callable=_print_hello, )
airflow --version
Debug
Known issues
breakingWhen upgrading to Airflow 3.x, many core operators and hooks (e.g., `PythonOperator`, `BaseHook`) were moved from `airflow.operators` or `airflow.sensors` directly into specific provider packages, including `apache-airflow-providers-standard`. This requires updating import paths in existing DAGs.
fix
Update import statements to use the `airflow.providers.standard` path, e.g., `from airflow.providers.standard.operators.python import PythonOperator`.
affects: Airflow 3.x and above (for DAGs migrating from Airflow 2.x)
breakingSupport for Python 3.9 was dropped in `apache-airflow-providers-standard` version 1.4.0. Users on Python 3.9 must upgrade their Python environment to `3.10` or newer to use current provider versions.
fix
Upgrade Python environment to 3.10, 3.11, 3.12, 3.13, or 3.14.
affects: 1.4.0 and above
deprecatedIn Airflow 3.x, custom operators cannot access the Airflow metadata database directly using database sessions. This change improves security and maintainability.
fix
Use the Airflow Python Client for programmatic interaction with Airflow resources or utilize `DbApiHook` (e.g., `PostgresHook`, `MySqlHook`) if direct database interaction is essential for external systems.
affects: Airflow 3.x and above
gotchaThe minimum Apache Airflow version supported by this provider is 2.11.0. Installing this provider on older Airflow versions may lead to compatibility issues or automatic, potentially breaking, upgrades of the `apache-airflow` package.
fix
Ensure your Apache Airflow core installation is version 2.11.0 or newer before installing this provider package.
affects: <1.12.2 (for provider), <2.11.0 (for Airflow core)
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'airflow.providers'
This error occurs when the 'airflow.providers' module is not found, often due to missing or incompatible provider packages.
fix
Ensure that the required provider packages are installed and compatible with your Airflow version. For example, install the standard provider package using 'pip install apache-airflow-providers-standard'.
ImportError: cannot import name 'BaseOperator' from 'airflow.models'
This error occurs when attempting to import 'BaseOperator' directly from 'airflow.models', which is not supported in newer versions of Airflow.
fix
Import 'BaseOperator' from 'airflow.operators.base' instead: 'from airflow.operators.base import BaseOperator'.
RuntimeError: The package `apache-airflow-providers-standard:1.12.1` needs Apache Airflow 2.11.0+
This error occurs when the installed version of the 'apache-airflow-providers-standard' package requires a newer version of Apache Airflow than is currently installed.
fix
Upgrade Apache Airflow to version 2.11.0 or higher to be compatible with the installed provider package.
AttributeError: module 'airflow.providers.standard' has no attribute 'exceptions'
This error occurs when attempting to access the 'exceptions' module within 'airflow.providers.standard', which may not exist or be improperly referenced.
fix
Ensure that you are importing the correct module and that the 'exceptions' module exists within 'airflow.providers.standard'. Verify the module's availability in the provider's documentation.
ImportError: cannot import name 'ExternalTaskSensor' from 'airflow.sensors.external_task'
This error occurs when the 'ExternalTaskSensor' class is not found in the 'airflow.sensors.external_task' module, possibly due to changes in module structure.
fix
Import 'ExternalTaskSensor' from 'airflow.providers.standard.sensors.external_task' instead: 'from airflow.providers.standard.sensors.external_task import ExternalTaskSensor'.
Upgrade
Version history
1.18.0latest on PyPI · released Aug 23, 2026
Audit
Dependencies
apache-airflowrequiredMinimum required Airflow version for this provider.
apache-airflow-providers-common-compatoptionalRequired for `common.compat` extra, which provides compatibility shims.
apache-airflow-providers-openlineageoptionalRequired for `openlineage` extra functionality.
Agent activity
56 hits · last 30 days
node
46
OpenAI (training)
2
Resources